3 ms·
And Fuchsia.
by steveklabnik 8y ago
And 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)