http://www.lambdassociates.org/blog/klambda.htm suggests a possible
bootstrapping mechanism, some kind of reduced set of clojure
functionality "ur-clojure" that is designed to be easy to write and
interpreter for, and a compiler backend that generates ur-clojure,
after compiling the compiler+platform backend to ur-clojure you write
an ur-clojure interpreter on the platform in question, feed the
compiler+backend through the interpreted compiler+backend to compile
it for the platform you are bootstrapping, and then you are
bootstrapped.

You could do something similar, but maybe simpler, by taking the maps
output from the analysis phase of the compiler run over the compiler
and serliazing them as json (so they are easily readable on different
platforms) effectively substituting the maps output from the analysis
phase for ur-clojure.

On Mon, May 14, 2012 at 11:36 AM, David Nolen <dnolen.li...@gmail.com> wrote:
> On Mon, May 14, 2012 at 2:32 PM, Armando Blancas <abm221...@gmail.com>
> wrote:
>>>
>>> Much of the more recent code in Clojure is very cross platform. Stuff
>>> like reducers can simply be copied over, fixed up a bit, and it runs.
>>>
>> I wonder how is the fork/join part carrier over for reducers.
>
>
> Sounds straightforward for any language that provides task level parallelism
> natively or via a library.
>
> David
>
> --
> 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



-- 
And what is good, Phaedrus,
And what is not good—
Need we ask anyone to tell us these things?

-- 
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