<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="/xslt/rss2.xsl" media="screen"?>
<rss version="2.0"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Latest from ChinaonRails's Ruby</title>
		<link>http://chinaonrails.com/go/ruby</link>
		<description>ChinaonRails | ChinaonRails are one of the very few China based web consultancies, who specialize in application development using RubyOnRails/Agile/Ajax.</description>
		<category>Technology</category>
		<language>zh_cn</language>
		<item>
			<title>预测未来 ruby还有rails ... no reply</title>
			<link>http://chinaonrails.com/topic/view/2220.html</link>
			<comments>http://chinaonrails.com/topic/view/2220.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			&lt;a href="http://broadcast.oreilly.com/2008/09/the-present-and-future-of-ruby.html" rel="nofollow external" class="tpc"&gt;http://broadcast.oreilly.com/2008/09/the-present-and-future-of-ruby.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://richkilmer.blogs.com/ether/2008/09/rubys-best-feature.html" rel="nofollow external" class="tpc"&gt;http://richkilmer.blogs.com/ether/2008/09/rubys-best-feature.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://blog.mysolitaire.com/files/ruby_pendant_and_ruby_filigree_ring.jpg" border="0" /&gt;
			</description>
			<pubDate>Thu, 25 Sep 2008 11:42:27 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2220.html</guid>
		</item>
		<item>
			<title>仿Cilk平行计算的算法 ... no reply</title>
			<link>http://chinaonrails.com/topic/view/2172.html</link>
			<comments>http://chinaonrails.com/topic/view/2172.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			通过平行计算Fibonacci &lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://webjazz.blogspot.com/2008/09/algorithm-always-matters-even-when.html" rel="nofollow external" class="tpc"&gt;http://webjazz.blogspot.com/2008/09/algorithm-always-matters-even-when.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://2.bp.blogspot.com/_gHN52xJ15r0/SMH56X5NN4I/AAAAAAAAAZk/F4D-8gGKR7w/s320/fib.png" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
Cilk是一種建基於C編程語言、為平行運算而設計的泛用式程式語言。&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://supertech.csail.mit.edu/cilk/" rel="nofollow external" class="tpc"&gt;http://supertech.csail.mit.edu/cilk/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Cilk語言設計背後最主要概念是，程式設計人員應該負責探索程式以平行運算的可能性、分辨程式中可安全地進行平行運算的原素（特別是系統的排程器）、以及決定在程序運作時處理器之間如何分配工作。正因為這些設計時涉及的責任，使程式可運作於任何處理器數目的情形（包括只有單一個處理器時），而無需重新為特定的處理器情況重新編寫程式。&lt;br /&gt;
Cilk語言建基於ANSI C[1]，並加入了部份Cilk專用的關鍵字庫，而當這些Cilk的專用關鍵字從程式碼之中抽起的時候，程式碼亦能直接被編譯成C程式&lt;br /&gt;
&lt;br /&gt;
运行结果&lt;br /&gt;
threaded:&lt;br /&gt;
Fib(18) = 4181&lt;br /&gt;
Total elapsed time: 22.813 seconds&lt;br /&gt;
serial:&lt;br /&gt;
Fib(18) = 4181&lt;br /&gt;
Total elapsed time: 0.0 seconds&lt;br /&gt;
loop:&lt;br /&gt;
Fib(18) = 4181&lt;br /&gt;
Total elapsed time: 0.0 seconds&lt;br /&gt;
&lt;br /&gt;
好像有点毛病&lt;br /&gt;
&lt;br /&gt;
&lt;div class="code"&gt;This one ran much much faster. It took about 0.02594 seconds.&lt;/div&gt;
			</description>
			<pubDate>Tue, 16 Sep 2008 15:13:03 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2172.html</guid>
		</item>
		<item>
			<title>未能充分发挥的Map 和 Reduce ... 2 replies</title>
			<link>http://chinaonrails.com/topic/view/2019.html</link>
			<comments>http://chinaonrails.com/topic/view/2019.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			&lt;a href="http://railspikes.com/2008/8/11/understanding-map-and-reduce" rel="nofollow external" class="tpc"&gt;http://railspikes.com/2008/8/11/understanding-map-and-reduce&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Ruby先天就很强大，还有很多fun功能，functional风格的潜力有待挖&lt;br /&gt;
&lt;br /&gt;
Understanding map and reduce&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://img213.imageshack.us/img213/4091/21095150133a212607ab396li2.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
联系和关联&lt;br /&gt;
&lt;a href="http://chinaonrails.com/topic/view/1159.html" rel="nofollow external" class="tpc"&gt;http://chinaonrails.com/topic/view/1159.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://chinaonrails.com/topic/view/1335.html" rel="nofollow external" class="tpc"&gt;http://chinaonrails.com/topic/view/1335.html&lt;/a&gt;
			</description>
			<pubDate>Tue, 12 Aug 2008 14:50:10 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2019.html</guid>
		</item>
		<item>
			<title>新闻：Ruby 1.9.0-3耸人听闻哗众取宠的释放 ... 2 replies</title>
			<link>http://chinaonrails.com/topic/view/1950.html</link>
			<comments>http://chinaonrails.com/topic/view/1950.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			做人，做程序就是要作成这种地步，才吸引眼球&lt;br /&gt;
&lt;br /&gt;
9月25日之前没有认领&lt;br /&gt;
&lt;br /&gt;
9种平台上就与1点9绝缘了吗？&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://www.rubyinside.com/wp-content/uploads/2008/07/norubyforyou.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.rubyinside.com/ruby-1-9-0-3-and-drops-support-for-9-platforms-970.html" rel="nofollow external" class="tpc"&gt;http://www.rubyinside.com/ruby-1-9-0-3-and-drops-support-for-9-platforms-970.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
应该炸不了的&lt;br /&gt;
去掉的只是依赖平台环境的相关代码
			</description>
			<pubDate>Tue, 29 Jul 2008 14:58:00 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1950.html</guid>
		</item>
		<item>
			<title>Ruby1.8.7在红宝石月份激情释放 ... 1 reply</title>
			<link>http://chinaonrails.com/topic/view/1928.html</link>
			<comments>http://chinaonrails.com/topic/view/1928.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			&lt;a href="http://www.elokcomputer.web.id/2008/07/23/ruby-187-has-been-released/" rel="nofollow external" class="tpc"&gt;http://www.elokcomputer.web.id/2008/07/23/ruby-187-has-been-released/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://img65.imageshack.us/img65/4276/102479440tp8768426vl4.jpg" border="0" /&gt;
			</description>
			<pubDate>Wed, 23 Jul 2008 12:54:02 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1928.html</guid>
		</item>
		<item>
			<title>看视频：Java之父说ruby ... no reply</title>
			<link>http://chinaonrails.com/topic/view/1921.html</link>
			<comments>http://chinaonrails.com/topic/view/1921.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			&lt;a href="http://www.kaijaeger.com/dynamic-typing-and-performance.html" rel="nofollow external" class="tpc"&gt;http://www.kaijaeger.com/dynamic-typing-and-performance.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
ruby不如java能抻scale&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.youtube.com/watch?v=uq25JnHrF14" rel="nofollow external" class="tpc"&gt;http://www.youtube.com/watch?v=uq25JnHrF14&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
到底谁更能扯&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://www.harishpalaniappan.com/blog/archives/james-gosling-thumb.jpg" border="0" /&gt;
			</description>
			<pubDate>Tue, 22 Jul 2008 17:05:34 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1921.html</guid>
		</item>
		<item>
			<title>libxml-ruby 0.8.0 发布， 性能提升显著 ... 2 replies</title>
			<link>http://chinaonrails.com/topic/view/1898.html</link>
			<comments>http://chinaonrails.com/topic/view/1898.html#reply</comments>
			<dc:creator>gemstone</dc:creator>
			<author>gemstone</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/906.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/906_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/906_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			&lt;img class="code" src="http://libxml.rubyforge.org/img/red-cube.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="code"&gt;&lt;br /&gt;
Speed Comparison libxml vs. rexml&lt;br /&gt;
&lt;br /&gt;
in seconds 	libxml 	        rexml&lt;br /&gt;
opening 	0.003954 	0.104750&lt;br /&gt;
attribute_add 	0.001895 	0.011114&lt;br /&gt;
subelems 	0.000585 	0.004729&lt;br /&gt;
xpath 	        0.013269 	2.981499 &lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
主要功能：&lt;br /&gt;
&lt;div class="code"&gt;&lt;br /&gt;
    * SAX&lt;br /&gt;
    * DOM&lt;br /&gt;
    * XMLReader (streaming interface)&lt;br /&gt;
    * XPath&lt;br /&gt;
    * XPointer&lt;br /&gt;
    * XML Schema&lt;br /&gt;
    * DTDs&lt;br /&gt;
    * XSLT (split into the libxslt-ruby bindings)&lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;a href="http://libxml.rubyforge.org/" rel="nofollow external" class="tpc"&gt;http://libxml.rubyforge.org/&lt;/a&gt;
			</description>
			<pubDate>Thu, 17 Jul 2008 09:44:03 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1898.html</guid>
		</item>
		<item>
			<title>多线程伸缩ruby和python处理比较 ... no reply</title>
			<link>http://chinaonrails.com/topic/view/1896.html</link>
			<comments>http://chinaonrails.com/topic/view/1896.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			&lt;a href="http://softwareramblings.com/2008/07/multi-thread-scaling-issues-with-python-and-ruby.html" rel="nofollow external" class="tpc"&gt;http://softwareramblings.com/2008/07/multi-thread-scaling-issues-with-python-and-ruby.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://img364.imageshack.us/img364/5126/greenthread304d1e37lh6.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://en.wikipedia.org/wiki/Green_threads" rel="nofollow external" class="tpc"&gt;http://en.wikipedia.org/wiki/Green_threads&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
红宝石以后就不用绿线了
			</description>
			<pubDate>Wed, 16 Jul 2008 17:26:37 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1896.html</guid>
		</item>
		<item>
			<title>Autumn -  Ruby IRC Bot Framework ... 1 reply</title>
			<link>http://chinaonrails.com/topic/view/1893.html</link>
			<comments>http://chinaonrails.com/topic/view/1893.html#reply</comments>
			<dc:creator>gemstone</dc:creator>
			<author>gemstone</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/906.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/906_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/906_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			&lt;img class="code" src="http://www.rubyinside.com/wp-content/uploads/2008/07/autumnbot.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://github.com/RISCfuture/autumn/tree/master" rel="nofollow external" class="tpc"&gt;http://github.com/RISCfuture/autumn/tree/master&lt;/a&gt;
			</description>
			<pubDate>Wed, 16 Jul 2008 09:15:23 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1893.html</guid>
		</item>
		<item>
			<title>字符StringIO可以象操作文件一样的读写 ... no reply</title>
			<link>http://chinaonrails.com/topic/view/1891.html</link>
			<comments>http://chinaonrails.com/topic/view/1891.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			&lt;a href="http://macdevelopertips.com/ruby/using-a-string-as-a-file-in-ruby.html" rel="nofollow external" class="tpc"&gt;http://macdevelopertips.com/ruby/using-a-string-as-a-file-in-ruby.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
想开个文件，确来了个String&lt;br /&gt;
&lt;br /&gt;
some_method(StringIO.new("Your string here"))&lt;br /&gt;
&lt;br /&gt;
做下练习&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://img504.imageshack.us/img504/8459/striofh0.jpg" border="0" /&gt;
			</description>
			<pubDate>Tue, 15 Jul 2008 16:11:11 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1891.html</guid>
		</item>
		<item>
			<title>Open Class男人也要温柔些别象大猩猩那么凶暴游击队那么凶猛 ... 6 replies</title>
			<link>http://chinaonrails.com/topic/view/1887.html</link>
			<comments>http://chinaonrails.com/topic/view/1887.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			&lt;a href="http://www.infoq.com/articles/ruby-open-classes-monkeypatching" rel="nofollow external" class="tpc"&gt;http://www.infoq.com/articles/ruby-open-classes-monkeypatching&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Ruby's Open Classes - Or: How Not To Patch Like A Monkey&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.codinghorror.com/blog/archives/001151.html" rel="nofollow external" class="tpc"&gt;http://www.codinghorror.com/blog/archives/001151.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
MonkeyPatching For Human&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://www.codinghorror.com/blog/images/monkey-patching.jpg" border="0" /&gt;
			</description>
			<pubDate>Tue, 15 Jul 2008 10:08:05 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1887.html</guid>
		</item>
		<item>
			<title>［听译大师系列3］Guido 向 Matz 提出的问题 ... 2 replies</title>
			<link>http://chinaonrails.com/topic/view/1875.html</link>
			<comments>http://chinaonrails.com/topic/view/1875.html#reply</comments>
			<dc:creator>Mulder</dc:creator>
			<author>Mulder</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/129.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/129_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/129_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			原帖: &lt;br /&gt;
http://blog.csdn.net/koalant/archive/2008/07/13/2646005.aspx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
离职前的几周工作很清闲, 我又有机会开始做我的"听译大师系列"了, 观看和听技术访谈也成为我上班路上一个打发时间的小爱好. 我原本认为这些访谈其实不会有太多的新意, 因为你能找到很多文字资料来了解到相关信息. 但是听的次数多了, 我发现的确有不少东西从文字材料中是找不到的. 这些软件英雄们在访谈中流露出的想法能让我们更多一层地了解他为什么会做出那样的设计. 最近突然发现了另外一个好的技术视频网站, 就是 googletechtalk , 在其中发现了今年2月20 号, ruby 创始人去 google 总部做关于 ruby 1.9 的讲演录像, 大概地听了听, 觉得很有趣. 尤其是在提问环节, 有些问题很怪, 比如为什么 Matz 总是在圣诞节前发布 ruby 版本, ruby  continuation 库等等. 不过 matz 的日本式英语发音实在是太糟糕了, 听起来很别扭. 整个讲演中, matz 显得有些腼腆和局促. 不过还不时显露出点幽默感, 比如他上来就一句, "欢迎来到 ruby 的世界, 尽管 google 不让使用 ruby 语言", 引得台下哄堂大笑. 其实听起来不算太累, 但是敲字把它记录下来实在有点麻烦, 我只能选取我觉得比较有意思的段落来翻译了.  我下载了这段视频, 将其中感兴趣的片段截取下来,上传到"土豆网", 大家可以对照我的翻译来看, 有不正确的地方, 欢迎指教, 我的英文也不算太好.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
听译原文如下:&lt;br /&gt;
&lt;br /&gt;
-----------------------------------------------&lt;br /&gt;
&lt;br /&gt;
guido: 你好, matz, 我是  Guido van Rossum , 欢迎来 google, 很高兴你能来这儿. 我一直在考虑你所说的字符串类型, 它们是否在 ruby 1.9 中有所改变. 但我注意到了你所给出的例子中, 直接索引字符串的操作, 比如, 字符串的第三个字符是个日文字符, 你是在内部是否使用了 utf-8 作为字符编码的表示, 如果是这样的, 你如何高效的实现这种直接访问?&lt;br /&gt;
&lt;br /&gt;
matz: 我们是直接使用 Raw byte 序列作为字符的内部数据的. 我们没有单独的内部编码, 我们曾经经历过一些转码的问题, 我们不想做这种从别的编码转换到 unicode 的处理, 这种来回编码的问题, 如果处理 utf-8 编码的问题, 我希望由 utf-8 自己来处理, 如果是传统的编码,比如 shift-jis 编码, 就让 shift-jis 来处理. 我们用 C 来实现内部编码结构, 就是一系列的函数来访问, 比如索引字符, 字符的长度等等. 我们使用一种, 该怎么说来着, "过滤器"(filter) 来给你一种错觉, 好像在访问一系列的字符, 你可能会觉得这样做不够高效, 但就我们的长期经验来看, 这种错觉的做法一直在 ruby 中使用, 在大多数情况下, 如果你使用正则表达式处理, 这么做还不错. 很多基于字符串的处理都是基于正则表达式的, 所以,如果正则表达式的处理做了优化, 就不会有很严重的问题, 很多严重性能问题就可以避免&lt;br /&gt;
&lt;br /&gt;
guido: 是的, 但是听起来这样做, 通过数字索引字符串中单个字符的操作效率不会很高, 我大概能想到的是, 比如, 使用这个 api 来翻转一个字符串序列, 就可能有问题. 如果你从字符串的后面开始迭代, 你的字符串中有多少字符, 获取最后一个字符, 打印倒数第二个字符, 等等, 这些操作的效率不会很高.&lt;br /&gt;
&lt;br /&gt;
matz: 是的, 比起那些用 utf32 来作为内部表示的做法来说, 这样做效率是不会太高的. 我们在内部的 Raw byte 序列中的确没有那些 O(n) 的操作来访问某一个特定索引字符, 但是在大多数情况下,  我们会使用一些技巧(tricks)来减小复杂性.&lt;br /&gt;
&lt;br /&gt;
guido: 是的, 我同意, 在大多数时候, 让正则表达式引擎来处理这些的确工作的很好.
			</description>
			<pubDate>Sun, 13 Jul 2008 22:21:50 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1875.html</guid>
		</item>
		<item>
			<title>Matz 关于 ruby1.9 的讲演 ... 5 replies</title>
			<link>http://chinaonrails.com/topic/view/1866.html</link>
			<comments>http://chinaonrails.com/topic/view/1866.html#reply</comments>
			<dc:creator>Caiwangqin</dc:creator>
			<author>Caiwangqin</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/1.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/1_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/1_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			&lt;a href="http://www.youtube.com/watch?v=oEkJvvGEtB4" rel="nofollow external" class="tpc"&gt;http://www.youtube.com/watch?v=oEkJvvGEtB4&lt;/a&gt;
			</description>
			<pubDate>Fri, 11 Jul 2008 13:46:09 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1866.html</guid>
		</item>
		<item>
			<title>Arbitrary code execution vulnerabilities ... 3 replies</title>
			<link>http://chinaonrails.com/topic/view/1777.html</link>
			<comments>http://chinaonrails.com/topic/view/1777.html#reply</comments>
			<dc:creator>epaulin</dc:creator>
			<author>epaulin</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/476.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/476_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/476_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/&lt;br /&gt;
&lt;br /&gt;
Vulnerable versions&lt;br /&gt;
&lt;br /&gt;
1.8 series&lt;br /&gt;
&lt;br /&gt;
        * 1.8.4 and all prior versions&lt;br /&gt;
        * 1.8.5-p230 and all prior versions&lt;br /&gt;
        * 1.8.6-p229 and all prior versions&lt;br /&gt;
        * 1.8.7-p21 and all prior versions&lt;br /&gt;
&lt;br /&gt;
1.9 series&lt;br /&gt;
&lt;br /&gt;
        * 1.9.0-1 and all prior versions&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
这个问题影响太大了，请尽快升级。&lt;br /&gt;
&lt;br /&gt;
另，很多人报告升级到 1.8.6-p230，rails 程序出现 segment fault，我昨晚升级一样遇到，被迫回退到有问题的版本。&lt;br /&gt;
&lt;br /&gt;
还在持续关注中。
			</description>
			<pubDate>Tue, 24 Jun 2008 10:42:09 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1777.html</guid>
		</item>
		<item>
			<title>松本的老窝连锅端Full git clone Matz Ruby ... 2 replies</title>
			<link>http://chinaonrails.com/topic/view/1752.html</link>
			<comments>http://chinaonrails.com/topic/view/1752.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			Full Git Clone of Matz Ruby Subversion Repository&lt;br /&gt;
&lt;br /&gt;
各种版本和补丁&lt;br /&gt;
抱回家&lt;br /&gt;
&lt;br /&gt;
欣赏，研究，收藏，随便&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://blog.emptyway.com/2008/06/19/full-git-clone-of-matz-ruby-subversion-repository/" rel="nofollow external" class="tpc"&gt;http://blog.emptyway.com/2008/06/19/full-git-clone-of-matz-ruby-subversion-repository/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
您也搂一把，是搂现成的，还是想重复作者的做法&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://img80.imageshack.us/img80/6177/256945ph2.png" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
下面是全部的ruby 镜像克隆&lt;br /&gt;
用git 捞吧&lt;br /&gt;
http://github.com/rubyspec/matzruby/tree/master
			</description>
			<pubDate>Fri, 20 Jun 2008 08:34:06 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1752.html</guid>
		</item>
		<item>
			<title>发音纯正？ ... no reply</title>
			<link>http://chinaonrails.com/topic/view/1733.html</link>
			<comments>http://chinaonrails.com/topic/view/1733.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			&lt;a href="http://www.codinghorror.com/blog/archives/001133.html" rel="nofollow external" class="tpc"&gt;http://www.codinghorror.com/blog/archives/001133.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
尚未列出，中文的读音&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://img212.imageshack.us/img212/3616/pronounceqk9.jpg" border="0" /&gt;
			</description>
			<pubDate>Wed, 18 Jun 2008 12:24:56 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1733.html</guid>
		</item>
		<item>
			<title>大连 rubyonrails招聘 ... no reply</title>
			<link>http://chinaonrails.com/topic/view/1727.html</link>
			<comments>http://chinaonrails.com/topic/view/1727.html#reply</comments>
			<dc:creator>jiejie951</dc:creator>
			<author>jiejie951</author>
			<!--<enclosure url="http://chinaonrails.com/img/p_2.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_2_s.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_2_n.gif" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			Software engineers 软件工程师&lt;br /&gt;
Bachelor degree in Computer Science and Technology and CET-4 or above;&lt;br /&gt;
Able to communicate in English.&lt;br /&gt;
Software development using C and Ruby on Rails with the Eclipse IDE on Linux platforms.&lt;br /&gt;
0-3 years experience is acceptable.&lt;br /&gt;
Tel: 0411-84506238&lt;br /&gt;
Email: sue@kalantis.com
			</description>
			<pubDate>Tue, 17 Jun 2008 16:51:33 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1727.html</guid>
		</item>
		<item>
			<title>誓把红宝石纳入正轨 ... no reply</title>
			<link>http://chinaonrails.com/topic/view/1660.html</link>
			<comments>http://chinaonrails.com/topic/view/1660.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			&lt;a href="http://rubyspec.org/" rel="nofollow external" class="tpc"&gt;http://rubyspec.org/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
标准化&lt;br /&gt;
&lt;br /&gt;
RubySpec is a community-driven project to create an executable specification (RSpec compatible) for the Ruby programming language, core libraries and standard libraries.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.infoq.com/news/2008/05/rubyspec-website-and-gsoc" rel="nofollow external" class="tpc"&gt;http://www.infoq.com/news/2008/05/rubyspec-website-and-gsoc&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
让Matz听到群众的呼声和期望&lt;br /&gt;
&lt;br /&gt;
Rubinius开了个好头&lt;br /&gt;
&lt;br /&gt;
中文介绍Rubyspec&lt;br /&gt;
&lt;a href="http://www.infoq.com/cn/news/2008/05/rubyspec-website-and-gsoc" rel="nofollow external" class="tpc"&gt;http://www.infoq.com/cn/news/2008/05/rubyspec-website-and-gsoc&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://www.icrr.net/rail.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
中国话，没有标准不成方圆&lt;br /&gt;
&lt;br /&gt;
Rubyspec中文介绍&lt;br /&gt;
&lt;a href="http://www.infoq.com/cn/news/2008/05/rubyspec-website-and-gsoc" rel="nofollow external" class="tpc"&gt;http://www.infoq.com/cn/news/2008/05/rubyspec-website-and-gsoc&lt;/a&gt;
			</description>
			<pubDate>Tue, 27 May 2008 10:56:33 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1660.html</guid>
		</item>
		<item>
			<title>1.8.7放出来  旧瓶装新酒 ... 5 replies</title>
			<link>http://chinaonrails.com/topic/view/1515.html</link>
			<comments>http://chinaonrails.com/topic/view/1515.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			对于ruby的版本号说，Matz一直教育大家，只有偶数版才够稳定&lt;br /&gt;
&lt;br /&gt;
这个是不是过渡性的？&lt;br /&gt;
&lt;br /&gt;
没有发现有什么太突出的，因为1.9已经看过了&lt;br /&gt;
&lt;br /&gt;
但是看过中文的应发客，就对其充满了疑惑和好奇，究竟有何进步和不同呢&lt;br /&gt;
http://www.infoq.com/cn/news/2008/04/ruby-1-8-7-Preview&lt;br /&gt;
&lt;br /&gt;
网上对&lt;br /&gt;
back porting的翻译&lt;br /&gt;
&lt;br /&gt;
http://e-words.cn/w/backport.html&lt;br /&gt;
&lt;br /&gt;
为使以前版本的软件也能够使用新版本改良了的功能而进行的移植。同时，也指为此发行的软件组件。&lt;br /&gt;
&lt;br /&gt;
"back"意味着「后面」，"port"意味着「移植」，综合起来意味在旧的软件中移植新的功能。有时，即使软件升级了，出于稳定性和兼容性等情况，还需要继续使用以前的版本。这时，在旧版本中部分地添加新功能的操作就叫backport。&lt;br /&gt;
&lt;br /&gt;
Linus经常backporting&lt;br /&gt;
&lt;img class="code" src="http://www.hi-id.com/ding/images/img_68.jpg" border="0" /&gt;
			</description>
			<pubDate>Thu, 17 Apr 2008 09:20:28 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1515.html</guid>
		</item>
		<item>
			<title>SUN开发者网上Ruby专区 ... 1 reply</title>
			<link>http://chinaonrails.com/topic/view/1454.html</link>
			<comments>http://chinaonrails.com/topic/view/1454.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Ruby</category>
			<description>
			&lt;a href="http://developers.sun.com/ruby/" rel="nofollow external" class="tpc"&gt;http://developers.sun.com/ruby/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://www.sun.com/images/l1/l1_ruby.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://ruby.dzone.com/news/ruby-developer-center-sun-deve" rel="nofollow external" class="tpc"&gt;http://ruby.dzone.com/news/ruby-developer-center-sun-deve&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
 JRuby 1.1RC3 推出，JRuby 1.1主要关注解决提高速度&lt;br /&gt;
&lt;br /&gt;
更快否？&lt;br /&gt;
&lt;br /&gt;
http://docs.codehaus.org/display/JRUBY/2008/03/19/JRuby+1.1RC3+Released
			</description>
			<pubDate>Thu, 27 Mar 2008 09:26:43 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1454.html</guid>
		</item>
	</channel>
</rss>