While we're on the subject of other approaches - adapting the ClojureScript
compiler for LLVM and clojure-scheme are two other valid paths towards
native compilation.

David

On Wed, Mar 21, 2012 at 1:08 PM, Timothy Baldridge <tbaldri...@gmail.com>wrote:

> > I had just read the
> > native compiler proposal and wanted to point out that
> > cola(pepi/id/fonc/maru) gives you a lot of infrastructure for a native
> > compiler for a dynamic language. Compiler construction is hard enough as
> it
> > is.
>
> I'd just like to jump in here and mention that you might want to look
> at PyPy's toolchain. PyPy has the ability to generate a
> JIT/interpreter any arbitrary interpreter. And for-free you get FFI, a
> JIT, a GC, etc. Since this is basically meta-programming, you can swap
> out different GCs, backends (ARM, x86, x86-64, etc) all without ever
> changing your sourcecode.
>
> You'd end up writing stuff in RPython, but the resulting binaries are
> going to way out-perform anything maru can produce. As a bonus (begin
> shameless plug) it's possible to write RPython code in clojure via
> clojure-py.
>
> An excellent overview of RPython is available here:
>
>
> http://tratt.net/laurie/tech_articles/articles/fast_enough_vms_in_fast_enough_time
>
> http://blip.tv/pycon-us-videos-2009-2010-2011/pycon-2010-the-speed-of-pypy-83-3279075
>
> Timothy
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to