3 ms·
If not for Rust, would you write your app in C++ or Python/Ruby/JS?
by swah 11y ago
If not for Rust, would you write your app in C++ or Python/Ruby/JS?
- mangeletti 11y agoPython (currently using), or Go. Add JS to that list as well, because I've done a little bit of work in Node, but that was before Coroutines (back in the days of yore when "callback hell" was a thing), so I wasn't nearly as excited at the time as I probably would be now.
- swah 11y agoSo no, Rust is not a good option :)
- iamd3vil 11y agoTry Elixir (https://elixir-lang.org https://elixir-lang.org). Phoenix framework is awesome and working with it is a pleasure.
- mangeletti 11y agoThanks. Elixir looks interesting. I'm apprehensive about the "runs on Erlang" part though (wary of compiles-to or runs-on languages, unless the "to" or "on" is C).
- iamd3vil 11y agoActually Elixir and Erlang are totally interoperable with zero overhead. They both compile to BEAM virtual machine code. That "runs on Erlang" part is a selling point IMO.
- tarblog 11y agoYou should become skeptical of languages that compile to C. I can't get into the details because I don't know them very well, but take a look a pcwalton's comment history for a fairly technical discussion of why it makes a poor compilation target.