4 ms·
> ... comparable to C++’s. When? 2018? 1990?
by paulddraper 8y ago
> ... comparable to C++’s.
When? 2018? 1990?
- pjmlp 8y agoIn the 1990's we already had a couple of OS vendors shipping C++ compilers on their OS SDKs (Apple, IBM, Microsoft, Be, Symbian). So far that is only true of Redox.
- noir_lord 8y agoTo be fair though 1990's C++ written in the recommended way is almost a completely different language to 2018 C++. The change isn't as marked as say perl5 and perl6 but it is still huge. I've no dog in either fight though, I moved to managed languages a long time ago (Object Pascal was the last compiled language I used in anger).
- pjmlp 8y agoTrue, but many of the "modern C++" stuff like RAII, type safe strings, arrays, collections were already possible in C++ compilers for MS-DOS for example, it was a matter of actually using them. Not sure which managed languages you mean, those that I use also provide the option to compile to native code just like Object Pascal, if I wish to do so.
- deleted 8y ago[deleted]
- steveklabnik 8y agoAnd Fuchsia.
- pjmlp 8y agoFuchsia is still largely written in C++, with a couple of modules like the TCP/IP stack, written in Go, and Dart for the UI layer. To what extent is Rust being adopted by the Fuchsia team?
- steveklabnik 8y agoThere’s a few hundred thousand lines of Rust in Fuchsia. (Garnet’s repo claims 12% Rust as of today.) They’ve been hiring Rust programmers aggressively to add more. They’ve been helping drive the design and implementation of async/await, since they’re big users. Rust is one of the four or five languages that they maintain a sort-of-libc for and use it as an example for writing applications for the OS. (It’s a microkernel, so it’s not really a libc so much as it is their IPC layer, which is how you make the equivalent of syscalls in other languages. “FIDL”)
- pjmlp 8y agoI see, so is that an indication that Zircon might eventually migrate to Rust?
- steveklabnik 8y agoI don’t think there’s any plans to move Zircon. It’s also less pressing, IMHO, since it is a microkernel. Maybe someday, but if I were in charge, it wouldn’t be super high in my list.
- lostmsu 8y agoThere's an official Rust support in SDK? There's an official SDK?
- steveklabnik 8y agoI’m talking about FIDL, to be clear: https://fuchsia.googlesource.com/docs/+/d4f9b980f18fc6722b06abb693240b29abbbc9fc/rust_quickstart.md https://fuchsia.googlesource.com/docs/+/d4f9b980f18fc6722b06... (And I also elaborate more about specifics in my other sibling comment)