3 ms·
Which of those do you think is a high level managed language with a runtime aside from Ruby? Both of those are comparable to C and compiled. Rust is a bit lowe
by vorpalhex 4y ago
Which of those do you think is a high level managed language with a runtime aside from Ruby?
Both of those are comparable to C and compiled. Rust is a bit lower level, Golang a bit closer to C++.
- kaba0 4y agoC and Rust is obviously a low level language, as well as C++. Go is the odd one in the list, you might as well say that one should write an external function in Java and call that from Ruby (which would be fair if Ruby would already run on the JVM, e.g. in case of TruffleRuby). Go has nothing at all to do with C++, C++ is a low level language, and an expressive one at that. Go is neither of those, it is managed and not good at expressiveness (by design).
- Lio 4y agoFYI Ruby does already run on the JVM since 2001 via JRuby. There's no need to wait for TruffleRuby (unless you want to). https://www.jruby.org/ https://www.jruby.org/
- kaba0 4y agoYeah, I’m aware, it was more just a tongue-in-cheek comment.
- vorpalhex 4y agoGolang is a perfectly fine choice here for performance sensitive code in place of C when paired with a less performant language like Python.
- kaba0 4y agoThen add JS, C#, Java, Haskell etc to the list as well, they all perform roughly in the same ballpark.