> > There are also some nice specials like blocks and > > mixins. > > Those aren't specials; they're core language features. Specials = Feature which are not part of most OO programming languages. > Depends on the implementation. MRI is slow (I wouldn't say "terribly" > slow). Ruby EE and YARV are faster. JRuby is probably faster yet. All > are plenty fast enough for most general-purpose applications. For really expensive algorithms it is terribly slow, sometimes you need static C arrays or STL... Any experiences with Rubinius? > Java, but I'll use it over C++ any day. And of course the JVM is > fabulous when coupled with a *decent* language like JRuby. Why is Java inconsistent? -no compatibility between built-in and complex types (missing operator overloading, complex datatype=dynamic memory...) -inconsistent containers in stdlib (compare the operations of a built-in array, a List and a Map) -Not as much OOP as in Ruby Of course C++ is also inconsistent, it is not so OOPish, but in my opinion it is easier to live with C++'s inconsistence, it is sometimes ugly, but it is at least no problem to change container-types or to switch between built-ins and complex types. ------------------------ Operating System: GNU/Linux Kernel: Linux 2.6.31.8-0.1-default Distribution: openSuSE 11.2 Qt: 4.6.2 KDE: 4.4.62 (KDE 4.4.62 (KDE 4.5 >= 20100203)) "release 2" KMail: 1.13.0 http://gnu.org/ http://kde.org/ http://windows7sins.org/
on 2010-02-09 18:27
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.