Java guru: C# misses the point

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

NEWS
Java inventor James Gosling says he isn't losing much sleep over Microsoft these days, despite the software giant's effort to stem Java's popularity with its own Java-like language. The next battle in Web services software development pits Microsoft against Java creator Sun Microsystems, along with Java adherents IBM, Oracle and others. Crucial to Microsoft's effort is C#, a Java-like language that will soon be part of the company's new Visual Studio.Net package of software-development tools, which was released to developers on Wednesday. Gosling, a Sun vice president, is dismissive of C# but admits he and others at Sun initially "panicked" when they learned of the language. "The trite answer is, 'Imitation is the sincerest form of flattery -- thank you very much,'" he said this week. "But the other answer is, 'You guys (at Microsoft) still don't get it,' because it's sort of Java with reliability, productivity and security deleted." In an interview with CNET News.com, Gosling dissects C#, discusses Java's popularity and explains what it's like to be a "superstar". Q: Why do you say Microsoft's C# is Java without the reliability, productivity or security?
A: You find stuff in it that has essentially loopholes for everything. They had this problem in their design rules that they had to support C and C++, which means you have to have a memory model where you can access everything at all times. It's the existence of those loopholes that is the source of security, reliability and productivity problems for developers. So on the one hand, they copied Java, and on the other hand, they added gratuitous things and other things that are outright stupid. That's amusing. We were panicked (about C#) a while ago. And we've gotten somewhat more relaxed about it. It's certainly something to be concerned about, given the amount of resources Microsoft can bring to bear. But I've had conversations with developers. It has not been that big an issue with developers. It's actually been much more a public relations issue than a reality issue. Where is the growth in Java development? Is it still mostly on the server side? What about the desktop?
It's both. You can't actually separate them because these networks that we're building are a bunch of things that communicate and are interdependent. Anytime someone builds a little application that runs on a cell phone, there's something that goes on the server. It's kind of like saying, "Is the blood pumping in your left arm or your right arm?" It's both. Wireless has been very active because it's been particularly sexy. But desktop stuff has huge activity too. I suspect the amount of activity on the desktop is much huger than what's going on in wireless. You see people doing Java-based internal applications all over the place, regular desktop applications that are sort of front-ends to the things in the back, or standalone things. The level of activity is just amazing; it's like every year I think it's going to slow down. The Java world has just been accelerating, and it's amazing how essentially anywhere there is a digital system, there's someone building something in it with Java. It's become this development environment and tool that gives you the unifying framework that colors everything, from supercomputers to smart cards. What projects are you working on now for Sun?
For me, (inventing) Java is 10 years ago, so I decided a couple of years ago, it's time to get on with my life. So I went back to the research lab at Sun, and lately I've been on a developer-tool project. There aren't a lot of people building IDEs (integrated development environments). And IDEs are generally targeted at low-end developers -- people who are not experts at writing code. And if you look for tools that are oriented toward (those) people, you basically find nothing. The No. 1 tool (in that area) is Emacs, and I was kind of the guy responsible for the original Emacs, 23 years ago. One of the things I find frightening is it's still around, and in many ways it hasn't really changed. Is that the best you can do for a (low-end) developer? I don't think so. We have a development (tool) called NetBeans that Sun bought. It was architected from the beginning to be a framework. It's a flexible system we open sourced a year and a half ago. And so I'm building a plug-in for NetBeans. IBM created its own open-source project called Eclipse, which aims to integrate Java development tools so a software developer can choose tools from different software makers, plug them together, and have them work together. While nearly every toolmaker has joined the Eclipse project, Sun hasn't -- and IBM executives have complained about that. What's going on?
NetBeans is very much like Eclipse. They said we were being bad because we didn't join Eclipse. But they didn't even ask us. We didn't find out about it until they announced it. It's been a little weird. To us, Eclipse feels like something very "me too" and derivative, backed up by a really strange marketing campaign. Do you see the two open-source projects coming together?
They may. I mean, I'm sure there are people looking at what it will take. It's hard to tell how these things go. The important thing is to come up with a common set of APIs (application programming interfaces). We've been working on APIs for the last year and a half. It would have been nice if IBM had actually joined into our open-source effort that's been going on for a very long time. Microsoft is making aggressive moves on the Web services front. There's some talk that Java is trailing in the Web services game, since the Java supporters, through the Java Community Process, won't come up with a Web services standards until later this year. Your thoughts?
We get asked about slowness a lot. I've made the comment that democracies work slower than dictatorships. That's a true thing. One of the key aspects of Web services is that it's all about cooperation. So if you are building a standard airline reservation system you have to get Travelocity, Orbitz and Expedia into a room, and they have to agree on a common schema in the Extensible Markup Language (XML) world for describing what is a flight and what is a request for a flight. One could try to dictate to the airline industry what all their reservation systems should look like, but they would not be real happy about that. I don't think that would be successful, because Web services is inherently about cooperating, so there has to be some kind of democratic process. When you try to get Visa, MasterCard, Citibank and American Express, and the list of people in the Liberty Alliance (to create a standard for an authentication service over the Web), getting them to agree is going to be hard. But they are actually committed to agreeing. They understand they have their own agendas, but to further their own personal agendas they have to cooperate. So they are actually doing some good work. The last time we interviewed you, about four years ago, you mentioned that when you made public appearances at conferences, Java developers always asked you for your autograph. Are you still treated like a superstar, and if so, how does it feel to still evangelise Java?
It's flattering. Just before Christmas, I signed a T-shirt while the person was wearing it. Someone had an ink marker and asked, "Can you sign my laptop?" I signed the laptop cover. It's mostly (signing) pieces of paper. I enjoy evangelising Java. In my heart of hearts, I'm an engineer, and what makes me happy is building something that works and having someone use it. That's cool. But when evangelism takes over my life, which it did, life becomes unpleasant. For a while, I was (focusing on the evangelism) for medical reasons, because I had really bad carpal tunnel and RSI problems (and couldn't use a keyboard). And a couple of years ago, I went through a bunch of surgeries and it was like magic. I could work again. I've had a lot of fun since then. ZDNet UK's Developer News Section delivers the latest headlines together with the best UK jobs, right to your browser. Have your say on all developer topics. From j2ee, to C++, from Visual Basic to Javascript plus much more. Share your experience with others on the Developers Forum Let the editors know what you think in the Mailroom. And read other letters.

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

GrueMaster

Nice review and very informative. One thing I'd like to add (in reply to whs001's 1st question), the main reason to have the same interface from...

53 minutes ago by GrueMaster on A tale of two distros: Ubuntu and Linux Mint
Frederick Wrigley

I'be been using Mint 12 since the RC came out, and I am far more happy with the Cinnamon, the Mate, and, yes (with extensions), theGnome 3...

2 hours ago by Frederick Wrigley via Facebook on A tale of two distros: Ubuntu and Linux Mint
bdantas

Excellent article. One small correction, though--although a fresh installation of Linux Mint 12 will, indeed, provide the user with a version of...

2 hours ago by bdantas on A tale of two distros: Ubuntu and Linux Mint
Alan Ralph

In related news, the ISPs club together to get the members of the Home Affairs Select Committee (ya goofed on that part, ZDNet UK) copies of "The...

3 hours ago by Alan Ralph via Facebook on MPs urge ISPs to take down terrorist material
Alan Ralph

In related news, the ISPs club together to get the members of the Home Affairs Select Committee (ya goofed on that part, ZDNet UK) copies of "The...

3 hours ago by Alan Ralph via Facebook on MPs urge ISPs to take down terrorist material
Moley

For Gnome 2 die-hards, it is possible to add icons to the bottom panel (or top top panel, if you prefer) which provide the exact Gnome 2...

4 hours ago by Moley on A tale of two distros: Ubuntu and Linux Mint
ramwellian

Your comments would seem pretty naive and immature. Your 'solution' appears to be, "gee, let's all just give in to the hackers and give them...

4 hours ago by ramwellian on Cloud computing security: no more oxymoron?
BugStalker

"Interesting thought ... If you installed Win7 as a dual boot on a machine that previously only had Linux, and it wrecked your Linux installation,...

4 hours ago by BugStalker on Windows 7 Declares War on GRUB
whs001

This is an excellent summary of Ubuntu and Mint and the interface differences between them. Most such articles take a very partisan position for...

4 hours ago by whs001 on A tale of two distros: Ubuntu and Linux Mint
Moley

@ewallace. Not so clear. Anyone can obtain the text, for example from here http://www.ustr.gov/webfm_send/2379. I support ACTA so long as it and...

5 hours ago by Moley on ACTA: Facts, misconceptions and questions
45283

I think WinRT is fantastic. I just wish it was an option for people that didn't want to go through Microsoft's App Store with its attendant...

8 hours ago by 45283 on Why Windows 8 needs architectural hygiene for WOA
Burn-IT

Nine people? £30m? Who's back pocket is that lot going in? And IF they say it is for new buildings, what about all the ones the government has...

9 hours ago by Burn-IT on Police set to launch three £30m e-crime hubs
ewallace

Just to be clear, nobody knows what is in the text of ACTA, here is a photograph of the text of ACTA http://twitpic.com/8h9iju as submitted to the...

9 hours ago by ewallace on ACTA: Facts, misconceptions and questions
fgvrg56

Unfortunately main issue is that ASUS is refusing to accept that they make some mistake on this version of asus Transformer prime. 1 - GPS sensor...

10 hours ago by fgvrg56 on Asus Eee Pad Transformer Prime Wi-Fi & GPS problems?
Ben Woods

@Marcus A fair question. Just talked with Archos which said it was working on an announcement for next week....

11 hours ago by Ben Woods on Archos confirms G9 Ice Cream Sandwich update schedule
Marcus Karlsson

Any update on this, considering the claimed "first week of February"?

12 hours ago by Marcus Karlsson via Facebook on Archos confirms G9 Ice Cream Sandwich update schedule
apexwm

Bill Goodrich : Just as al_langevin pointed out, with Windows Server 2008 there is no Services for Macintosh anymore. It's gone, not available....

21 hours ago by apexwm on Windows Server 2008 drops the ball for Mac compatibility
txtrainguy

Replying to an old topic that I'm currently facing with my CEO (who is on a Mac). Our servers are primarily Windows Servers, office is about...

1 day ago by txtrainguy on Windows Server 2008 drops the ball for Mac compatibility
k0tcs3

Sure, that makes perfect sense. Pay wrong-doers money and thank them for breaching your security and pointing out your flaws, that would surely...

1 day ago by k0tcs3 on US indicts Romanian over NASA climate change hack
Random_Error

I think he's referring specifically to Android apps, as Apple do regulate their App Store, but Google seem to let any old crap onto the Android store!

1 day ago by Random_Error on RIM: BlackBerry will keep 'garbage' apps out of store

Latest in Application Development