News for hackers. Stuff that matters.
Re:Rust 2019 and beyond: limits to some growth by paulddraper on Wednesday December 26, 2018 @06:07PM (#18765661)
> ... comparable to C++’s.

When? 2018? 1990?

Re:Rust 2019 and beyond: limits to some growth by pjmlp on Wednesday December 26, 2018 @06:13PM (#18765696)
In 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.

Re:Rust 2019 and beyond: limits to some growth by noir_lord on Wednesday December 26, 2018 @06:19PM (#18765726)
To 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).

Re:Rust 2019 and beyond: limits to some growth by pjmlp on Wednesday December 26, 2018 @06:22PM (#18765753)
True, 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.

Re:Rust 2019 and beyond: limits to some growth by steveklabnik on Wednesday December 26, 2018 @06:20PM (#18765741)
And Fuchsia.
Re:Rust 2019 and beyond: limits to some growth by lostmsu on Wednesday December 26, 2018 @07:08PM (#18766045)
There's an official Rust support in SDK? There's an official SDK?
Re:Rust 2019 and beyond: limits to some growth by steveklabnik on Wednesday December 26, 2018 @07:11PM (#18766064)
I’m talking about FIDL, to be clear: https://fuchsia.googlesource.com/docs/+/d4f9b980f18fc6722b06...

(And I also elaborate more about specifics in my other sibling comment)

Re:Rust 2019 and beyond: limits to some growth by pjmlp on Wednesday December 26, 2018 @06:24PM (#18765760)
Fuchsia 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?

Re:Rust 2019 and beyond: limits to some growth by steveklabnik on Wednesday December 26, 2018 @06:28PM (#18765780)
There’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”)
Re:Rust 2019 and beyond: limits to some growth by pjmlp on Wednesday December 26, 2018 @06:35PM (#18765825)
I see, so is that an indication that Zircon might eventually migrate to Rust?
Re:Rust 2019 and beyond: limits to some growth by steveklabnik on Wednesday December 26, 2018 @06:44PM (#18765904)
I 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.