3 ms·
Won't the impending releases of TruffleRuby, Graal and Substrate VM make Crystal irrelevant?
by cutler 8y ago
Won't the impending releases of TruffleRuby, Graal and Substrate VM make Crystal irrelevant?
- asterite 8y agoThat's about speed (though I think Truffle/Graal make an app consume more memory). Crystal is type-safe, and no optimizing VM can do that for Ruby. Not that type-safety is a killer feature, but that's just one difference.
- benbristow 8y agohttps://medium.com/byteconf/stripe-is-building-a-ruby-typechecker-d6cd7cee6abf https://medium.com/byteconf/stripe-is-building-a-ruby-typech... Stripe are trying to solve that issue.
- AsyncAwait 8y agoThat's still not the same as a compile time type-checker, it still relies on the interpreter.
- floatboth 8y agoOther than being a statically typed language: Crystal AOT compiles down to native code (so, good FFI) and has a much better portability story (you can port it to ~any LLVM target). All that Graal stuff, while a true open source project, has some "Oracle weirdness" around it (IIRC, only Linux (and probably only amd64) is supported in the "community edition") and requires JDK 9/10 (not available on FreeBSD yet..)
- sam0x17 8y agoSome people (myself included) actually want the type safety and method overloading etc. Also you can only make a dynamic language so fast before there are inherent trade-offs.