Live data from Hacker News

Shipping Rust code in Firefox

hacks.mozilla.org

41–50 of 197 posts

Re: Shipping Rust code in Firefox

#42
post #6

Earlier quoted context omitted.

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)

What do you find unstable about Rust?

Err, I didn't mean to say that Rust is unstable in the literal sense. Apologies! Just meant to highlight its "newness" in the given context (i.e., relative to other languages) :)

Re: Shipping Rust code in Firefox

#43
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

I thought this was already shipped. Was there some announcement in regards to this and then it didn't get shipped anyways?

Re: Shipping Rust code in Firefox

#44
post #13

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.

You did not think, they would replace VanillaJS with Rust, did you? ;)

My first thought was that they'd include the compiler in Firefox, when I read the title.

Re: Shipping Rust code in Firefox

#45

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.

Thanks, we updated the HN title to the much more unambiguous form.

Re: Shipping Rust code in Firefox

#47

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.

Was it inconceivable for you, after reading the article, to understand what they meant? Is it so shocking a headline that multiple people have commented that "well REALLY it's just compiled code from Rust, not the runtime/source code/etc.". Which one of those possible interpretations makes the most sense?

It's just shocking to me this type of meta-discussion about the phrasing of an announcement headline is the bulk of top comments.

Re: Shipping Rust code in Firefox

#48
post #43
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

I thought this was already shipped. Was there some announcement in regards to this and then it didn't get shipped anyways?

Some people were talking about the patch in the bug tracker, but it never landed, as far as I know. It's still intended to eventually, but (at least when I've talked about it on here) it's been "there's a patch" not "this is in-tree".

Re: Shipping Rust code in Firefox

#49

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.

I make a point of enabling Telemetry for Mozilla products. It's probably the easiest way to support the work they are doing.

Re: Shipping Rust code in Firefox

#50
post #11

Earlier quoted context omitted.

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.

That doesn't make sense. It is a statically compiled systems-oriented language, not a web-oriented language.

Other browsers have support for statically compiled, safe, systems-oriented languages built in.

https://developer.chrome.com/native-client

Post reply on HN