On Tuesday, 26 August 2014 at 14:46:56 UTC, Jacob Carlborg wrote:
On 26/08/14 13:40, "Marc Schütz" <[email protected]>" wrote:
I've heard about them, but I don't know any details. Anyway,
the way
Ruby works, they either need to restrict the language, include
a full
interpreter/jitter, or at most they could only translate it to
a very
abstract level. Like for an expression like `a + b` generating
a call to
a helper function like `send(_var_a, SYMBOL(":+"), _var_b);`,
and hoping
that the compiler backend can eliminate this in some cases.
It's implemented on top of Objective-C.
This makes sense, Objective-C can cope with classes that change
at runtime. Singleton methods are probably more challenging,
though...