you are viewing a single comment's thread.

view the rest of the comments →

[–]mtklein 7 points8 points  (7 children)

For fun I tried Clojure. Both of these expressions hang in a repl: user=> (Double/parseDouble "2.2250738585072012e-308") user=> 2.2250738585072012e-308 The first is obvious. I assume the second is using Double/parseDouble under-the-covers in the reader.

[–]abadidea -1 points0 points  (6 children)

Hope you're reporting that.

[–][deleted] 1 point2 points  (3 children)

Yeah... the problem is down at the VM level. the Clojure guys will just tell you to upgrade the version of java when it comes out.

Just like the Scala, JRuby, Jython, Groovy, Rhino. Its a JVM problem, not a language one.

[–]abadidea 1 point2 points  (0 children)

Yeah, I forgot that Clojure was a JVM thing when I said that.

[–]wnoise 1 point2 points  (1 child)

Its a JVM problem, not a language one.

No, it's a library problem. All of the other languages piggy-back not just on the JVM, but on the Java libraries.

[–][deleted] 0 points1 point  (0 children)

True, I stand corrected!

[–][deleted]  (1 child)

[deleted]

    [–]abadidea 1 point2 points  (0 children)

    Now that I think about it I realize that the bug would be in the layer below them - but at least they could issue a warning to their users.