the example file i linked to has some benchmarks at the top. there is
almost no difference to python and it is in the range of clojure's
usual runtime environment (JVM). if i understand it correctly, they do
not interpret the code, but generate something out of the files.
that's why it is equally fast as python.
if i'm not mistaken, it should be possible to access the whole sage
python library -- just with clojure's syntax and nearly no overhead!
h
> --
> You received this message because you are subscribed to the Google Groups "sage-flame" group.
> To post to this group, send email to sage-...@googlegroups.com.
> To unsubscribe from this group, send email to sage-flame+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sage-flame?hl=en.
>
Can Common Lisp cleanly make calls to clojure?
If so, Maxima could
include Sage as a package, and pick up some extra number theoretic
functionality! Though... the size of the source tarball would
probably grow a bit if we're not careful.
On Tue, Mar 13, 2012 at 1:15 PM, Harald Schilly
<harald....@gmail.com> wrote:
> On Tue, Mar 13, 2012 at 21:07, rjf <fat...@gmail.com> wrote:
>> I suppose that means one no longer has to write in Python. but can use
>> a language that is nicer, but probably even slower.
>
> the example file i linked to has some benchmarks at the top. there is
> almost no difference to python and it is in the range of clojure's
> usual runtime environment (JVM). if i understand it correctly, they do
> not interpret the code, but generate something out of the files.
> that's why it is equally fast as python.
> if i'm not mistaken, it should be possible to access the whole sage
> python library -- just with clojure's syntax and nearly no overhead!
>
> h
>
> --
> You received this message because you are subscribed to the Google Groups "sage-flame" group.
> To post to this group, send email to sage-...@googlegroups.com.
> To unsubscribe from this group, send email to sage-flame+unsubscribe@googlegroups.com.
It is much faster than Python, but still slower than Java (it is
implemented on the JVM).
I can't see any genuine justification for implementing Clojure in
Python other than to have fun doing so. The popularity of Python has
been plummeting like a rock. Contrast the sudden resurgence of
interest in C putting it again in top spot.
For another language very similar to Lisp which has seen phenomenal
growth, take a look at Logo.
Anyhow, my favourite language by far at the moment is Julia. It has
the performance of C (even when run via its REPL), the power of Python
and a nice familiar syntax. There's a real buzz around it at the
moment.
Bill.
>> > sage-flame+...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/sage-flame?hl=en.
>> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-flame" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/sage-flame/-/id1eHed059YJ.
>
> To post to this group, send email to sage-...@googlegroups.com.
> To unsubscribe from this group, send email to
> sage-flame+...@googlegroups.com.
from the top of the pure-programming-language-hill yes, it's fun to do
this. but calling stuff from the sage library might be a neat thing to
try nevertheless.
h