From: ClassCastException on 27 May 2010 21:32 On Wed, 26 May 2010 09:35:13 +0000, Arved Sandstrom wrote: > ClassCastException wrote: >> Oh, lovely, so it will be another six months to six years in coming >> and, when (if) it finally does show up, it will have "designed by >> committee" written all over it? >> >> Maybe it's best to just stick with JDK 6 then. :) > > Even better, continue working with JDK 6, and if you're a > dyed-in-the-wool JVM person, expand your programming horizons with Scala > or Clojure. (defn drop-bombshell [] (.println System/out "I already know Clojure, actually.")) Yeah, I was a scout once, and still stick to that whole "be prepared" thing. :) Clojure comes in handy when you don't need seriously blazing speed and the problem lends itself to a functional style. Actually what Java really needs for speed these days is an API that lets you do arbitrary SIMD math on the machine's GPU. That seems to be where all the really sneaky optimizations are in rendering/number crunching these days, ones that JIT won't get you, and pretty much everything else you want to do is I/O bound. Actually, the other thing we really need is OS/JVM integration so the JVM heap plays nicer with paging and multitasking. I foresee a day when there's a small kernel written in C that bootstraps and provides the main API services for a JVM or similar VM, and all user-mode applications run in the VM. If the VM is stable enough, they can't crash it, just catch unhandled exceptions. The JVM's security features make it almost ideal for something like this, combined with its maturity and JIT. It seems bad for multiuser systems because one common heap would impede the ability to set per-user quotas and the like, BUT this is easily solved by having separate VM instances per user, with appropriate heap size limits and appropriate limits on CPU hogging enforced by a minimalist scheduler in the C kernel. But it'll probably be a while before we see this style of OS; and a major competing possibility is for the OS to merge with the browser instead and browser-based apps to take over. But then the browser becomes a kind of VM, doesn't it...
From: ClassCastException on 27 May 2010 21:42 On Fri, 28 May 2010 01:33:54 +0000, ClassCastException wrote: [snip] OK, what the HELL is going on? I submitted that post *once* and slrn simply seemed to freeze. When after about five minutes it hadn't apparently done anything I aborted the process and reran it and found three copies of the post had been sent! Never had THAT happen before. Sorry for the triplicate posting. But until I have a clue what happened I can't guarantee it won't happen again.
From: Nebulous on 2 Jun 2010 14:27 On May 27, 9:33 pm, ClassCastException <zjkg3d9g...(a)gmail.invalid> wrote: > On Wed, 26 May 2010 09:35:13 +0000, Arved Sandstrom wrote: > > Even better, continue working with JDK 6, and if you're a > > dyed-in-the-wool JVM person, expand your programming horizons with Scala > > or Clojure. > > (defn drop-bombshell [] > (.println System/out "I already know Clojure, actually.")) Euwwww. Lisp!
From: ClassCastException on 2 Jun 2010 16:22 On Wed, 02 Jun 2010 11:27:21 -0700, Nebulous wrote: > On May 27, 9:33 pm, ClassCastException <zjkg3d9g...(a)gmail.invalid> > wrote: >> On Wed, 26 May 2010 09:35:13 +0000, Arved Sandstrom wrote: >> > Even better, continue working with JDK 6, and if you're a >> > dyed-in-the-wool JVM person, expand your programming horizons with >> > Scala or Clojure. >> >> (defn drop-bombshell [] >> (.println System/out "I already know Clojure, actually.")) > > Euwwww. Lisp! Well, speak of the devil and look who appears. It was what, less than a week ago that I mentioned you offhand (and without insulting you) in another thread? What do you do, regularly google your own name or something? What's your objection to Lisp anyway, prefix notation? Parentheses everywhere? (Those are the usual suspects.)
From: Alessio Stalla on 3 Jun 2010 06:16
On May 26, 11:35 am, Arved Sandstrom <dces...(a)hotmail.com> wrote: > ClassCastException wrote: > > On Tue, 25 May 2010 19:36:47 -0400, Arne Vajhøj wrote: > > >> On 25-05-2010 18:57, ClassCastException wrote: > >>> Is JDK 7 really on the way, or is it just another Duke Nukem Forever or > >>> Half-Life 3 -- that is to say, vaporware? > > >>> Because I swear it's been like *years* since I first heard mention of > >>> it and JDK 6 still seems to be current. > >> It has been a long time underway. > > >> But people are working on it. > > >> And eventually it will come out. > > >> Lot of people are unhappy with the speed, but ... > > >> Anyway - Java is so mature so there are very few must haves missing and > >> for each nice to have there are 7 different opinions on how to > >> implement. > > > Oh, lovely, so it will be another six months to six years in coming and, > > when (if) it finally does show up, it will have "designed by committee" > > written all over it? > > > Maybe it's best to just stick with JDK 6 then. :) > > Even better, continue working with JDK 6, and if you're a > dyed-in-the-wool JVM person, expand your programming horizons with Scala > or Clojure. For example, if you're working with J2EE on Weblogic, but > see a problem that is really better addressed using functional code, > write that portion using Scala, for example. JDK 7, among other things, is supposed to provide features that should benefit functional and dynamic languages, so Scala and Clojure could theoretically take advantage of JDK 7, too. With the JDK open sourced, nothing stops you from downloading it and trying the new features, and complain with the committee who's designing them ;) -- Alessio |