News for hackers. Stuff that matters.
Re:Rust 2021 Roadmap by busterarm on Friday December 18, 2020 @01:41PM (#25470361)
As someone not at all involved in Rust but interested in its progress, I think this is an important milestone to hit.

In most orgs that I've been a part of, no language tends to meet the standard for consideration until it has been the core of at least one very large public software project.

A functioning GUI toolkit is likely a major barrier to that happening in Rust.

Until then, we know it exists but doesn't pass inspection for inclusion. So far the largest things we know of built with it are Servo's CSS engine and the NPM authentication service.

Re:Rust 2021 Roadmap by steveklabnik on Friday December 18, 2020 @01:47PM (#25470435)
> In most orgs that I've been a part of, no language tends to meet the standard for consideration until it has been the core of at least one very large public software project.

> So far the largest things we know of built with it are Servo's CSS engine and the NPM authentication service.

Here are some others, for your consideration:

* Dropbox's storage layer: https://dropbox.tech/infrastructure/extending-magic-pocket-i...

* CrosVM is an important part of ChromeOS https://chromium.googlesource.com/chromiumos/platform/crosvm...

* Firecracker is the underlying tech of AWS Lambda and Fargate https://firecracker-microvm.github.io/

* More coming from Amazon I don't have the ability to easily cite just yet, I hope the re:Invent recordings go up somewhere sometime soon

* "EdenSCM is the primary source control system used at Facebook,": https://github.com/facebookexperimental/eden

There's a bunch of other stuff too, of course. Apple has been hiring, but I don't think their usage is public yet. Microsoft is hiring rustc hackers, and has some other stuff going on. And tons of other stuff that may count as "large" depending on how you define it.

Re:Rust 2021 Roadmap by losvedir on Friday December 18, 2020 @01:55PM (#25470534)
What about Cloudflare? I thought they were really using a lot of rust, but maybe that was just because you joined for a time!
Re:Rust 2021 Roadmap by steveklabnik on Friday December 18, 2020 @02:00PM (#25470585)
You know, I was like "I know I am forgetting some major stuff" but couldn't put my finger on it, and yes, that is absolutely one of the things I've been forgetting.

They are using quite a bit of Rust:

* The 1.1.1.1 app's core is in Rust (this is one of the most prominent, if not most prominent, usages of Rust on iOS/Android)

* Their HTTP/3 implementation is in Rust (I am very excited about this one, personally)

* Workers has multiple parts; the CLI, HTMLRewriter... (This was related to the team I worked on, so I have a soft spot for it)

... and probably more that I'm forgetting.

Honestly, it's really nice that there's so much Rust these days that it's easy to forget all of the cool stuff. And there's a lot that I'd consider meaningful that may or may not be "large," so I was shooting for only the largest. 1Password and Discord are huge for me, but maybe others don't think so.

Re:Rust 2021 Roadmap by praveenperera on Friday December 18, 2020 @02:11PM (#25470711)
Also Wirefilter for their Firewall Rules

Source: https://blog.cloudflare.com/how-we-made-firewall-rules/

Re:Rust 2021 Roadmap by est31 on Friday December 18, 2020 @03:33PM (#25471575)
Don't forget fuchsia. It has over 800k lines of Rust (not counting dependencies, then it has >2M): https://i.imgur.com/gknVmYk.png
Re:Rust 2021 Roadmap by busterarm on Friday December 18, 2020 @04:01PM (#25471950)
Its kernel is still predominantly C++ & Assembly.
Re:Rust 2021 Roadmap by steveklabnik on Friday December 18, 2020 @04:03PM (#25471990)
... but since Fuchsia is totally-not-a-microkernel, a lot of stuff that would be in the kernel in, say, Linux, is not in the kernel in Fuchsia.
Re:Rust 2021 Roadmap by pjmlp on Friday December 18, 2020 @05:07PM (#25472660)
True, but outside of the kernel the official SDK languages are C++, Go and Dart.
Re:Rust 2021 Roadmap by est31 on Friday December 18, 2020 @05:20PM (#25472789)
The "kernel" of fuchsia is a microkernel, but when one talks about the Rust-free core of fuchsia, people usually mean the "zircon" component that encompasses both the microkernel as well as core utilities.

Around this zircon component they built a set of higher level components. They'd still be considered important parts of an operating system. E.g. things like a bluetooth stack.

The SDK you mention is for end user programs targetting the OS.

Re:Rust 2021 Roadmap by steveklabnik on Friday December 18, 2020 @05:25PM (#25472830)
You're conflating two different things; outside the kernel, but inside of the OS, you can use Rust. They are using an increasing amount of it, as the other comment shows.

What you're talking about is the SDK for people writing applications to run on top of Fuchsia.

Re:Rust 2021 Roadmap by mbStavola on Friday December 18, 2020 @10:05PM (#25474609)
I'm not sure that this is true.

The documentation on fuchsia.dev heavily references Rust, and there is even documentation for usage with FIDL. I don't see anything explicitly relegating Rust usage to the kernel or even drivers. Seems like anything is fair game and "official."

Is there another source you are referencing?

Re:Rust 2021 Roadmap by steveklabnik on Friday December 18, 2020 @11:26PM (#25475024)
Re:Rust 2021 Roadmap by Jyaif on Saturday December 19, 2020 @03:48AM (#25476143)
The summary of this page is essentially:

For the kernel: C, C++

For the rest of the OS: C, C++, Dart, Rust

For the "end-developers" (=regular app developers): C, C++, Dart

Re:Rust 2021 Roadmap by est31 on Friday December 18, 2020 @04:08PM (#25472047)
The kernel is not what makes fuchsia special. There are plenty of kernels out there. The code around the kernel is far more mission critical to the success of the fuchsia product.

In fact, if you remove the kernel, Rust is the main language of fuchsia already.