Hacker News new | past | comments | ask | show | jobs | submit login

I think shared memory is foundational to Clojure's approach to concurrency, and that is something the Erlang VM cannot provide. So some main fixtures of Clojure's standard library, like atoms, STM, agents, become either useless or nonsensical.

It's also not clear to me wether the Erlang VM provides what Clojure needs to efficiently implement its user-defined types, protocols, etc

That said, a Clojure-like dialect of lisp built on Erlang is a fine idea and, as others have said, I would probably start by seeing how the Lisp-Flavoured-Erlang (LFE) guys built their lisp.




Mnesia is sorta like STM in Erlang.


Actually no, it is completely different internally with different properties.


How about targeting Go instead?


Like via transpilation or what? LLVM would be a more natural choice if looking to compile to native.


Yes but it doesnt have a concurrent garbage collector.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: