3 ms·
I mean metaprogramming support is kind of a spectrum and neither Java nor C# support it to the same degree as Ruby. For one thing and for another, C# and Java h
by adamnemecek 13y ago
I mean metaprogramming support is kind of a spectrum and neither Java nor C# support it to the same degree as Ruby. For one thing and for another, C# and Java have large corporations supporting those languages which try very hard to make the runtimes fast so it's not a fair comparison.
- pjmlp 13y agoThen compare it with compilers for dynamic languages like Lisp, Scheme, Dylan, Smalltalk...
- adamnemecek 13y agoI said tricky, not impossible but I will, even though I'm not sure I'm really qualified to talk about these languages for one thing and for another, I think that these sort of comparisons are pretty pointless to begin with. Also I'm not sure where you are exactly going with your comment. Lisp + Scheme: I mean if nothing else, people have been trying to make them fast for the last more than half of century. Plus AFAIK most Lisp meta-programming code is generated during compile time through macros not during run-time. Dylan: I don't really know anything about Dylan but it seems to have come out of Apple and CMU, so there's that. Plus it seems to be just a Lisp dialect. Smalltalk: You consider Smalltalk fast? Lol.
- pjmlp 13y ago>Smalltalk: You consider Smalltalk fast? Lol. Well, any Smalltalk JIT beat the standard Ruby implementation hands down, what can I say?!