Slashdot Mirror


James Gosling Leaves Google

scottbomb writes "Well, that didn't take long: 'After only a few months at Google, Java founder James Gosling has left the search engine giant to go to a small startup company specializing in ocean-based robotics.' In a brief blog post about his new company, Gosling says, 'They have a growing fleet of autonomous vehicles that roves the ocean collecting data from a variety of onboard sensors and uploading it to the cloud. The robots have a pile of satellite uplink/GSM/WiMax communication gear and redundant GPS units. They have a bunch of deployments. For example, one is a set of robots patrolling the ocean around the Macondo well in the Gulf of Mexico monitoring water chemistry. These craft harvest energy from the waves for propulsion and can stay at sea for a very long time. The longest that one craft has been out is 2.5(ish) years. They can cross oceans.... Slowly. They only move at 1-2 knots, which is a great speed for data collection.'"

17 of 192 comments (clear)

  1. SkyNet by Niomosy · · Score: 3, Funny

    At least we can take comfort in the robots likely getting a java.lang.OutOfMemoryError: Java heap space error.

    1. Re:SkyNet by _xeno_ · · Score: 3, Informative

      I doubt Gosling has problems managing memory in Java.

      I dunno, you've never run into the more infamous "java.lang.OutOfMemoryError: PermGen space"?

      This is the error that's generated when the Java VM itself (well, the classloader, I guess) runs out of memory.

      Because, unlike Java code itself, the Java classloader never frees memory it uses, which means that if you use a class briefly on startup, that code itself will be kept in memory indefinitely and never freed.

      Which wouldn't matter as much, if there weren't this special "PermGen" space that used to default to 1MB. (It's slowly been increased as the versions go on and the size of Java programs continued to bloat, I think the default is now something like 16MB and can, as of five years ago, be user-set via a command line parameter.)

      So what does this have to do with SkyNet? Well, if it's written in Java, it will run out of PermGen space well before its self-modifying code can accomplish anything.

      And, given that PermGen space is never freed, apparently James Gosling does have problems managing memory in Java.

      --
      You are in a maze of twisty little relative jumps, all alike.
    2. Re:SkyNet by binarylarry · · Score: 5, Informative

      PermGen is gone in newer versions of Java.

      --
      Mod me down, my New Earth Global Warmingist friends!
    3. Re:SkyNet by GodfatherofSoul · · Score: 3, Informative

      Correct me if I'm wrong, but while the JVM doesn't free memory, it does recycle memory from it's allocated space. So, just because you might have accumulated the max memory your JVM might allocate, that doesn't mean your app isn't releasing memory back to the JVM. Kind of like super fetch except allocation is passive.

      --
      I swear to God...I swear to God! That is NOT how you treat your human!
    4. Re:SkyNet by goofy183 · · Score: 3, Informative

      As the other reply alluded this isn't a JVM problem but a problem with poorly written libraries. If a library sticks something in a ThreadLocal, creates a Thread, registers a JDBC driver, or several other tasks using classes from the webapp class loader and then DOESN'T CLEAN THEM UP when the webapp context is destroyed you get a ClassLoader leak. Just like any other Java memory leak it stems from having classes in the loader still reachable from the GC root.

      Tomcat has made some great changes to their webapp classloader to watch for this bad behavior and forcibly remove/cleanup these references when a webapp shuts down, solving this problem in many cases.

    5. Re:SkyNet by TheSunborn · · Score: 3, Informative

      You are both wrong and right. All objects allocated by Java can be garbadge collected. Including permgen. (See: http://blogs.oracle.com/jonthecollector/entry/presenting_the_permanent_generation)

      However this does often not happen because some objects keeps a (Normally static) reference to this class. An example where this often causes problems are with loggers because they often keep an static reference to a class, because they use it when generating debug output.

      Removing all references to a class when doing dynamic class loading is not as easy as it sound, and I know that tomcat had huge problems with this in tomcat 5.5 and 6. I had to restart my 6.0 tomcat server used for development due to this problem because I had it configured to auto reload all newly generated classes. But it seems that they fixed that problem with tomcat 7, because I have not seen a PermGen exception since I upgraded.

  2. Oracle? by shutdown+-p+now · · Score: 4, Interesting

    Makes you wonder if the whole Oracle patent shitstorm around Java is making Google reconsider its reliance on that technology. If so, would be interesting to see what they bring forth instead.

    1. Re:Oracle? by lennier · · Score: 4, Funny

      Dunno, maybe they'll switch to Forth as their language... That'd be pretty cool...

      FORTH GO MULTIPLY AND

      --
      You are not a brain: http://books.google.com/books?id=2oV61CeDx-YC
    2. Re:Oracle? by dudpixel · · Score: 4, Interesting

      Are you surprised?

      Google is pretty poor at supporting anything longer than a week past the initial launch date.

      The whole Google business model appears to go like this:
      1. Invent cool tech
      2. Make it into an awesome product. Functional, and working, but not finished.
      3. Dump it on the public (as a "beta") with a half-hearted launch effort.
      4. Start on next project.

      For GMail - it worked, partially because a functional product is really all most of us want.

      Search is one of the few projects they continually work on - because its what makes them money.

      For many of their projects, including Google+, they fail because Google fails at marketing and seeing a project through. Have a look at how Apple launch a product, compared to Google. Apple are often still telling us how wonderful they are even years later, while Google seems to forget about its own achievements after a week.

      I like Google - I use many of their services, and have and Android phone + tablet and develop Android apps...but its just plain disappointing to see how little effort is put into their products post-launch. I'm specifically talking about marketing effort, as I'm sure they are working hard behind the scenes.

      --
      This seemed like a reasonable sig at the time.
  3. hmm by nomadic · · Score: 3, Interesting

    Definitely sounds a lot more interesting than working at Google.

  4. ... just like Java by ccr · · Score: 5, Funny

    The first thing that popped out as I glanced through the post was:

    "They can cross oceans.... Slowly. They only move at 1-2 knots, which is a great speed for data collection."

    And I thought to myself, "slowly? .. well, it's father of Java, after all."

    1. Re:... just like Java by Miamicanes · · Score: 3, Interesting

      Honestly, JVM hell is caused more by Sun's shitty documentation on how to properly specify JVM versions in a manifest or applet CLSID. Sun historically did a crap job of explaining how to specify things like, "Use the newest version of Java installed on this machine, as long as it's 1.6 (or 1.5, or 1.4) or newer", and instead gave examples that induced people to create needless dependencies on old versions of Java for no real reason besides lack of proper documentation. The fact that Oracle now owns Java makes things worse, because Oracle software was historically the worst of all about creating stupid dependencies on old versions of Java for no real reason (or because for political reasons, they wanted you to use the "thick" OCI drivers that tied you down to a specific runtime environment instead of the "thin" type 4 drivers that would "just work" on anything with a JVM).

      The truth is, as long as an Oracle native-code database driver isn't involved and the developer doesn't go out of his or her way to needlessly specify some specific, arbitrary version of Java, 99.999% of anything you write in Java will work on any JVM that's as least as new as the one you compiled it under. I have 9 year old jarfiles built with pre-alpha 1.4 JDKs that still work fine under 1.6.0.${whatever}.

      True story: at work, we had a notorious internal application whose development team bent over backwards to make users with newer JDKs and JREs installed miserable. Basically, it used the CLSID that told the JPI, "ignore the user's Java control panel settings, and always use the latest version of Java installed on this machine". Then, a few HTML lines later, used Javascript to commit suicide if that version of Java happened to be newer than 1.6.0.18. Sigh.

  5. What do you wanna bet... by interval1066 · · Score: 4, Interesting

    ...that the REAL reason Gosling left was because the google execs were like "Ok Jimmy, here's your office, lets tuck you in... all nice and comfy? Good... now just rest here until we need you." I think the coolness of having the inventor of Java trolling 'round the office was greater than any expectation that he'd actually invent something for Google.

    --
    Python: 'And then suddenly you have a language which says "we're all stuck with whatever the whiniest coder wants".'
    1. Re:What do you wanna bet... by martin-boundary · · Score: 5, Interesting
      I doubt it. If you read Gosling interviews from the past few years, one of the ideas he likes to talk about a lot over and over is embedding millions of sensors into the world - in roads, walls, etc. Tiny little bugs that measure something, which can be combined into a completely novel picture of the world.

      That's not really what Google does, they're an advertising company whose primary inputs are words and human behaviours.

      The first is closer to hands on lab work, while the second is pure data munging, and my impression is Gosling's not that interested in the latter.

    2. Re:What do you wanna bet... by TubeSteak · · Score: 4, Interesting

      I was in Washington Dulles International Airport (IAD) a few months ago and sitting right behind me was a salesman from Liquid Robotics* giving his pitch to a potential client.

      I'll admit, I listened in. The technology he was describing sounded amazing.
      Alternative solutions are crazy expensive or have limited range/loitering/real-time capabilities,
      while this thing can stay out more or less indefinitely if you pay for a big enough battery pack.

      I recall something that a quick google search doesn't turn up in any articles:
      The salesman mentioned that Liquid Robotics keeps their costs down by contracting fishing boats to drop off and pick up the Wave Gliders. Because, while you could wait for it to come home at 1.5 knots/hr, it's a lot faster (and not very expensive) to have it swim to/from a spot that someone was going to be at anyways.

      By the time I had to leave, I was ready to buy one and I don't even need it.
      I seriously feel that their technology is going to be the future of unattended oceanographic research
      and if I had a million dollars to invest, I would.

      *I never actually caught the name of the company, but from the /. summary, I immediately recognized the technology being described.

      --
      [Fuck Beta]
      o0t!
  6. Gosling leaving? by the_humeister · · Score: 3, Funny

    So, that means Kate is staying then?

  7. No change by jdavidb · · Score: 3, Funny

    Now he's just doing Google Streetview underwater!