2 ms·
I wasn't aware Ruby 1.9 existed. I thought the current Ruby version was 1.8.mumble. Python 3.0 did just spring into existence while we were having this discus
by SwellJoe 18y ago
I wasn't aware Ruby 1.9 existed. I thought the current Ruby version was 1.8.mumble.
Python 3.0 did just spring into existence while we were having this discussion, and it finally has proper Unicode support. So, there's one less reason to choose Perl over Python.
If Ruby has Unicode support in 1.9, and 1.9 were widely available, then I guess that'd be true of Ruby as well. But, I just went to the Ruby website and it looks like 1.8.7 is the Ruby version available. It doesn't have Unicode support, does it?
- petercooper 18y agoStrictly, strictly, strictly speaking, you're right: 1.8.7 is the current "production" version of Ruby. However, Ruby 1.9 has been around for about a year now (considered a "development" release) but Ruby 1.9.1 will become the "production" version of Ruby when it's released in the next month (yeah, I know that makes no sense). The current preview releases are pretty spot on though - so we're in a transitional phase. Ruby 1.9's performance is also somewhat better than that of 1.8. On the 1.8 front, Ruby 1.8 has had what's called KCODE for years now, which enables Unicode support for various bits and pieces (primarily regular expressions). More info on this here: http://blog.grayproductions.net/articles/the_kcode_variable_and_jcode_library http://blog.grayproductions.net/articles/the_kcode_variable_...
- SwellJoe 18y agoIf we're not strictly speaking about stable, widely available versions, how about we talk about how awesome Perl 6 is? Because it really is astonishingly, mind-bendingly awesome. Granted, the leading Perl 6 implementation is still a little over a year away (though Parrot hits 1.0 in March, which is a pretty cool milestone in and of itself), and I imagine Ruby 1.9 will be widely available long before then.