That's an interesting thought.

Racket currently uses GNU Lightning as its JIT, correct? What if
it used LLVM instead?
http://en.wikipedia.org/wiki/LLVM#Description

Of course this is much more work than just getting racket to
build with Clang, but I wonder what the implications of a
successful port could be.

33 minutes ago, John Clements wrote:
> 
> On Sep 10, 2011, at 6:33 PM, Will M. Farr wrote:
> 
> > Thanks, Matthew!  It seems to build OK now.  
> > 
> 
> I missed the implication of this, the first time around.
> 
> If I'm reading this correctly, it means that clang can compile racket, which 
> is awfully close to being able to run Racket using an LLVM model such as 
> emscripten, and making it run in the browser.
> 
> In particular, I would expect the JIT to be totally broken, and that there 
> would be a lot of painful parts related to linking to standard libraries, but 
> the resulting program could actually do client-side compilation in a web 
> browser, right?
> 
> John

-- 
Take it easy,
    _mike
_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev

Reply via email to