Live data from Hacker News

Clojerl – Clojure for the Erlang VM

github.com

21–30 of 105 posts

Re: Clojerl – Clojure for the Erlang VM

#21
post #7

Earlier quoted context omitted.

If you want a Lisp (although there are multiple Lisps for the BEAM). If you want to help build a new language. If you don’t like Elixir’s syntax (raises hand).

Just curious--what don't you like about Elixir's syntax?

It's been a while since I looked at Elixir but the different syntax for invoking named functions vs lambdas really left a bad taste in my mouth...

Also I remember trying to do something with the pipe operator that I couldn't get working due to the syntax of the language but which would've been trivial in Clojure using one of the threading macros.

Re: Clojerl – Clojure for the Erlang VM

#22

Earlier quoted context omitted.

I don't particularly care for the ambiguity that stems from facets of it being optional, nor the way function match arms are defined, nor the :atom or lowercase variable naming syntax. The mixing of do and -> kinda bugs me as well. :shrug: Though my opinion on the matter is deeply colored and probably unreliable because I'm one of those weirdos that thinks that Erlang syntax is actually quite nice for the most part.…

I’m also one of those weirdos. I’m a big fan of Erlang syntax: very concise, mostly trivial to read (although list comprehensions can get hairy).

Same here. I’ll take Erlang’s conciseness and readability over Elixir’s prolixity any day.

Re: Clojerl – Clojure for the Erlang VM

#23

Any initiative like this (language on top of the Erlang VM) with static typing out-of-the-box? I really want to love Elixir but dynamic typing is a NO for me.

At least a couple:

* https://github.com/alpaca-lang/alpaca

* https://github.com/wende/elchemy

Re: Clojerl – Clojure for the Erlang VM

#24
post #13
post #8

Earlier quoted context omitted.

I can think of a few reasons: same language between front and backend, extensive standard library, repl driven development, simplicity, brevity, spec.

With Phoenix + LiveView maybe you won't need the frontend.

It’s a great project, but I doubt it’ll ever reach the maturity and functionality of Reagent, Om, Rum. Fulcro, Datascript, re-frame and Hoplon.

Re: Clojerl – Clojure for the Erlang VM

#26
Interesting! I posted Erjang (JVM based Erlang VM)[0] a few days ago, I guess I missed this one. I have a fascination with both Erlang and Lisp. I love Erlang because it is definitely a back-end language. I also love it's resiliency. I like how expressive Lisp languages can be. So maybe we'll just run Clojerl on top of Erjang, which is on the JVM, and Clojerl is based on a JVM language, talk about an onion.

[0]: https://news.ycombinator.com/item?id=20174830

Re: Clojerl – Clojure for the Erlang VM

#27

Any initiative like this (language on top of the Erlang VM) with static typing out-of-the-box? I really want to love Elixir but dynamic typing is a NO for me.

There's Purerl for PureScript that compiles to Erlang. There's a maintained package set for Spago for the Purerl community.

Re: Clojerl – Clojure for the Erlang VM

#29

Interesting! I posted Erjang (JVM based Erlang VM)[0] a few days ago, I guess I missed this one. I have a fascination with both Erlang and Lisp. I love Erlang because it is definitely a back-end language. I also love it's resiliency. I like how expressive Lisp languages can be. So maybe we'll just run Clojerl on top of Erjang, which is on the JVM, and Clojerl is based on a JVM language, talk about an onion. [0]: http…

Putting an Erlang-like language on the JVM would really lose all the advantages of Erlang, wouldn't it. The syntax, while very useful, isn't the real strength of the language. It's the BEAM.

Re: Clojerl – Clojure for the Erlang VM

#30

Any initiative like this (language on top of the Erlang VM) with static typing out-of-the-box? I really want to love Elixir but dynamic typing is a NO for me.

Just use Erlang with Dialyzer. It's not quite as nice as a lanugage with types built-in, but if you're strict about using it, it does work. I won't code without it.
Post reply on HN