Some of Eich’s disagreements are with Microsoft’s participation in the process-seemingly opening up old wounds from the days when Microsoft killed off Netscape.
Since we’re working in this context of Ecma [International], the standards body, it’s really not possible to say when you’d see it in products; it’s up to the various members that are working on it.
… It goes back to 1999, when the third edition was finished, and a lot of the development and design work that was done under Waldemar Horwat, who is at Google now but was at Netscape then, fed into actual languages-mainly, ActionScript in the Flash player and Jscript.net, Microsoft’s ASP.Net, which is in the CLR [Common Language Run-time].
A lot of people contributed. Sun contributed, Microsoft certainly contributed. And [Microsoft was] very interested at that point in gaining market share on Netscape. They were the minority browser, so they were saying, “What’s this Netscape churn that’s going on from release to release?” We want standards. And they helped make the standards. And they helped make them be real-world standards. Some of the personalities at Microsoft were very bright, and they would have liked to change some things. But as we got into it, they realized that any change meant that if they made the change in their implementation first, as the minority browser vendor, they might not work on a certain page. And then Netscape might renege or be late, and they’d lose market share.
Well, there’s the same dynamic now, but it’s Firefox and Safari that are on the minority side of it, and we’re trying to gain market share. And we’re interested in real-world standards. So, you think we would be super conservative.
But it’s a funny thing that’s happened to the Web: The Web is a mess. It’s formally unsound. It’s a bunch of de facto and du jure standards; browsers kind of agree, and content authors worry about the top few browsers when they write something and roll it out. You still see stuff rolled out on some of the big sites that doesn’t work in Safari right away. But it’s getting better. So there’s this sort of intersection between the browsers and what works-like the Venn diagram and the intersection semantics. And it moves over time. And it can be moved if you put some energy into it. Web developers do want to do new things. They do want to make their life easier, and they do look at certain browsers first.
The problem is Internet Explorer-Microsoft used its monopoly and stagnated the Web. And that was huge for us because by simply persevering and focusing on the right thing-which was Phoenix instead of Firefox-and making a usable browser and just a browser, we timed the market. We were ready when the time was right. And that got us huge market share because IE was in terrible shape-the thing with security holes and pop-ups and so on.
Is Microsoft Back in the Game?
But Microsoft improved on that.
Yes, and now people are saying Microsoft’s back in the game. They’re doing more work on standards, [but] they’re doing some of their own proprietary things, too.
Like, in IE 8, they have ways of doing cross-site requests-background I/O-and they did not propose it to the [World Wide Web Consortium]. They did not work with the W3C in the standards group that’s trying to do that.
So, it isn’t really clear where they’ll go. Because whatever they do in IE, they’re very concerned about compatibility. So, they don’t want to “break the Web,” as they put it. Or they don’t want to break their intranet customers. All the enterprises that used IE with an ActiveX markup-that’s an even bigger constraint on what they can do with the browser than the public Web is. So, [Microsoft is] very conservative about some things, but they’re moving forward with IE, which is good and makes for competition.
But it’s tricky because, in moving that forward, you kind of have to get the browsers to all jump at the same time. And if IE doesn’t jump, you have to figure out what to do about it. And we have actually thought about that a lot.
… Some things have improved-the ability to update your user base in order to patch security bugs or because you have a Windows update or OS update mechanism. That’s pretty key. And that’s something Mozilla’s interested in keeping pure. We don’t want to use it to channel extra products to you or force things down your throat, because then you might reject the security patch, and we really do want you taking the security patches.
So what do you do?
Microsofts Say in the Matter
Microsoft will have no say in the matter?
Well, they could try to break us. They could say, “Oh, I can’t support this; this is a security hazard. Screaming Monkey is going to bite my nose off, and I’m going to outlaw that MIME type.” That probably gets them into some antitrust concern, because it looks anticompetitive. It looks like they’re trying to firewall Silverlight and the CLR.
If they try to break the general ActiveScripting facility, they’re going to break a bunch of other customers and enterprise people who’ve added their own scripting engine like CobolScript or whatever.
So, I don’t think they can do it. I think they’re just going to have to take the risk and try and say we have better tools, we have better run-times. And for some definition of better, for a lot of professional developers, they do. There’s no disrespecting Microsoft on that front. That’s been one of their strengths, and it will continue to be. VisualStudio is a powerhouse.
But the Web is a low-cost disruption that’s always chipping away at that and always saying: Well, do you really want to lock yourself into that and only target Microsoft and what Microsoft supports? Sure, Silverlight runs on the Mac. They’ve got Miguel [de Icaza of Novell] doing a Linux version. It’s kind of like they took out the old “Kill Netscape” playbook and they’re using it against Adobe Flash. The same thing happened with Netscape, and of course they dropped the Mac port. And the Unix port of Internet Explorer was contracted out and died a long time ago.
So, I wouldn’t be shocked if in the worst case that happens again with Silverlight. But I’m here to prevent that with whatever efforts I can put into it. And part of the effort is making Java??íScript 2 widely available. So we don’t want it to be just a Firefox thing. We hope Apple and Opera support it. And Opera’s been great in the Ecma group. The people they’ve brought to bear have been really top-notch. Apple has not really been that involved, but I’ve been talking to them for over two years, and they’re following it. And we’re hoping that they’ll come on-board at some point.
But can’t people do some of that today?
But as you begin to scale up your code, you’re going to want to lock a few things down, like your APIs that you present to the other libraries and to other applications-those generally you start out prototyping. You really don’t know for sure what you’re doing and how to express what you’re doing in the language. So you play around and you do some prototypes. As you evolve that, especially if it becomes a hit, then you start to get a better idea of what things are. And for that version at least, you ought to be able to make things a little more controlled.
So, we’re trying to improve programming in the large. And that’s the real goal.
Well, I can tell you a little bit more. In order to try to make Microsoft happy inside Ecma-even last year, when I was the so-called convener of the task group working on this-I said, look, you guys can do a smaller iteration on the existing standard, the third edition. I’m not particularly interested in working on that because we’ve kind of moved beyond that in Firefox, but if you want to do that, go for it.
And so there’s been an [ECMAScript] 3.1 effort so-called.
But we’re actually on schedule for this year with the fourth edition [of ECMAScript], and there’s an agreement that the fourth edition be strictly a superset, or the 3.1 version be a subset, of 4. This is so that there would be no divergence and we’re not forking the language. And I have to say that’s difficult because we’ve made this agreement. And it makes the language that’s supposed to be the subset have the ability to add something that we don’t want in the fourth edition. Then we have to have this negotiation and argue about it, and that’s happening right now.
And sometimes I wonder, is Microsoft just trying to wrong-foot us? We’re playing fair in this Ecma setting. We’re trying to have covenants about the subset relation. And suddenly they’re coming in and start changing their mind or adding things and start growing this thing on the side that we don’t want. And we’re going to get slowed down arguing with them. And that’s a risk that we’re taking.
On the other hand, if they do too much of that, they won’t finish this year. And what’s the point of having a 3.1 if the fourth edition is already done?
So the yet-to-be-finished ECMAScript 3.1-would that be equivalent to Java??íScript 1.9???í
It’s even less. Like, they didn’t want to go as far as we went in Firefox with some of the features we added in Firefox 2. I’ll tell you straight: I think what they want to do is have “getters” and “setters”-these little mete-programming hooks for making the property call a function on get and a different function on set. That’s it. If they had a standard that said that, they’d ship that in IE 8. They don’t have an IE 8 beta where they have “getters” and “setters” yet. And they’ve gotten a lot of flack for not having it.
You can see that that would be easy for them to add. Their heart’s really in Silverlight. But it wouldn’t hurt them a whole lot to add “getters” and “setters,” and they probably will. They want a standard that allows them to wrap themselves in the mantle of [ECMA??íScript] 3.1. They want to fix some errata in 3.0; that’s great. Guess where those errata were hosted for the last nine years? Mozilla.org. Ecma didn’t care that it had a bunch of bugs in its pseudocode spec; we did. Now they’re suddenly saying we must spend a lot of effort putting these errata back into the smaller iteration of the standard.
[They want us to do this] among all the other work we could do that might be important, but it’s less important than moving the Web forward. So we’ve compiled those errata.
So when you see the shoe on the other foot you have to wonder. And it’s not a good environment. Before this big falling-out last year … we had a high-quality committee. We had a good core group for a while, and it was collegial. Once we got into this 3.1 versus 4.0 thing it’s been a little bit rough. And it makes me sad because we lost that old high-quality, small group of chefs cooking in the kitchen. Now it’s more like food fights and cleavers being waved.