News for hackers. Stuff that matters.
Re:How Stylo Brought Rust and Servo to Firefox by lucozade on Tuesday November 28, 2017 @03:33PM (#15801210)
Is there anything specific about Rust that you don’t think a commercial organisation would do?

Obviously, commercial organisations have a long track record of developing and supporting programming languages.

Re:How Stylo Brought Rust and Servo to Firefox by drb91 on Tuesday November 28, 2017 @03:40PM (#15801291)
Well, it's been in development for at least 7 years, without any product until the url parser appeared. That's far greater of an investment with no return than I've seen at any software enterprise outside of Google X, Microsoft Research, and Intel's various funding efforts, and each of those arguably have had more projects cut off before they return than they have had projects that succeeded in generating some return.

Enterprises tend to invest in <5 year projects, I've noted, and 5 years is a hell of a long time for an extended investment.

Re:How Stylo Brought Rust and Servo to Firefox by Manishearth on Tuesday November 28, 2017 @03:47PM (#15801387)
> Well, it's been in development for at least 7 years, without any product until the url parser appeared.

This is inaccurate, the URL parser never was and still isn't in a released Firefox.

The first Rust in a released firefox was the mp4 metadata code.

It's worth noting that in those 7 years Servo advanced a lot, which meant that the Stylo project didn't have to rewrite a style system, just take an existing one and polish it. (This is still a lot of work, but not as much)

Re:How Stylo Brought Rust and Servo to Firefox by drb91 on Tuesday November 28, 2017 @04:15PM (#15801744)
Well, I'm certainly happy to admit my details are incorrect, but I think my broad point still stands—they look longer term than the typical commercial offering.
Re:How Stylo Brought Rust and Servo to Firefox by kibwen on Tuesday November 28, 2017 @04:04PM (#15801604)
This is pretty much just the purview of R&D departments in general, which includes Mozilla Research. It's just a happy coincidence that, thanks to open source, software companies are relatively incentivized to share their projects with the public rather than keeping them proprietary, which is the default tack for R&D units in other industries.
Re:How Stylo Brought Rust and Servo to Firefox by drb91 on Tuesday November 28, 2017 @04:18PM (#15801788)
Well, I'm not even necessarily trying to soap box here about open source or free software per se—I do think commercial/proprietary research has value to society as a whole, albeit less value. For instance, take Big Table—enormously influential and, I think, beneficial to society in spite of being largely closed off to the public. However, rust is way better for everyone, and I find it shocking it came from such a relatively small organization.
Re:How Stylo Brought Rust and Servo to Firefox by mmstick on Wednesday November 29, 2017 @01:53AM (#15805125)
It doesn't really matter that Mozilla's a small organization. All they had to do was provide strong leadership and management expertise, and entice the open source community to voluntarily join and advance the project accordingly. Which thereby lead to not just Mozilla, but a few other organizations joining in with developers of their own to collaborate together amongst each other, including an army of rogue volunteers that aren't backed by any organizations. That's just not something you'll ever see from a corporation that has to answer to greedy shareholders that only care about ROI figures, especially short-term ROI figures.
Re:How Stylo Brought Rust and Servo to Firefox by stingraycharles on Tuesday November 28, 2017 @03:43PM (#15801335)
In addition to this, Mozilla is hardly the size as Microsoft or Google. A more commercially focused version of Mozilla would probably have dedicated their resources elsewhere.
Re:How Stylo Brought Rust and Servo to Firefox by wyager on Tuesday November 28, 2017 @05:02PM (#15802272)
> Is there anything specific about Rust that you don’t think a commercial organisation would do?

A good job. Most commercial PL efforts kind of suck. There are a small number of exceptions, and Rust is one of them.

Re:How Stylo Brought Rust and Servo to Firefox by qznc on Wednesday November 29, 2017 @02:52AM (#15805325)
Java, C#, Ada, JavaScript, etc are more successful that Rust. The comparison is not good though because Rust is younger.

You could argue survivorship bias but that applies to Rust as well.

Re:How Stylo Brought Rust and Servo to Firefox by icebraining on Wednesday November 29, 2017 @03:40AM (#15805501)
They're not just older. JavaScript has a very special position, and both C# and Java had a tremendous marketing push.
Re:How Stylo Brought Rust and Servo to Firefox by iopq on Wednesday November 29, 2017 @07:28AM (#15806261)
They're more successful, but programming in Java and JavaScript is pretty painful (albeit in different ways).
Re:How Stylo Brought Rust and Servo to Firefox by rafialhamd on Tuesday December 05, 2017 @04:33AM (#15850776)
Actually, Java has made programming easier compared to C++ with 'elegant Syntax' (similar to C++) and 'sensible semantics' (similar to Smalltalk) - especially 'without pointers'!

And probably, Kotlin has made it even simpler than Java.

So, it's an evolving process.

On the other hand, JavaScript - though still painful - has no alternatives... hence, JavaScript is still OK - without any close competitor!