6 ms·
Wouldn't it be easier to have it transpile to Crystal? The languages are already extremely similar
by BasedAnon 3y ago
Wouldn't it be easier to have it transpile to Crystal? The languages are already extremely similar
- woodruffw 3y agoCrystal's syntax is somewhat similar to Ruby's, but its actual semantics (and type system) are fundamentally different. In particular, `method_missing` and other fundamentally dynamic things that make Ruby feel like Ruby can't be done in Crystal, at least not without extensive runtime support. (I haven't looked at this implementation, but I suspect that they end up doing similar things in C++ for the same reason.)