3 ms·
Is this an older article or something recent? A 1999 paper is referenced but the article itself does not seem to have a date.
by pearle 15y ago
Is this an older article or something recent? A 1999 paper is referenced but the article itself does not seem to have a date.
- geebee 15y agoYeah, and Java is referred to as "3-4 times slower than C++", which makes me think it's probably from the late 90s or early 00s. That said, most of the arguments for Java around improved speed might apply to any language that runs on the JVM, though someone else might want to chime in here (I'm a little out of my depth trying to talk about how Lisp, Ruby, etc are implemented on the JVM).
- dextorious 15y agoActually, for a programming genius, those exact comments in the article seems lazy and ignorant.
- deleted 15y ago[deleted]
- tomjen3 15y agoUnfortunately the JVM is optimized for Java, rather than for computer languages in general. This is a problem because you can't just say execute function 'foo' on object bar, you have to look up the type of bar to find foo and then execute it. Clojure gets around this by having all its functions implement a standard interface, and Java 7 has sorta seen the light (still no closures, but they can kind be emulated). JRuby just suffers.
- kaffiene 15y agoThe JRuby devs reported 25%+ speedups on a range of benchmarks using the new InvokeDynamic mechanism in Java 1.7u2. They also reported that they have more optimisations to do. Doesn't sound like Ruby is suffering on the JVM.
- ShardPhoenix 15y agoInvokedynamic in Java 7 (http://jcp.org/en/jsr/detail?id=292 http://jcp.org/en/jsr/detail?id=292) seems to have fixed this: http://ruby-lang.org.ru/post/5533.html http://ruby-lang.org.ru/post/5533.html
- igouy 15y agoThe Internet Archive shows "Lisp as an Alternative to Java" onwards from May 31, 2000. http://web.archive.org/web/20000531154721/http://www.norvig.com/java-lisp.html http://web.archive.org/web/20000531154721/http://www.norvig....