The Artima Developer Community
Sponsored Link

Java Buzz Forum
Fault Containment: an unsung hero

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Gosling

Posts: 226
Nickname: jgosling
Registered: Aug, 2003

James Gosling is an engineer at Sun Microsystems
Fault Containment: an unsung hero Posted: Oct 15, 2005 9:38 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by James Gosling.
Original Post: Fault Containment: an unsung hero
Feed Title: James Gosling: on the Java road...
Feed URL: /jag/feed/entries/rss?cat=%2FJava
Feed Description: I've been inescapably tagged as "the Java guy", despite the fact that I havn't worked in the Java product organization for a couple of years (I do still kibbitz). These days I work at Sun's research lab about two thirds of the time, and do customer visits and talks the other third. For more detail...
Latest Java Buzz Posts
Latest Java Buzz Posts by James Gosling
Latest Posts From James Gosling: on the Java road...

Advertisement
As I suffered through the nth application crash of the day, I couldn't help thinking of my favorite underappreciated Java feature: fault containment. Between try{}catch and the tight memory model, failures tend to happen close to where the error is, and they can be caught with a very good chance that there has been no corruption of neighbouring data structures. So if you're using some sort of editor and one of the commands has a bug in it, if it's written in Java you usually get a little pop-up box that says something like "error in command", and you can carry on working. In C apps, one bad pointer and you're blown out of the water, with all of your editing lost. This is particularly bad in systems that use plugins where the amount of QA is variable. A lot of what motivated the tight memory model was me having wasted too much of my life tracking down weird exotic memory smashes, and vowing to never have to waste time on stuff like that again.
(Fri Oct 14 19:37:15 PDT 2005)

Read: Fault Containment: an unsung hero

Topic: How to Ea Crab 8: Enjoy! [Flickr] Previous Topic   Next Topic Topic: Writing a ServerDefinition File ofr Sun JSAS 8.1

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use