News for hackers. Stuff that matters.
Re:“Land initial Rust MP4 parser and unit tests” by scosman on Thursday June 18, 2015 @02:31PM (#9740661)
Can anyone explain why mp4 parsing lib in a specific language is #1 on HN? mp4 is just the container format (not the video stream). I'm not trying to belittle, just curious if I'm missing context.
Re:“Land initial Rust MP4 parser and unit tests” by davmre on Thursday June 18, 2015 @02:36PM (#9740691)
This is the first intrusion of Rust into the Firefox source tree.

The whole point of Rust and Servo development was that they would eventually lead to safer, cleaner code in Mozilla's shipping web browsers. This code itself doesn't seem significant, but it's a milestone in that it marks the beginning of the payoff from that effort.

Re:“Land initial Rust MP4 parser and unit tests” by bsdetector on Thursday June 18, 2015 @02:51PM (#9740804)
It also is vindication for making Rust easy to combine with other languages. If you tried to do this with Go and its own custom stdlib, main(), GC, threads, stacks it would be a nightmare (not to mention an extra 1 MiB to the binary).
Re:“Land initial Rust MP4 parser and unit tests” by castell on Friday June 19, 2015 @07:16AM (#9744019)
Go and Rust have different purposes. You can think of Go as a leaner Java/C#. And Rust as a safer C/C++. Despite both Go and Rust are labeled as "system programming languages" by some, there are different understandings what "system" exactly means in that context.
Re:“Land initial Rust MP4 parser and unit tests” by scosman on Monday June 22, 2015 @09:08AM (#9758002)
Go 1.5 adds c-archive mode, which takes care of 1 of your complaints (no "extra main()" requirement).
Re:“Land initial Rust MP4 parser and unit tests” by Osmose on Thursday June 18, 2015 @02:35PM (#9740684)
I believe it's because this is the first piece of Rust code landing in Firefox.
Re:“Land initial Rust MP4 parser and unit tests” by steveklabnik on Thursday June 18, 2015 @02:38PM (#9740714)
It's not the first patch, but it's the first patch that's actually landed, yes.
Re:“Land initial Rust MP4 parser and unit tests” by Flimm on Thursday June 18, 2015 @03:08PM (#9740946)
Bear in mind that the #1 on HN isn't necessarily the most upvoted, look at the number of points in the submission.
Re:“Land initial Rust MP4 parser and unit tests” by nightpool on Thursday June 18, 2015 @05:02PM (#9741598)
Well, yes. Otherwise the same stories from when Jobs died would still be on the front page.