
Ruby.hot
文章平均质量分 70
linlin9111
这个作者很懒,什么都没留下…
展开
-
ruby 1.9 真有这么快吗?
早在今年2月份,Antonio Cangiano 发表过一份关于各种Ruby实现的性能对比,对比了Ruby/JRuby/Yarv/Ruby.Net/Rubinus等实现在各种参见应用场景下的性能差异。最近,他又针对即将发布的Ruby1.9重新作了一次测试,这次的试验成员有Ruby1.8.6/Ruby1.9/JRuby/XRuby/Rubinius,后3者都是最近Ruby社区比较活跃的各种实...原创 2009-09-14 18:26:15 · 123 阅读 · 0 评论 -
3 Ruby Quirks You Have to Love
Ruby’s a fantastic language; we love it because it’s flexible, readable and concise, to name just a few reasons. The Ruby language is also incredibly complex as far as language syntaxes (grammar) are ...原创 2009-10-16 10:50:37 · 161 阅读 · 0 评论 -
有关Ruby企业版1.8.7的一些介绍
前几周,Ruby企业版(Ruby Enterprise Edition,简称REE)升级到了1.8.7,各个方面对这个版本的运行情况都十分满意。下面,InfoQ的Mirko Stocker对REE 1.8.7的一些情况进行了总结。Phusion发布了新的Ruby Enterprise Edition,版本号为1.8.7-20090928。之前的版本都基于Ruby 1.8.6,该版本开始...原创 2009-10-18 08:54:33 · 184 阅读 · 0 评论 -
RubyForge将停止工作,RubyGems.org接替Gem hosting服务
Ruby Gem维护者请注意,数周前,GitHubGitHub停止了Gem的building支持,并且宣布它将仅再为现有的Gems做一年的host。GitHub团队建议使用GemCutter作为Gem host的替代品。 Ruby Gem维护者的重要消息:几周前现在GemCutter、Ruby Gems和RubyForce身后的团队开始合作,计划对Ruby生态系统进行一次大的改...原创 2009-10-28 14:14:08 · 135 阅读 · 0 评论 -
调查显示Ruby北美地区用户量上升
据EvansData最近针对400名开发用户的调查表明,Ruby的北美用户近年出现上升势头,今年Ruby的用户量比去年增长了40%左右。不过,即便用户数量有所增长,但Ruby的市占率仍然处于较低的水平,北美地区只有14%的开发者在使用Ruby,而到2010年,这个比例则有望上升到20%左右。 Ruby用户量的上升得益于Linux平台的发展,不过这次的调查结果同时也显露出开源系统的一些...原创 2009-10-30 07:38:31 · 116 阅读 · 0 评论 -
Ruby Best Practices - The Complete Class
A remark: we enabled comment moderation because the blog wasrecently target of spam. You probably have not seen much of it becausewe were pretty quick in removing it manually. So if your comment d...原创 2009-11-04 16:21:57 · 164 阅读 · 0 评论 -
A Teenage Boy Improved Ruby 1.9 Performance Up to 63%
Japanese online magazine, @IT Jibun Senryaku Lab. (information site forIT engineers to educate and/or develop oneself), published an interviewwith a Japanese teenage boy, Masahiro Kanai, who impro...原创 2009-11-06 18:26:35 · 120 阅读 · 0 评论 -
Perl vs. Python vs. Ruby
I’m evaluating Python and Ruby as replacements for Perl.I’ve been using Perl for several years and am very comfortable with it,although I’m definitely not an expert. Perl is a powerful langu...原创 2009-11-07 21:05:55 · 146 阅读 · 0 评论 -
Metaprogramming in Ruby: It’s All About the Self
After writing my last post on Rails plugin idioms, I realized that Ruby metaprogramming, at its core, is actually quite simple.It comes down to the fact that all Ruby code is executed code–thereis...原创 2009-11-16 11:28:43 · 106 阅读 · 0 评论 -
Distilling JRuby: The JIT Compiler
The JIT compiler in JRuby is a relatively new creation for JRuby. Of course, the initial approach taken for the JRuby platform was the most straightforward: parse and interpret the code incrementally ...原创 2009-10-09 08:40:49 · 340 阅读 · 0 评论 -
Compiling Ruby with MacRuby 0.5b1
MacRuby 0.5b1 and can be downloaded from here. The beta can only be used on Snow Leopard, which means its Intel-only. They switched from using YARV as the internal engine to using LLVM. The major s...原创 2009-10-09 08:33:17 · 134 阅读 · 0 评论 -
10月编程语言排行榜:Ruby稳步提升
新闻来源:51CTO.COMTIOBE今日公布了2009年10月的编程语言排行榜,我们将关注正稳步爬升的Ruby,这次Ruby首次进入前十。TIOBE今日公布了2009年10月的编程语言排行榜,……本月我们关注一直在稳步爬升的Ruby。在今年4月的编程榜单中,Ruby首次进入了榜单的前十名,造成了脚本语言占据榜单半壁江山的景观。做为一个动态脚本语言,Ruby有着语法简洁、灵活性强、代码量少便于维护...原创 2009-10-08 08:07:25 · 145 阅读 · 0 评论 -
Ruby 1.9.1程序库兼容性纵览
ruby.1.9.1是1.9.x系列第一个稳定发布版,它带来了众多语言和标准库的改进,特别是性能上有很大的提升。然而,既有代码和Gems的兼容性问题却成为迁移至1.9.1的一大阻碍。造成这种情况的原因多种多样。比如说,ParseTree这个Gem现在不可用的原因就是新的Ruby虚拟机在解析源代码并编译成字节码以后,不再保持一棵Ruby的解析树(parsetree)。局部替代品是跟随1.9....原创 2009-09-15 09:38:58 · 130 阅读 · 0 评论 -
Ruby静态分析工具检视:metric_fu, Simian, Saikuro以及其他
代码质量构成了软件质量的一部分。像Java和C++之类主流语言的工具已经比较成熟了,而Ruby相关工具还在成长。随着Ruby从早期采纳者向早期大众普及,人们对这些工具的需求越来越多,而且SLOC(源代码行数)在不断增长。人们使用自动化工具检测多种问题,比如风格不一致、方法过程和代码重复。Steve Hayes在芝加哥举办的Agile2009大会上做了一个名为“Java和Ruby的代码质量”的演...原创 2009-09-17 08:59:12 · 249 阅读 · 0 评论 -
Ruby DCamp,低迷经济下别开生面的会议
经济的低迷不仅影响了就业,而且还影响了其他开发者的重要活动,例如参加会议。会议组织者尝试使用一些新颖的办法来吸引参加者。2009年9月18-19日在华盛顿特区举行的Ruby DCamp就是一个很好的例子。Ruby DCamp的宗旨如下:如果你体验过Ruby,那么你肯定知道对它的哪方面爱不释手。这可比知道你工作所需的哪些技能更重要!现在你的机会来了!和其他的高级Ruby开发者在一起,讨论问题...原创 2009-09-22 08:47:38 · 109 阅读 · 0 评论 -
Ruby Enterprise Edition 1.8.7-20090928 released
In the not so distant past we launched a Ruby Enterprise Edition sponsorship campaign. We’ve been working hard on the code since that time. And although the campaign target hasn’t been reached, we’ve ...原创 2009-09-30 08:09:13 · 143 阅读 · 0 评论 -
JRuby综述:1.4的新特性、JRubyConf议程及MLVM
JRuby 1.4 RC1即将发布,我们来看看新版本都有哪些新特性。JRuby团队成员Nick Sieger为我们概览了JRuby 1.4的新特性。除了新的YAML支持以及对1.9支持的持续改进外,对1.8.7的支持工作还在继续。JRuby 1.4默认使用的是Ruby 1.8.7。虽然大多数1.8.7的支持工作已经结束了,但Charles Nutter还是解释了目前的外部迭代(增加到了1....原创 2009-10-02 08:25:42 · 96 阅读 · 0 评论 -
Compiling Ruby 1.9.1 (stable) on Ubuntu
I found the default ruby install that came with Ubuntu to be a bit wonky, so I decided to reinstall it. And I like to use the newest version, always.First off, get rid of the existing install....原创 2009-10-05 14:13:04 · 111 阅读 · 0 评论 -
Installing Ruby 1.8 and 1.9 on Ubuntu from Source
$ sudo apt-get build-dep ruby1.8 ruby1.9Create a directory for the Ruby source code.$ mkdir /home/ryan/source$ cd /home/ryan/sourceCheck out the code from the 1.8 branch. Since this ...原创 2009-10-05 14:18:05 · 103 阅读 · 0 评论 -
为你的.NET应用程序添加一个REPL控制台
微软开始推广IronPython和IronRuby,希望它们可以成为用户自定义应用程序的手段。其中一个例子便是Microsoft Dynamics,州或本地政府可以使用IronPython来创建复杂的费用计划。这种方式可用于那些较为复杂的,原本需要通过查询表来实现的,或者在传统的开发周期中变化过于频繁的业务规则。由于Microsoft Dynamics是一个闭源的应用程序,微软开始转向别处来展...原创 2009-10-07 12:45:06 · 249 阅读 · 0 评论 -
Ruby 1.8 and 1.9 living in harmony
I’m running on OSX, and using MacPorts for all my un-Apple needs. So, no, getting Ruby 1.9 installed was not complex at all, the suffix is the default in MacPorts, so I just ended up with a ruby1...2010-02-22 07:54:21 · 136 阅读 · 0 评论