Live data from Hacker News

Clojure-scheme: Compiling Clojure to Native Code via Scheme [video]

infoq.com

1–10 of 26 posts

Re: Clojure-scheme: Compiling Clojure to Native Code via Scheme [video]

#4
post #3

I'm interested in this, but why not just write natively in Scheme? I really like Clojure, but if you don't need the Java interop, Scheme seems just as nice.

If one already knows Clojure, the value is obvious: you don't need to learn a new language.

It's also of course debatable that scheme is "just as nice", so you can imagine there are people who, other things being equal, prefer Clojure.

Re: Clojure-scheme: Compiling Clojure to Native Code via Scheme [video]

#5
post #3

I'm interested in this, but why not just write natively in Scheme? I really like Clojure, but if you don't need the Java interop, Scheme seems just as nice.

Clojure has a much stronger polymorphism story than Scheme. This makes sense as Clojure was designed to live in an OO host language. Practically this could mean, say, much cleaner Objective-C interop.

Re: Clojure-scheme: Compiling Clojure to Native Code via Scheme [video]

#6
post #3

I'm interested in this, but why not just write natively in Scheme? I really like Clojure, but if you don't need the Java interop, Scheme seems just as nice.

Scheme is great, but I think there are several key features that clojure has that scheme doesn't provide by default, including (but not limited to):

- Persistent Hash-Trie based Data Structures

- Beautiful asynchronous constructs

- Multimethods

- Protocols

Obviously I in no way intend to discredit scheme, nor start a lisp flamewar :) /sidenote I love this article comparing a game written in 4 lisp dialects (http://technomancy.us/169)

Re: Clojure-scheme: Compiling Clojure to Native Code via Scheme [video]

#7
I love it when several incredible technologies come together to allow things you wouldn't think possible. Take this thing over there, stir in some of that, and boom, you've got a working project that is crazy full of potential. Great work Nathan.

Really, when I think about it, it's why I love the world of programming.

Re: Clojure-scheme: Compiling Clojure to Native Code via Scheme [video]

#8
post #3

I'm interested in this, but why not just write natively in Scheme? I really like Clojure, but if you don't need the Java interop, Scheme seems just as nice.

If one already knows Clojure, the value is obvious: you don't need to learn a new language. It's also of course debatable that scheme is "just as nice", so you can imagine there are people who, other things being equal, prefer Clojure.

Certainly. As I said, I like Clojure, but I'd be happy to be able to program in Scheme as well. I guess the history of LISP should have told me that not all people who like one LISP necessarily don't mind using another.

Re: Clojure-scheme: Compiling Clojure to Native Code via Scheme [video]

#10
post #3

I'm interested in this, but why not just write natively in Scheme? I really like Clojure, but if you don't need the Java interop, Scheme seems just as nice.

For one thing, one might get interoperability with clojure libraries (at least those that aren't just wrappers around java libraries). For another thing, clojure has some nice language features and I'm all for supporting multiple lispy dialects on top of various compiler/runtime environments. My personal wish is to have clojure running on SBCL with trivial interoperability between common lisp and clojure code.
Post reply on HN