Re:My Increasing Frustration with Clojure
by ianopolous on Saturday June 11, 2016 @02:09PM
(#11884527)
It is with -XX:MaxInlineSize=35 (that's the default number of bytecodes to consider inlining)
[ Parent
| on HN ]
Re:My Increasing Frustration with Clojure
by jgalt212 on Saturday June 11, 2016 @03:06PM
(#11884820)
OK, so can you develop with better error messages, and then ship to production a jar a faster version with the spartan error messages?
Re:My Increasing Frustration with Clojure
by puredanger on Sunday June 12, 2016 @02:35AM
(#11886939)
We have been working on this off an on for a while and that's definitely an option.
Re:My Increasing Frustration with Clojure
by pmarreck on Saturday June 11, 2016 @03:19PM
(#11884877)
So why couldn't they simply include the extra debug code and use that config for Clojure compiles?
Re:My Increasing Frustration with Clojure
by twoodfin on Saturday June 11, 2016 @04:28PM
(#11885187)
HotSpot is a JIT, so that's a runtime option. You'd be asking anyone deploying a .jar containing some Clojure to add fiddly configuration.
Not impossible, but one of the heavily advertised virtues of Clojure is that it can be deployed alongside Java code without anyone having to be the wiser.
Re:My Increasing Frustration with Clojure
by puredanger on Saturday June 11, 2016 @07:41PM
(#11885929)
We general try to assume that the user has applied no special JVM options. Planning with that as a baseline is much better than requiring people supply a big soup of options.