Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> You will need to install Rust

Am I right in saying Rust can produce executables that can be run without any Rust runtime etc being on the target system? Why would you need to install Rust in cases like this?



Yes you are, but the author hasn't provided those executables, so you need to produce one for your platform yourself; for which you need to install rust.

(Presumably it's deemed not worthwhile providing them while it's unstable/in active pre-1.0 development.)


Rust is a compiler, so you need to install it to compile this application, which you can then use without Rust.

You need an oven to bake a cake but not to eat one.


Java is both a compiler and a run time. You can ship someone a compiled Java and they will still need the JVM to actually run it.

Sometimes you need the oven to bake a cake and eat it to.


Well you can AOT Java to a stand-alone binary too - but none of this is relevant to Rust.


To build and install it, you could have a binary release instead of using cargo.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: