Arc Forumnew | comments | leaders | submitlogin
Interesting question
2 points by victor5133 2702 days ago | 2 comments
Hello. Can I compile arc code with gcc? And how? Thank you.

2 points by Mitranim 2697 days ago | link

The GCC only supports a handful of Algol-family languages, and not a single Lisp. Arc is currently an interpreted language running on top of MzScheme. It's two different realms entirely.


2 points by rocketnia 2697 days ago | link

"Arc is currently an interpreted language running on top of MzScheme."

Well, MzScheme has had a bytecode compiler and native code compiler for a long time. The earliest mention I can find right now is 2003:

Here's some up-to-date documentation (and note that MzScheme is now known as Racket):

(I can't find the native code compiler. Did they make it internal to the JIT?)

If you just use Racket like an "interpreted language," as Arc does, then it will still compile each expression before executing it:

Since Arc compiles each Arc expression to MzScheme before executing it, and since MzScheme compiles each of those expressions, Arc inherits this on-demand compilation behavior.