Hacker News new | past | comments | ask | show | jobs | submit login

Not just that, there already is Rust in the current Firefox for Linux and OS X, Windows in a release or two.



That's good news as I still use Firefox. Btw, are there any good docs or blog articles on how it integrates into C or C++ code so well? I don't often see that in new languages. Leads me to wonder if there's lessons to learn there for another project.


A lot of it is simply that Rust has an equivalent amount of runtime to C and C++, so you don't have two runtimes fighting with each other. For example, when Rust had green threads, interop was much worse, due to needing to switch to a C stack, as well as the actual initialization of the runtime itself. Without it, it's as straightforward as https://news.ycombinator.com/item?id=11622257


Thanks for example. That's badass!


Great! Thanks for the update.


Any time. It's only a very small amount; more on the way.




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

Search: