Slashdot Mirror


Oracle To Monetize Java VM

jtotheh writes "According to the Register, Oracle is going to make two tiers of Java Virtual Machine — a free one and a premium paid one. 'Adam Messinger, Oracle vice president of development, told QCon that Oracle plans to offer a "premium" edition of the JDK in addition to the open-source JDK. Both, it seems, will be based on a converged JRockit VM and the Hotspot JVM from Sun Microsystems. The converged JVM will be released under the OpenJDK project. ... Messinger didn't explain how the premium JVM would differ [from] the free version, but the premium edition will likely see performance tuning and tie-ins to Oracle's middleware.'"

43 of 641 comments (clear)

  1. mm by chibiace · · Score: 4, Insightful

    the death of java?

    --
    he who controls the spice controls the universe
    1. Re:mm by HelloKitty2 · · Score: 5, Funny

      No, this is the birth of new opportunities in the java landscape, this is a clear sign of Oracle's dedication to the java community. The high-end Mercedes offering will finally allow you to look down on those Fiat drivers and know that your money is well spent.

    2. Re:mm by Slackware95 · · Score: 4, Insightful

      I agree with this statement, this is indeed the birth of new opportunity - A new technology to replace Java...

    3. Re:mm by levell · · Score: 4, Interesting

      Given that Google is on the sharp end of Oracle monetizing Java, anyone else think they might start to push Google Go really hard? It's immature at the moment but it looks really nice and I think as it matures it could really catch on.

      --
      Struggling to find a day everyone can make? WhenShallWe.com
    4. Re:mm by Anonymous Coward · · Score: 5, Insightful

      I'm personally hoping someone will come up with an open-source implementation of C# not based on the .NET libraries or the Mono toolkit, but a pure native-code compiler, with selectable manual or automatic memory management. I believe C# is 'better than the orignal' Java. It's only drawback is that it's tied to Micrsoft and Windows.

      It's pretty obvious that Oracle is hell bent on either making bumper profits off Java or killing it. They won't have it any other way.

    5. Re:mm by gru3hunt3r · · Score: 5, Insightful

      I agree - the fact Google uses/relies on Java is really an Achilles heel for them. I'm 100% certain that when Larry bought Sun he scratched a 10 year itch he's had for how "Sun ought to run their business" - by making two versions of java one "free" crippled, and another enterprise one. Get 'em hooked, then bend 'em over and make 'em take it up the ass and pay for the service - that is the Oracle business strategy isn't it? Ellison could care less if anybody new ever uses/deploys Java -- because the installed application base alone in fortune 500 companies (existing oracle customers) is easily enough to pay 10x for what Sun cost. It's a freaking mint, and I think he's doing the right thing (for his shareholders) - he's not interested in the long term business plan, only short term revenue.
      Killing mysql (a competitor they were losing business to), killing open office was just icing on the cake, and monetizing Solaris were just a few of the ways he's planning to make money.

      I imagine this conversation happening in the Oracle board room:
      Ellison: "we gotta nip this free software thing in the bud boys, next thing you know our stupid customers will be expecting our stuff for free too." (look of disgust)
      Henchmen #1: "yeah boss, but how we gonna pay for it? the shareholders will never buy it"
      Ellison: "those morons at Sun have been doing it wrong for years boys, what have I always told you"
      Henchmen #1: "the customer will always pay more?"
      Henchmen #2: "who cares if it's crap, ship it anyway?"
      Henchmen #1: "who cares if my jet wakes people up? i'm rich?"
      Henchmen #2: "nothing is sweeter than making the customer pay up the ass for crap?"
      Ellison: "no, well - yes, I've said all those things, but I'm talking about how I'd run Sun, how I'd make everybody pay for Java, nobody should expect to use it for free"
      Henchmen #2: "oh yeah boss, that was a good one"
      Ellison: "look at this boys, it's like it's a god damn christmas - we stop mysql for a few years while the community 'forks' or whatever, you realize how much revenue that is going to protect for us?"
      Henchmen #2: "oh yeah boss, that's alotta money"
      Ellison: "then we kill open office, teach anybody who bought it a lesson, nothing is free - you want to use it - you should pay for it"
      Henchmen #2: "yeah boss, keep going"
      Ellison: "you realize how many of our customers depend on Solaris - they can't replace it for at least a few years, in the meantime we can tear them a new asshole and let the money flow out"
      Henchmen #2: "that makes sense"
      Ellison: "and then there's Java, wow.. what a stupid bunch of dumbfucks Sun was, I'll replace their free love society with Larrys pleasure palace where you have to pay me for some action"
      Henchmen #2: "you mean metaphorically right boss?"
      Ellison: "hard to say, all i know is that in the next few years boys, we're definitely going to be busy screwing all Suns customers up the ass, and charging them for the pleasure of it"
      Henchmen #1: "so you mean basically we're going to do business as usual here at Oracle Co.?"
      Ellison: "exactly"

      The key word in business is "momentum" - the Sun acquisition took momentum from so many projects, and anybody that was using those projects (for commercial purposes) now is in the unenviable position that they need to either starting pay Oracle, or try and find a viable competitor (at least 5 years). In the short term everybody will pay, do you realize how many billions of dollars we're talking about - in 5 years they'll wash rinse repeat. This is the cycle we should expect to see in the future - I think it will be very good for Oracle (bad for the community, but nobody really gives a damn what those free-loving hippies think anyway)

      Remember Fortune 500 CIO's can't risk their enterprise to free "crippled" versions of software, they can't use unproven forks, if something goes wrong - it's their ass (and bye bye stock options), they'll choose free only when they absolutely have to. Nobody cares how much money "they save", it's a corporation, it's not about saving, it's about CYA.

      Oh my god I hope the folks at Oracle never get ahold of ASF.

      I have to admit - the folks at Oracle are brilliant (from a shareholder perspective) because they get how big businesses work.

    6. Re:mm by Tanktalus · · Score: 4, Interesting

      Well, I think Java-the-language is already out there. I can't imagine a way for Oracle to get those worms back in the can. So we must be talking about the VM, and maybe their extensions (SE/EE).

      My prediction? The VM continues to be free. EE becomes premium. SE, not sure about. And there may be a pay-for-fixes model for the VM that is, by definition, not free. If you need something fixed NOW, you pay. If you need more performance from the VM, you pay. Those fixes may or may not make it into the generally-available VM.

      The community solution? IMO, it is to finish Parrot, get a "Java-the-language"-to-Parrot compiler built (perhaps by starting with a Java-the-VM-to-Parrot bytecode converter), and then you can pretty much discard Java-the-VM. Parrot already supports a bunch of different languages (at different levels of completeness), so it seems to me to be a natural fit.

      After that project gets going, approach gcc to have gj able to target Parrot instead of Java bytecode, like all their other cross-compiling solutions. It makes Oracle irrelevant.

      Maybe, though, we'll have to wait and see what Oracle's real plans are before we, as a community, start down this road. It's an expensive road (in manpower more than $$), and if everyone continues to be happy with Oracle's free offerings, there won't be much impetus to go around Oracle. That said, I can imagine some people still worried enough about Oracle's next move to start work on this, or a similar, solution.

    7. Re:mm by c0d3g33k · · Score: 4, Informative

      You already have that in Mono. Mono is fully open-source/free/libre, there is no obligation to use the .NET libraries - you can ignore them entirely, and Mono can do full AOT (ahead of time) compilation to native code already. I'm not sure what else you want exactly that doesn't already exist.

  2. Suicide? The end of java. by WolphFang · · Score: 5, Insightful

    Suicide? Sounds they are working on ending Java in a hurry. :(

    --
    leather-dog muksihs
    Blog: @muksihs
    1. Re:Suicide? The end of java. by whiteboy86 · · Score: 4, Insightful

      ... people buying.. who are already trapped into Oracle/Sun...

      And this is children why Java, Obj-C, C# and other 'corporate' languages exist in the first place.

    2. Re:Suicide? The end of java. by VendettaMF · · Score: 4, Interesting

      >> I am sure more than one group of developers is
      >> seriously looking at core language jump.

      I know we are.
      Oracle is quite simply not a rational enough company to entrust with our ongoing development.

      Decisions, decisions.C# on MONO or C++ as itself. Pros and Cons for each are obvious, but the actual final scores will be hard to determine efficiently.

      Individually I'm leaning to C++ and arguing the point that sooner or later MS will do to C# & associated platforms what Oracle is doing to Java now, and what lawyers may say about MONO now will count for nothing in reality when MS decides it's time to drop the hammer.

      --
      kartune85 : Incapable of reason, observation or learning. A kind of dim, drab, flightless parrot.
    3. Re:Suicide? The end of java. by gbjbaanb · · Score: 5, Insightful

      Considering that C# is Java with a fair few mods. I'm ambivalent whether that makes it substantially better than Java or just another Java, but the point is that once Oracle starts succeeding here, Microsoft and the new board might decide to take note.

      Whilst Microsoft has never traditionally done this kind of thing, they used to be run by engineers (sort of, you get where I'm coming from) where they wanted to try and achieve technical excellence, they are now run by businessmen who are only interested in the share price (and their bonuses). Note that Microsoft heavily licences java to use in C# (Gosling said they pay Sun, now Oracle 'tasty' fees very year).

      The only thing that might stop them from tier-ing .net is that they use it to sell other Microsoft software - you don't write C# code in notepad for example (try it! its hurts) or run it on anything other than Windows. Whilst you can do this today doesn't mean they won't crack down on it in the future - and you can so easily imagine them doing so.

      At the moment, only the truly open languages are safe to invest your time in. All the company-owned ones are poised to be monetised at the drop of a hat.

  3. I don't get it by rumith · · Score: 5, Insightful

    Either Larry Ellison is smart beyond my imagination, or he's too stupid to understand that he's basically killing MySQL, OpenOffice and Java - arguably the three most valuable software assets he bought with Sun.

    1. Re:I don't get it by Angostura · · Score: 5, Insightful

      I suspect that Ellison evaluates 'valuable' in straightforward monetary terms. "Is Java making me money? No? It's not valuable"

    2. Re:I don't get it by drerwk · · Score: 5, Insightful

      ...MySQL, OpenOffice and Java - arguably the three most valuable software assets he bought with Sun.

      But not valuable enough to keep Sun in business for themselves.

  4. Oracle is doing everything they can to fuck up by Sycraft-fu · · Score: 5, Interesting

    I'm going to laugh as their Sun acquisition goes down in flames and they end up losing money on the whole deal. They seem to be working to identify any market they can that things are working in and eliminating it. They've done a great job at getting us to work at getting rid of all our Solaris systems as fast as we can.

    While in theory this could be fine for Java, I can't imagine it will be being how poorly Oracle has handled things so far. Most likely it'll be a case where the free JVM will be a piece of crap on purpose, and the pay for JVM will be required for anything to work well. Ya, well, that'll fly like not at all. People are not going to go and buy something to make Java apps work better. Perhaps companies who rely heavily on Java on the back end will, but more likely they'll just stop upgrading and switch to something else.

    I guess we'll see, maybe I'm wrong and the premium version of the JVM really will provide worthwhile premium features that high end users want, while the normal JVM remains for normal people. However I doubt it. I think they'll try and charge every person for the JVM on their computer, which just won't fly.

    1. Re:Oracle is doing everything they can to fuck up by jonwil · · Score: 4, Insightful

      If Oracle starts locking things up in the premium version, OpenJDK will be forked (there are already some shallow forks like IceTea that take OpenJDK and replace the remaining closed-source bits with stuff from GNU Classpath etc) and the community will shift.

      Its happened to OpenSolaris with the Illumos project and OpenOffice with the LibreOffice project.
      No reason it cant happen with OpenJDK.

      Although what might happen is that Oracle will find a way to write various APIs and licenses such that if you copy certain features from "Java Premium" you loose the patent grant given under the OpenJDK APIs.

    2. Re:Oracle is doing everything they can to fuck up by ChunderDownunder · · Score: 4, Informative

      There is one for Classpath called Mauve. I doubt it's 100% comprehensive but it's a start.

    3. Re:Oracle is doing everything they can to fuck up by shristov · · Score: 5, Interesting

      According to Oracle (TFA), "There will always be a high-performance gratis JVM." Well, perhaps Oracle are just going to add enterprise-class features to Java - for example, the JRockit hot swapability mentioned in the article. Once you need such features, chances are you are able and willing to pay for these. The rest of the community could continue using Java for non-mission critical purposes. In time we'll see if this strategy is successful, or not. If demand for features like the ones Oracle is planning to develop is great enough surely open alternatives for some of these will pop up in foreseeable future. When/if this happens we'll hit the major issue worth discussing: how the Oracle-led and OpenJDK evolution paths will stay at least close to each other. If they diverge substantially, at least one would be doomed... if not both.

    4. Re:Oracle is doing everything they can to fuck up by ultranova · · Score: 4, Insightful

      If Oracle starts locking things up in the premium version, OpenJDK will be forked (there are already some shallow forks like IceTea that take OpenJDK and replace the remaining closed-source bits with stuff from GNU Classpath etc) and the community will shift.

      I'm sure that Oracle will find some obscure patent- or other issue to crush the free version. That is what patent law exists for, after all: to help build monopolies.

      Oh well, I guess it's time to start looking for another language to start new projects in.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    5. Re:Oracle is doing everything they can to fuck up by Teckla · · Score: 4, Insightful

      While in theory this could be fine for Java, I can't imagine it will be being how poorly Oracle has handled things so far.

      From my perspective, it's perfectly fine if Oracle has decided to try to aggressively monetize Java. The real problem, in my opinion, is their lack of clear and detailed communication.

      To announce there will be two JVMs without giving us details is insanely stupid of them. It leaves developers, like me, uncomfortable with moving ahead on Java-based projects. It's the not knowing that's the killer. Will the free version continue to meet our needs? We don't know, because Oracle hasn't given us any damned details. Just some vague announcement that's leaving everyone uncomfortable.

      The same applies to Java on OS X, too. Oracle, once again, leaves us wondering what they'll do. They should have already announced their intention to either pick up where Apple is leaving off, and ship future versions of Java for OS X directly, or not. That way, the open source community could make a decision whether or not they want to do that work. And then developers that want to also target OS X could start making some decisions.

      But no, Oracle is being tight lipped, leaving OS X folks wondering and uncomfortable about the future of Java on OS X.

      Oracle just sucks at communication, and I've already halted my personal Java projects, and have started seriously considering alternative technologies to replace Java.

    6. Re:Oracle is doing everything they can to fuck up by PastaLover · · Score: 4, Insightful

      No reason it cant happen with OpenJDK.

      AIUI there is a major problem, one that apache Harmony is now faced with. Basically, to get a patent grant for your open source project you need to show that you have delivered a full implementation of the platform. To show that your implementation needs to pass the TCK tests. To get those tests (that are proprietary software, owned by Oracle), you need to agree to certain Field of Use restrictions. Which are incompatible with pretty much any open source license you can name.

      So while OpenJDK has Oracle's blessing and thus gets to get out from under this problem, any other open source project that forks off OpenJDK would lose access to the TCK and probably find itself in Oracle's crosshairs a couple months/years down the line.

    7. Re:Oracle is doing everything they can to fuck up by Haeleth · · Score: 5, Insightful

      "Guys, Java is dead because it was bought by a litigious patent-loving company with monopolistic ambitions and a history of screwing its customers."

      "Fear not! We'll just switch to a semi-compatible clone of a semi-closed platform owned by a different litigious patent-loving company with an actual monopoly and an even longer history of screwing its customers. Problem solved!"

    8. Re:Oracle is doing everything they can to fuck up by rtfa-troll · · Score: 4, Informative
      --
      =~ s,(.*),<sarcasm>$1</sarcasm>,g if any_point_you_wish();
  5. Performance-tuned Java? by kaaona · · Score: 4, Funny

    Wouldn't that be like racing whales?

    1. Re:Performance-tuned Java? by Stevecrox · · Score: 4, Interesting

      Java isn't that much slower than C++ these days, if you do it right Java/C++ performance is so close as to not matter.

      It's also more maintainable, has better frameworks and you don't have lots of beginner/intermediate level programmers introducing memory holes left, right and center.

      Saying all that I work for a company which has invested millions into Java applications. Considering how Oracle has been acting the tech leads are pushing to moving us back to C++.

    2. Re:Performance-tuned Java? by zlogic · · Score: 4, Interesting

      Hear, hear. I've developed an image processing algorithm in Java and C++ (pretty simple: for every pixel in floating point array, compute some basic stuff, create a few classes to simplify the storage of temporary values and save the result into another array). The code was as close as possible in both languages, with no obvious screwups like memory leaks or unnecessary copying of stuff. To my surprise Java ended up being 15-20% faster than C++. And C++ is THE language for image processing, every new image processing algorithm is written in C++ (with the occasional exception of C) because of performance reasons.

    3. Re:Performance-tuned Java? by hvdh · · Score: 4, Insightful

      Now try using SSE intrinsics. With Java, you can't do that. In C(++) you should get a nice speedup ending up several times faster than Java, unless you're bound by memory bandwidth.

    4. Re:Performance-tuned Java? by arendjr · · Score: 4, Interesting

      Are you dynamically allocating memory during your calculations? Basically new and delete are pretty slow in C++. While garbage collection is slow as well, actually allocating of memory is much faster in Java. Fortunately, you can implement your own allocation strategy in C++ by overriding the new and delete operators. Admittedly, it's a bit more work but can in many cases easily result in a tenfold speedup.

  6. Can you Digg it? by Yuioup · · Score: 4, Funny

    Java has become the Digg of languages.

    Goodbye Java, we hardly knew thee...

  7. Don't jump to conclusions by jernejk · · Score: 4, Informative

    Oracle already has free and pay-for JVM: HotSpot is free, JRockit is not. I expect the free JVM will be just fine for desktops and small servers. I'd expect pay-for JVM to target enterprise solutions. And again, I expect them to ship this JVM for free with their middleware products (Weblogic etc.). But yes, this sucks for JBoss.

  8. Meanwhile, at Microsoft... by rennerik · · Score: 5, Insightful

    ... Ballmer et al are wringing their hands nefariously as they see the future of C#'s marketshare increase by leaps and bounds. And that's good for Microsoft in every way, since every application written in C# instead of Java means a license for Windows is being purchased to run each copy of the software. In web apps, it's a server license; in workstation applications, it's a desktop OS license. Either way, it's a win-win for Microsoft, and a massive loss for Oracle.

    Not that I mind, per se. I prefer C# in every way to Java... but from Oracle's perspective, I don't see how they see this would do anything but hurt Java and their reputation that's rather ubiquitous.

    Now if only Mono would get their asses in gear and not lag so far behind .Net versions, there would actually be an open source OS alternative to running modern C# applications.

  9. Consistent by mseeger · · Score: 4, Insightful

    At least they are consistent: first they killed OpenSolaris, then they managed to split the OpenOffice community and now they will marginalize Java. I am sure they have something in store for MySQL too...

    CU, Martin

  10. Some insight from one of the bigger customers... by Anonymous Coward · · Score: 5, Interesting

    Working in a senior role within a global investment bank, we buy a lot of vendor product, especially from what is now Oracle (Oracle Databases products, Weblogic products, etc.) - and if they want to charge us for the 'better' JVM going forward, no doubt we will pay for it. As will the other banks.

    And Oracle knows this. It does not give a shit about small-scale Java customers, but the big corporates, like us, well, they know that even if we decided tomorrow that all new projects were to move to C#, or C++, or Objective-C, or whatever, that it would take a long time to change course, and Oracle can still bill for a long time.

    One thing to remember - our bank gets and stays profitable because it pushes a lot of IT outside to third-parties (offshore developers are *much* cheaper than in London and NewYork), and they do not see any problems with getting a global price agreement with companies like Oracle and Microsoft.

    Personally, I am brushing up my C++, learning Objective-C and C#, as I think the medium and smaller companies in the market will start to migrate away from Java, as the cost savings of cheaper Java developers is lost once you have pay large amounts for the Java install and licensing.

    Stallman wrote the Java trap, and we all laughed. Sun is nice we thought, it'll be ok. We were all wrong. Stallman saw further, he saw that even if Sun was ok, if someone bought Sun, then things could get messy. Welcome to messy.

  11. Re:Scala, Groovy, Ada. by TheRaven64 · · Score: 5, Insightful

    Yes, because allocating short-lived objects in a modern JVM is a very expensive operation. No, wait, it's an increment on a pointer value stored in a register. Disposing of them is marginally more expensive, but if only very slightly. The cost is roughly equivalent to allocating a C++ object on the stack.

    --
    I am TheRaven on Soylent News
  12. Legacy by sgt101 · · Score: 5, Insightful

    1000's of big companies (telcos, utilities, retailers, gov, defence) use java in their back office, and... well everywhere.

    This may cause them to change their policy for new software development, and it may also squeeze the java developer market badly, but for sure there will be strong arguements for splashing £50k here, £90k there, £20k somewhere else, on getting the new JVM to pick up the performance of application x, y, z which are long in the tooth and a pain in the arse.

    The alternative is to rebuild, which carries risk - although would be a good move in the long run. In the meetings someone will say "yeah, but we are all dead in the long run" and that's that basically. As a CIO you just pay over £50k, get your users back on side, keep your job for another year, collect your bonus, put another years pension contrib into the pot.

    So, Oracle will make money, lots of money, off this. You guys can squeak, MS will cheer, the Python community will see a boost (perhaps), but Larry and co will be richer.

    Mysql (in the future) = Oracle feather light (down load it and run it and you are up and going in less than 1hr - oracle normal = 6hrs to setup?) But, if you are an enterprise DBA then you want the management and recovery features that Oracle gives you (as well as the scaling - even though it gets so mind bendingly expensive).

    Open office - who cares?

    Oracle bought Sun to be IBM mark 2. Expect them to buy Accenture next.

    --
    --------------------------------------------- "In the end, we're all just water and old stars."
  13. Re:Pay for performance? by andre1s · · Score: 5, Insightful

    You do realize that Google uses Java extensively ?

  14. It's platform, stupid ! by boorack · · Score: 5, Insightful
    For me Java/Oracle problem is more about platform than it is about language. In the old times there were platforms, like UNIX, Windows or Netware. OS/Hardware combo was a deployment platform. Now we have JVM, .NET and web browser - these are the new major platforms (plus niche things like Erlang BEAM, Parrot, Ruby/cPython interpreters, to some extend LLVM).

    Let's take JVM as an example: you have defined instruction set (bytecode), well defined ABI (this one is much better than in conventional operating systems) and well defined set of standard services (standard libraries). You also have class loader which somewhat resembles dynamic linker functionality in the conventional OS. Oh, and there is a pretty damn good debugging/profiling/monitoring infrastructure built in. And from application programmer point of view JVM is pretty much like a OS. Programmer can use many languages to target this platform, not just Java. It is possible to implement almost any language on top of JVM (albeit some things have no practical sense, for example C/C++ with its pointer arithmetics).

    Would Larry prove its intent to totally screw Java (I'm still not sure of it yet), we'd need to have another platform rather than another language. There are enough cool languages to choose from, but aside from JVM and CLR there are no viable, widely supported multi-language, multi-paradigm platforms. JVM is propably the best one available but as it ages, there are more and more shortcomings visible. Having enough support from companies and developers (and from Larry screwing up Java) one can design and implement a new VM addressing some additional things, like:

    - native support for dynamic dispatch (albeit OpenJDK7 seems to support it in some way) - what I mean by that is trying to achieve performance somewhat comparable to statically typed programs (now we mostly compare to C implemented couterparts, eg. JRuby vs. Ruby, Jython vs. cPython etc.);

    - support for big memory heaps - most VMs suck at this (except for Azul), so we have to slice server machines and run many instances of JVM on one machine, then cluster/farm these JVM which is both silly and troublesome;

    - better support for massive concurrency - again, most JVMs suck at this and Java thread model isn't perfect and isn't suitable for everything;

    - support for multiple independent garbage collector zones - some language may utilize this to mitigate concurrency/big memory heap problems (Erlang, anyone?); ability to use different garbage collection algorithms in different zones if it makes sense (ex. big heap as in Java vs. small heaps as in Erlang);

    - ability to execute on multiple target devices at once - to utilize GPUs/APUs directly from bytecode (maybe with some limitations), without those crappy hacks we see today; it also applies to memory management that seems to be a horrible hack in current GPGPU solutions;

    - better support for long running VM processes, mainly hot code loading (Sun JVM sucks at this but some other solutions like JRockit seem to do a better job), maybe some code versioning, better tools to administer / tinker with running VM process (similiar to what Erlang has);

    There is more than 15 years since Java was published. There is about 10 years since Microsoft built its CLR. And there is a lot of new things that appeared (GPUs, huge memories, multicores) and lots of new knowledge we obtained since then (look at all these JS interpreters in modern browsers!). There is also a pretty good base to build on (LLVM, V8, BEAM, PyPy and tons of other projects). On top of such VM we can implement various languages (including Java), maybe even better than JVM.

    With enough help from friendly enough companies (RedHat? Google?) we can propably do much better than JVM and leave Larry and his corporate cronies in the dust. As long as there is a good quality reference implementation we don't need to chase Java APIs nor we do need to beg for TCK access.

  15. Re:Scala, Groovy, Ada. by Haeleth · · Score: 5, Interesting

    You are confusing the theoretical cost of ideal garbage collection with the actual cost in a particular implementation.

    I have worked on optimizing real-world Java applications that really were running too slowly. The problem really was that they were allocating too many short-lived objects in a modern JVM, and reducing the number of allocations really did improve performance significantly. Sorry if reality doesn't match your fashionable assumptions, but that's just the way it is.

    Just look at some benchmarks some time. Scala performance is closer to Python than Java. Yes, often that's fast enough. No, it is not always possible to throw hardware at the problem when it isn't.

  16. Re:Good. by SanityInAnarchy · · Score: 4, Interesting

    Well, there's also the fact that Java performance has caught up to the point where it's not quite twice as slow as C++, and faster in pathological cases. And there's the fact that Java, the language, isn't what's in question here -- it's the JVM, which means JRuby, Scala, Clojure, etc.

    So it's not just 10 years of Moore's Law, it's 10 years of optimization. Java was pathetically slow. Now it's the fastest thing in its class.

    So what would you replace it with? C# isn't necessarily faster, and it's got that wonderful Microsoft lock-in. Anything else is either going to be much slower (perl, python, Ruby) or much more dangerous (C, C++). It's possible there are some obscure Lisps that come close, but we're at the point where all the major optimization research goes into either C/C++ or Java, to the point where CPUs are designed to run C fast, not the other way around.

    Oh, and I expect it'll be the other way around -- the free version will be cross-platform, while the premium version will be "vertically integrated" -- might be one Windows implementation, but very likely one more, maybe on Solaris, maybe on "Oracle Unbreakable Linux", but somewhere they can "integrate" it more thoroughly into the system. At least, that'd be the typical move for them, and the smart move -- just another way for them to grab the enterprise by the balls and squeeze, while ignoring everyone else, especially their smaller customers.

    --
    Don't thank God, thank a doctor!
  17. Re:How so? by turkeyfish · · Score: 4, Informative

    You obviously aren't familiar with what transpired.

    Sun stock went into the toilet with the .dot com crash and McNeely spent more time talking a good game than in developing a viable business strategy by failing to diversifying away from SPARC or making SPARC good enough to make it worth the premium price. Their Java efforts turned out to be misguided as a means of accomplishing the latter, since it only emphasized that from a customer perspective there was little premium to be had by buying SPARC. Schwartz came on board too late to steer a different course, particularly as th tech economy was like the rest of the market in a tailspin. Board members like McNeely, who were near retirement age anyway, decided to sell out knowing it was the only way they would get that golden parachute they had been dreaming of. Towards the end as is usually the case, you saw more and more of Sun's profits directed toward big exec bonuses as they prepared to sell out, insuring the ultimate death of the company as a viable independent business.

    Microsoft investors should be getting nervous about Ballmer's recent announcement of sale of 1.2 Billion in stock. This is how the stock market works these days. Its an inside game played by insiders, while boilerplate fantasy is sold to the public and the poorly informed.

  18. Re:Good. by SanityInAnarchy · · Score: 4, Interesting

    Here's the problem: Intelligent, detail-oriented people make mistakes.

    after a few years of training can instinctively and deliberately avoid bugs both the subtle and the egregious...

    If you can find a single programmer who actually does that, post their "flawless" code along with a sufficiently-motivating bounty and see how long it lasts. To be fair, you should have some way to verify the amount of time it took to produce this code.

    In the real world...

    Wait, back up.

    higher-level languages like Java that do everything for you including tying your shoes for you...

    Wow. You're actually claiming Java ties your shoes for you? Java, the only language I know of where == can't be counted on for equality (because Operator Overloading is Bad, mmkay?), where primitives are special cases, where null is a special case, where threading is still handled via the same primitives as in languages like C or C++... That language?

    Seriously?

    I'm just going to pretend you didn't say that, so I can pretend you had an intelligent point worth my time to respond.

    So, in the real world, where Java is only moderately higher-level than C/C++, programmers can and do make mistakes occasionally. Even the best occasionally make stupid mistakes. Just off the top of my head:

    struct foo * createFoo() {
      struct foo val;
      val.a = 1;
      val.b = 2;
      return &val;
    }

    Yeah, I know it's stupid, first-year mistakes. But think about the concepts you had to summon up to tell me why that's wrong. And of course, if I do it this way:

    struct foo * createFoo() {
      struct foo *val = malloc(sizeof(struct foo));
      val->a = 1;
      val->b = 2;
      return val;
    }

    Now the caller is responsible for cleaning up after me. Sure, I can create a function that helps, if foo had a bunch of additional stuff that needs to be individually free'd or otherwise released, but they still need to call that. If they don't, I leak memory.

    We can do that, or we can do C++, where we get gems like this:

    class B: public A ...
    A a;
    B b;
    a = b; // whoops, the contents of b just got sliced!

    Or if I decide to use the heap...

    A *a = new A();
    a = new B(); // whoops, I just leaked the old value of a!

    Even if you do manage to do it perfectly every time, you're still spending far more time -- even the sheer amount of typing saved not having to deal with this bullshit is significant. And you won't do it perfectly every time.

    And when you screw it up in C/C++, you leak memory, segfault, corrupt yourself, or introduce a security vulnerability. When you screw it up in Java, so long as you're not using threads, about the worst you do is a null pointer exception.

    Yes, you can leak memory, corrupt yourself, or be insecure in Java, but an entire class of bugs are now not possible. It is no longer possible to segfault, and it is no longer possible to introduce security vulnerabilities or leak memory through your use of pointers or references.

    And you know what? For 99% of what I do with a computer, I'll gladly take a 50% performance hit for fewer bugs. In fact, I'll gladly take a 95% performance hit (and I routinely do) for even fewer bugs and (much) faster development. It's just more important for it to be reliable and maintainable than it is to satisfy someone's ego about how smart they are that they can use pointers.

    --
    Don't thank God, thank a doctor!
  19. Re:Shame Really... by vux984 · · Score: 5, Insightful

    (*) In order it to be a "sharp" the symbol in use must be (1) in italics, and (2) in a musical clef. In Microsoft's language definition it is neither, that makes those two vertical and two horizontal lines a "pound" no matter how much they want you to call it a "sharp".

    a) The pound symbol is that cursive L shaped glyph with the verital cross through it.

    b) Only in the US is # called the 'pound sign'. Canada calls it the 'number sign', most of the rest of the english speaking world calls it the hash.

    c) Technically you are correct that # isn't an actual sharp sign, but you are incorrect on both counts as to why. A sharp does not need to be on a "musical clef". And it has nothing to do with italics. The sharp must have true vertical bars, and slanted horizontal bars. A number sign must have true horizontal bars, with optionally slanted vertical bars.

    d) The language C# is called C-sharp. Wandering around calling it c-pound and actually arguing that this is somehow correct is just pointless. Why "c-pound" and not "c-hash" or even "c-octothorpe"?

    C-sharp is the clearly stated intention of the people who named it, and at the end of the day language rules are descriptive not prescriptive. The symbols use to write things do not dictate how we pronounce them. Written language is simply an approximation using a mix of tradition, convention, and convenience.

    The programming language was named "c-sharp". It was then rendered conveniently as C#. Suck it up.