[r-t] Writing method display software

Don Morrison dfm at ringing.org
Mon Nov 30 14:50:32 UTC 2015

On Sun, Nov 29, 2015 at 10:29 AM Richard Smith <richard at ex-parrot.com>
> it is hard to compare C++ with Scala as one compiles to native
> machine code and the other to Java bytecode.

Though modern, high performance JVMs then JIT compile the bytecode down to
machine code, anyway, right? I suspect that with Scala, just as with the
Lisp I love and use regularly, one of the important considerations is to
avoid allocating and then GCing too much memory in inner loops. Though
modern GCs can be surprisingly good at dealing with short lived objects at
minimal cost, so much so that in some cases standing on your head to avoid
consing can reduce locality to such an extent that it actually makes things
worse, though I don't think I've ever run into such a problem in any
ringing software whose performance I've worried about (which is pretty much
just search, nothing else I've ever dealt with in ringing being all that
sensitive to performance).

Don Morrison <dfm2 at cmu.edu>
"The theory was that sequestration's consequences were so
self-evidently destructive and stupid that Congress would reach some
compromise long-term path to avoid triggering this fiscal weapon that
it had aimed against itself, but once again Congress surprised even
itself on the downside."
    -- Edward D Kleinbard, _We Are Better Than This_
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://bellringers.net/pipermail/ringing-theory/attachments/20151130/80aed40b/attachment-0003.html>

More information about the ringing-theory mailing list