If you use ngen, it won't be so bad:
http://clojureclr.blogspot.com/2011/12/using-ngen-to-improve-clojureclr.html
On Friday, May 24, 2013 6:29:24 AM UTC-4, atkaaz wrote:
making a note that (on my system, win7 64bit btw) clojureclr startup time
is about (at least)10 seconds.
tested both
I'll throw in my own work in progress as a low-footprint target of Clojure:
https://github.com/aaronc/c-in-clj. It's not an attempt to compile Clojure
code to C, but rather a way to write C code efficiently from Clojure that
can be dynamically invoked from Clojure.
On Friday, May 17, 2013
making a note that (on my system, win7 64bit btw) clojureclr startup time
is about (at least)10 seconds.
tested both Clojure.Main.exe and Clojure.Compile.exe from package
clojure-clr-1.4.1-Debug-4.0.zip
I might be looking into Haskell which seems to have like 2 sec(max) startup
time, and the
for comparison an uberjar run [1] of a hello world program takes 2 seconds
(2.2 sec) on clojure 1.5.1 and Leiningen 2.2.0-SNAPSHOT on Java 1.7.0_17
Java HotSpot(TM) 64-Bit Server VM
[1] java -jar newproj1-0.1.0-SNAPSHOT-standalone.jar
On Fri, May 24, 2013 at 1:29 PM, atkaaz atk...@gmail.com
One more thought on the broader ideas of LISPy languages and ASM. One of
the versions of Crash Bandicoot was developed in Game Oriented Assembly
LISP (GOAL) - which was a common LISP DSL that generated assembler.
I recalled this today because Michael Fogus tweeted about it:
thank you very much, my search has lead me to seeking a lisp that could
compile to machine code (mainly because i cannot accept the 20-22 sec `lein
repl` startup time and eclipse/ccw memory consumptions - so I was hoping
for something fast even though the cost is portability and all else)
On
On Wednesday, 22 May 2013 20:35:01 UTC+8, atkaaz wrote:
thank you very much, my search has lead me to seeking a lisp that could
compile to machine code (mainly because i cannot accept the 20-22 sec `lein
repl` startup time and eclipse/ccw memory consumptions - so I was hoping
for something
Looks like I forgot to enable the paging file (windows virtual memory was
disabled) and that is why my eclipse/firefox would crash when running out
of memory and also had much eclipse.ini memory allocated -Xms228m -Xmx712m
; and because of all these I was unable to start repl most of the time in
emacs does this navigation stuff.. M-. and M-, . For uses of a function,
try grep -R or rgrep.
On Wed, May 22, 2013 at 1:30 PM, atkaaz atk...@gmail.com wrote:
Looks like I forgot to enable the paging file (windows virtual memory was
disabled) and that is why my eclipse/firefox would crash
I don't know about the emacs stuff, but I consider the latter to be a
nice workaround/hack :)
On Wed, May 22, 2013 at 8:35 PM, Gary Trakhman gary.trakh...@gmail.comwrote:
emacs does this navigation stuff.. M-. and M-, . For uses of a function,
try grep -R or rgrep.
On Wed, May 22, 2013 at
Immutability, persistence, closures without a serious garbage collector
sounds hard.
On Sat, May 18, 2013 at 1:09 AM, atkaaz atk...@gmail.com wrote:
Thanks very much everyone! I'm looking into all of those, but currently
planning to read Julian's pdf. I didn't want to say anything until I had
your comment caused me to be reading this http://prog21.dadgum.com/134.html
(at least)
On Sat, May 18, 2013 at 6:17 PM, Gary Trakhman gary.trakh...@gmail.comwrote:
Immutability, persistence, closures without a serious garbage collector
sounds hard.
On Sat, May 18, 2013 at 1:09 AM, atkaaz
It's hard to really appreciate java and clojure until you actually write
some C/C++ or ASM.. I have some minor experience with that stuff, and it
still haunts me from time to time.
Sometimes we make tradeoffs without knowing we did. By choosing a
language, or having the choice made for us, we
Ok, weird question: is there some clojure port on assembler yet? Even
if(/especially if) it doesn't have jvm/java/javalibs support
Or should I just check https://github.com/clojure/clojure-clr ?
I'm mainly interested in low memory footprint and fast startup times (does
clojure-clr have that?)
I think these qualify as low-footprint clojures:
https://github.com/clojure/clojurescript on node..
https://github.com/takeoutweight/clojure-scheme compiles to native
https://github.com/halgari/mjolnir llvm targets.
On Fri, May 17, 2013 at 7:10 AM, atkaaz atk...@gmail.com wrote:
Ok, weird
On Fri, May 17, 2013 at 02:10:02PM +0300, atkaaz spake thus:
Ok, weird question: is there some clojure port on assembler yet? Even
if(/especially if) it doesn't have jvm/java/javalibs support
Or should I just check https://github.com/clojure/clojure-clr ?
I'm mainly interested in low
If you had a hobbyist interest in representing S-expressions in assembler -
then you could take a look at the tutorial written by Abdulaziz Ghuloum
called Compilers: Backend to Frontend and Back to Front Again. It used to
be available
here:
Thanks very much everyone! I'm looking into all of those, but currently
planning to read Julian's pdf. I didn't want to say anything until I had
something definite, but just letting y'all know that I'm considering each
recommendation.
On Sat, May 18, 2013 at 7:12 AM, Julian
18 matches
Mail list logo