3 ms·
Not that it's not amazing, but can't i'm pretty sure most languages can do that same thing.
by luuio 11y ago
Not that it's not amazing, but can't i'm pretty sure most languages can do that same thing.
- moonchrome 11y agoDoes this build with something simple like "cargo build" ? It should but I can't test right now on this PC. If it does than I would disagree - not many other native languages can do that - having a native language with a sane build system, package management and proper modules would be a huge deal on it's own.
- azdle 11y agoYes it does. I just do a `cargo run` and it figures out the dependencies, builds, and runs.
- e12e 11y agoJust tried, and it's both a little frighting and a delight to see cargo pull down and build the dependencies. For the information of those that can't test at home, the stripped release build weighs in at 722K, and worked on first try on my Debian Jessie system. Woho! You might want to add a CC0 license to the project (or something else, but that's usually what I see recommended for "sample code"). [ed: and: ldd ./target/release/hello_gtk |wc -l 59 ]