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

Much easier to build, for me at least.

I tried installing Rust and building the example, but then it complained about nightly features, and I didn't have time to figure that out.

C/C++ are mainstream languages, and building is as simple as g++ test.cpp.



Using nightly features is as simple as inserting +nightly as the first argument to rustc or cargo (assuming rust was installed with rustup, which is the default way to install it).

So in this case, it's just `rustc +nightly green_threads.rs`




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

Search: