News for hackers. Stuff that matters.
Re:Shipping Rust code in Firefox by pcwalton on Tuesday July 12, 2016 @04:09PM (#12081959)
It has a language definition. Neither Rust not Go have a formal semantics.
Re:Shipping Rust code in Firefox by themihai on Tuesday July 12, 2016 @04:55PM (#12082213)
What's the equivalent of this[0] in Rust?

[0] https://golang.org/ref/spec

Re:Shipping Rust code in Firefox by steveklabnik on Tuesday July 12, 2016 @05:54PM (#12082544)
https://doc.rust-lang.org/reference.html , which is accurate, but not always 100% up to date with the latest RFCs. There's also work on a formal, proven specification of the memory model, but that's not done. It'll be a while.
Re:Shipping Rust code in Firefox by themihai on Tuesday July 12, 2016 @08:27PM (#12083236)
Unlike the Go spec that's prose only. Why is it not accurate? Does the language change that often?
Re:Shipping Rust code in Firefox by steveklabnik on Tuesday July 12, 2016 @08:51PM (#12083304)
If you're talking about grammar, that's in a different document.

> Why is it not accurate?

I said it _was_ accurate. It's just not neccesarily complete. It's not complete because I'm only one human, and I have more important work to do.

Re:Shipping Rust code in Firefox by themihai on Tuesday July 12, 2016 @09:54PM (#12083477)
That's understandable. I've just tried to prove the point that Rust is still a language in flux compared with Go, hopefully making the Rust team aware why some developers hesitate to use Rust on new projects.
Re:Shipping Rust code in Firefox by pcwalton on Wednesday July 13, 2016 @02:28PM (#12088508)
> I've just tried to prove the point that Rust is still a language in flux compared with Go, hopefully making the Rust team aware why some developers hesitate to use Rust on new projects.

That's not what I've seen from your comments. Instead I've seen some confused arguments about what "prose only" means (anyone in the PL field would consider both Rust and Go's documentation "prose"), combined with incorrect statements about both Rust and Go and a completely baseless assertion that Rust is "a language in flux".

Re:Shipping Rust code in Firefox by steveklabnik on Tuesday July 12, 2016 @10:12PM (#12083523)
I disagree, but I doubt that we're going to agree, so this is where I will step out.