Live data from Hacker News

Shipping Rust code in Firefox

hacks.mozilla.org

1–10 of 197 posts

Re: Shipping Rust code in Firefox

#2
Am I'm reading either the headline or the announcement wrong?

As I read it, they are not shipping Rust but a component written in Rust.

    > For this reason, Ralph Giles and Matthew Gregan built Mozilla’s first Rust
    > media parser. And I’m happy to report that their code will be the first
    > Rust component shipping in Firefox.

Re: Shipping Rust code in Firefox

#3

Am I'm reading either the headline or the announcement wrong? As I read it, they are not shipping Rust but a component written in Rust. > For this reason, Ralph Giles and Matthew Gregan built Mozilla’s first Rust > media parser. And I’m happy to report that their code will be the first > Rust component shipping in Firefox.

That is correct.

"Shipping Rust code in Firefox" is what it's about. Though really "Shipping Rust in Firefox" means that too, it's just a bit ambiguous.

Re: Shipping Rust code in Firefox

#4

Am I'm reading either the headline or the announcement wrong? As I read it, they are not shipping Rust but a component written in Rust. > For this reason, Ralph Giles and Matthew Gregan built Mozilla’s first Rust > media parser. And I’m happy to report that their code will be the first > Rust component shipping in Firefox.

That is correct. "Shipping Rust code in Firefox" is what it's about. Though really "Shipping Rust in Firefox" means that too, it's just a bit ambiguous.

I would expect the phrase "shipping Rust" to mean that they include the language environment, so that I can write code in Rust with Mozilla.

Re: Shipping Rust code in Firefox

#6

Am I'm reading either the headline or the announcement wrong? As I read it, they are not shipping Rust but a component written in Rust. > For this reason, Ralph Giles and Matthew Gregan built Mozilla’s first Rust > media parser. And I’m happy to report that their code will be the first > Rust component shipping in Firefox.

Sort of offtopic, but.. since Manish has already clarified the intent below... I am just curious - would you have drawn a similar conclusion from the headline if the language in question was not Rust, but a more popular/stable one, like say JavaScript/C? "Shipping C in Firefox"? (asking purely from a linguistic point of view)

Re: Shipping Rust code in Firefox

#7

Earlier quoted context omitted.

That is correct. "Shipping Rust code in Firefox" is what it's about. Though really "Shipping Rust in Firefox" means that too, it's just a bit ambiguous.

I would expect the phrase "shipping Rust" to mean that they include the language environment, so that I can write code in Rust with Mozilla.

[deleted]

Re: Shipping Rust code in Firefox

#9
post #5

I'm curious why rust-url still hasn't been shipped with firefox yet. https://bugzilla.mozilla.org/show_bug.cgi?id=1151899

There are a couple of big pieces of work here:

1) Making the "cargo vendor" story work better. rust-url has a bunch of dependencies, and you have to get them all in-tree.

2) More security review & planning. URL parsing is scary! And we'd want to ship & run it alongside the C++ one to check for places where rust-url is not fully web compatible, but there are major privacy issues in reporting back anything more than "1 failure," even for users who have explicitly opt'd in to reporting back data.

But the team is definitely working on both of these pieces and I'd hope to see it in the near future. No timeline / release number promises, though, right now :-)

Re: Shipping Rust code in Firefox

#10
AHHH Telemetry! I feel like there is a group of people who freak out to any form of telemetry, I just wanted to highlight them using it to track bugs. It's super beneficial to any form of changes, especially something like switching an entire language for a component.
Post reply on HN