3 ms·
Not just that, there already is Rust in the current Firefox for Linux and OS X, Windows in a release or two.
by steveklabnik 11y ago
Not just that, there already is Rust in the current Firefox for Linux and OS X, Windows in a release or two.
- pjmlp 11y agoGreat! Thanks for the update.
- steveklabnik 11y agoAny time. It's only a very small amount; more on the way.
- nickpsecurity 11y agoThat'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.
- steveklabnik 11y agoA 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 https://news.ycombinator.com/item?id=11622257
- nickpsecurity 11y agoThanks for example. That's badass!