Live data from Hacker News

Shipping Rust code in Firefox

hacks.mozilla.org

11–20 of 197 posts

Re: Shipping Rust code in Firefox

#11

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.

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

Re: Shipping Rust code in Firefox

#12
post #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)

What do you find unstable about Rust?

Re: Shipping Rust code in Firefox

#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? ;)

Re: Shipping Rust code in Firefox

#14
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.

[deleted]

Re: Shipping Rust code in Firefox

#15
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.

The headline is nerdview.

http://languagelog.ldc.upenn.edu/nll/?p=26094

Re: Shipping Rust code in Firefox

#18
Super exciting!

I followed Rust at the beginning and I was pleased with the design goals of the language. However, I wasn't thrilled with the pre-1.0 documentation, and even after 1.0 there were breaking changes to the language.

Hopefully this is a sign of Rust's maturity. I'll have to look at it again:>)

EDIT: s/from/at/

Re: Shipping Rust code in Firefox

#19
Even if Servo doesn't pan out as anything more than an experiment (though I'm optimistic that it will), I think Rust will bring real benefits to Firefox by enhancing security of isolated components like this mp4 parser.

Re: Shipping Rust code in Firefox

#20
Does this imply anything regarding rust compiler package for distros? To support the Firefox build, all distros will have to have good rust compiler packages now, right? (I'm sure the status is already not bad, I haven't checked recently..)

If it becomes something dependable, infrastructure-wise, like Java, this might mark the beginning of a more serious uptake.

Post reply on HN