Live data from Hacker News

Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8

anmonteiro.com

21–30 of 78 posts

Re: Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8

#22
post #2

Sometimes I think Clojure should have been developed on top of the ErlangVM instead of the JVM. I think that the ErlangVM solves a lot better the problems that Clojure is trying to solve. Also, seems like targeting the ErlangVM is an achievable feat, since Elixir in its version 1.3 has proven to be extremely solid. Crazy idea: if I wanted to implement Clojure on top of the ErlangVM, where should I start?

Crazy idea: if I wanted to implement Clojure on top of the ErlangVM, where should I start?

I would look at retargeting the ClojureScript code generator. Clojure implements a lot of primitives in Java, but ClojureScript is largely written in Clojure and ClojureScript itself so should be easier to port.

Re: Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8

#23

Earlier quoted context omitted.

Happy to consider it, but I'm unsure what the benefits would be? Probably something like Homebrew would be more suitable I believe.

With all due respect we are on Linux. No homebrew for us. Since you are already on the node platform..this makes sense for all of us.

Makes sense, I didn't specifically mean "just Homebrew", but I'm definitely open to uploading it to the NPM registry.

Re: Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8

#24

Earlier quoted context omitted.

Happy to consider it, but I'm unsure what the benefits would be? Probably something like Homebrew would be more suitable I believe.

With all due respect we are on Linux. No homebrew for us. Since you are already on the node platform..this makes sense for all of us.

Erm. No. I'd pay not to use npm at all.

Re: Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8

#25
post #2

Sometimes I think Clojure should have been developed on top of the ErlangVM instead of the JVM. I think that the ErlangVM solves a lot better the problems that Clojure is trying to solve. Also, seems like targeting the ErlangVM is an achievable feat, since Elixir in its version 1.3 has proven to be extremely solid. Crazy idea: if I wanted to implement Clojure on top of the ErlangVM, where should I start?

Crazy idea: if I wanted to implement Clojure on top of the ErlangVM, where should I start? I would look at retargeting the ClojureScript code generator. Clojure implements a lot of primitives in Java, but ClojureScript is largely written in Clojure and ClojureScript itself so should be easier to port.

It would be very interesting to have pointers here. I would have liked to do the same thing, but for Golang.

Re: Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8

#26
post #6
post #5

Earlier quoted context omitted.

Take a look at LFE [0] [0] http://lfe.io

If I remember correctly, LFE is a Lisp2 Joxa (just like Clojure) is a Lisp1, thus maybe more apt http://joxa.org

I'm curious, what are the practical differences? I know what the theoretical differences are, but do you have any experience with how lisp1 and lisp2 are different in daily use?

Re: Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8

#27
post #2

Sometimes I think Clojure should have been developed on top of the ErlangVM instead of the JVM. I think that the ErlangVM solves a lot better the problems that Clojure is trying to solve. Also, seems like targeting the ErlangVM is an achievable feat, since Elixir in its version 1.3 has proven to be extremely solid. Crazy idea: if I wanted to implement Clojure on top of the ErlangVM, where should I start?

Crazy idea: if I wanted to implement Clojure on top of the ErlangVM, where should I start? I would look at retargeting the ClojureScript code generator. Clojure implements a lot of primitives in Java, but ClojureScript is largely written in Clojure and ClojureScript itself so should be easier to port.

Suggestion: Have a look at Lisp Flavoured Erlang [1], a Lisp-2 on top of Erlang/OTP that might be 90% of what you want to achieve. :^) I am sure they are happy for new members of the community!

[1] http://lfe.io/

Re: Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8

#29

Earlier quoted context omitted.

Happy to consider it, but I'm unsure what the benefits would be? Probably something like Homebrew would be more suitable I believe.

With all due respect we are on Linux. No homebrew for us. Since you are already on the node platform..this makes sense for all of us.

Yes, there's homebrew for Linux -- linuxbrew (http://linuxbrew.sh/). I've found it extremely valuable because where I am, "normal" users aren't allowed root access but can compile things in their home directories. Linuxbrew, being a version of homebrew, makes this much easier than doing it manually.

Re: Lumo – A fast, standalone ClojureScript REPL that runs on Node.js and V8

#30
post #12
post #8

Earlier quoted context omitted.

One of the main objectives of Clojure was interoperability with Java because of the ecosystem. Java and Erlang ecosystems are not comparable. Also, JVM is great. :)

That's not true. One of the main objectives of Clojure was to be a hosted language. Not just 'language hosted on JVM'. So idea to make it work on top of Erlang VM is perfectly valid and consistent with original design assumptions.

> One of the main objectives of Clojure was to be a hosted language. Not just 'language hosted on JVM'.

Uhm... I always thought it was meant to be a Lisp for JVM. Where did you get your information from?

Post reply on HN