Howard Lewis Ship a écrit :
I have to wonder a bit about the ability to optimize. Everything
boils down to one of the seven or so basic forms. That's a lot of
function calls to do even small things, like adding numbers. You might
think that simple math would be optimized and inlined, but it
Rich has done a lot of work to make sure that when you are working with
primitives, the JVM bytecode ends up being very similar to what Java would
generate. See http://clojure.org/java_interop#toc36
Thanks,
Stu
On Thu, Mar 12, 2009 at 6:20 PM, Howard Lewis Ship hls...@gmail.com wrote:
Well,
I was just reading
thishttp://developer.amd.com/documentation/Articles/pages/01302008_jvm.aspx
and
wondering: Does Clojure's pure-functional design enhance VM-level bytecode
optimization by simplifying escape analysis?
Joshua
--~--~-~--~~~---~--~~
You received
On Mar 12, 4:46 am, Joshua Fox joshuat...@gmail.com wrote:
wondering: Does Clojure's pure-functional design enhance VM-level bytecode
optimization by simplifying escape analysis?
Functional design doesn't necessarily make bytecode easy to optimize.
But Rich Hickey works hard on making Clojure
On Mar 12, 10:56 am, Stuart Sierra the.stuart.sie...@gmail.com
wrote:
On Mar 12, 4:46 am, Joshua Fox joshuat...@gmail.com wrote:
wondering: Does Clojure's pure-functional design enhance VM-level bytecode
optimization by simplifying escape analysis?
Functional design doesn't necessarily
Addleman
mark_addle...@bigfoot.com wrote:
On Mar 12, 10:56 am, Stuart Sierra the.stuart.sie...@gmail.com
wrote:
On Mar 12, 4:46 am, Joshua Fox joshuat...@gmail.com wrote:
wondering: Does Clojure's pure-functional design enhance VM-level bytecode
optimization by simplifying escape analysis
On Mar 12, 11:15 pm, Howard Lewis Ship hls...@gmail.com wrote:
I have to wonder a bit about the ability to optimize. Everything
boils down to one of the seven or so basic forms. That's a lot of
function calls to do even small things, like adding numbers. You might
think that simple math
Well, at some point I'll open up the code and check. Though I'll be
overly tempted to write some comments, fix the indentation and write
some tests if I do!
On Thu, Mar 12, 2009 at 2:36 PM, Jarkko Oranen chous...@gmail.com wrote:
On Mar 12, 11:15 pm, Howard Lewis Ship hls...@gmail.com wrote: