TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Clojure for the Erlang VM

242 pointsby lshover 5 years ago

11 comments

tombertover 5 years ago
Clojerl is really cool, and you should play with it; it&#x27;s actually surprising how well the semantics transfer over to the Erlang VM.<p>If anyone wants something that feels a bit more vanilla-erlang-ish, one should also check out Lisp Flavoured Erlang. It is almost a direct one-to-one translation of Erlang into Lisp-land (actually made by one of Erlang&#x27;s co-creators), but also provides Common-Lisp-Style macros, and a much more consistent, cleaner syntax than vanilla Erlang.
评论 #21968405 未加载
评论 #21966069 未加载
reilly3000over 5 years ago
With the ability to reach Java, JavaScript, .Net, and Erlang runtimes, plus interop with many other languages via GraalVM, Clojure has incredible reach across runtimes, perhaps more than any other modern programming language, certainly among Lisps. That said, its pretty gnarly to try to navigate all of the implementation differences among platforms. I wonder if there is a subset of Clojure that is &#x27;safe&#x27; to run on any of its supported environments.<p>This list is pretty long: <a href="https:&#x2F;&#x2F;clojerl.github.io&#x2F;differences-with-clojure&#x2F;" rel="nofollow">https:&#x2F;&#x2F;clojerl.github.io&#x2F;differences-with-clojure&#x2F;</a><p>For now, the JVM is the only way to get the full Clojure experience.
评论 #21966466 未加载
评论 #21967606 未加载
评论 #21968088 未加载
macintuxover 5 years ago
There are at least 19 alternative languages for the BEAM[1]. If anyone knows of any I’ve missed, let me know.<p>[1]: <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;macintux&#x2F;6349828#alternative-languages-targeting-the-erlang-vm" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;macintux&#x2F;6349828#alternative-languag...</a>
评论 #21967080 未加载
whalesaladover 5 years ago
The site does a great job explaining what Clojure features exist in this port ... but what about Erlang features? There doesn&#x27;t appear to be a first-class adoption of things like supervisors and actors like you see in Elixir, for example. Or at least the docs don&#x27;t do a great job explaining it?
评论 #21966418 未加载
andreareinaover 5 years ago
Page is a frameset around <a href="https:&#x2F;&#x2F;clojerl.github.io" rel="nofollow">https:&#x2F;&#x2F;clojerl.github.io</a>, which breaks the mobile experience (fixed width, content too small). Going directly to the github.io copy scales the content correctly and provides https.
abjKT26nO8over 5 years ago
<p><pre><code> &lt;frameset rows=&#x27;100%, *&#x27; frameborder=no framespacing=0 border=0&gt; &lt;frame src=&quot;https:&#x2F;&#x2F;clojerl.github.io&#x2F;&quot; name=mainwindow frameborder=no framespacing=0 marginheight=0 marginwidth=0&gt;&lt;&#x2F;frame&gt; &lt;&#x2F;frameset&gt; </code></pre> What...? Why...? I just can&#x27;t...
评论 #21967881 未加载
Vizarddeskyover 5 years ago
I&#x27;m curious to see a detailed list of language constructs and features that are and aren&#x27;t supported.
koposover 5 years ago
Why Clojerl when LFE maps directly to the best of what BEAM offers - supervisor trees and pattern matching?
ishankhare07over 5 years ago
I don&#x27;t see how this brings anything new to the ecosystem. Clojure is a LISP and we already have lfe (<a href="http:&#x2F;&#x2F;lfe.io&#x2F;" rel="nofollow">http:&#x2F;&#x2F;lfe.io&#x2F;</a>) - LISP floured Erlang for quiet a while now, hence it will definitely be more mature than a new implementation altogether. Moreover I feel, seeing the the currently more effort should be made in maturing the classic clojure implementation and the tooling around it itself, rather than diverting the community into fancy new (not so useful) ports of the same syntax for other runtimes. Seriously, just go improve clojure itself. And if you want to be able to write lisp for BEAM, just use lfe.
评论 #21967750 未加载
评论 #21967685 未加载
评论 #21973355 未加载
评论 #21967687 未加载
zellyover 5 years ago
Now I want to see a port to the Low Level Virtual Machine
评论 #21968069 未加载
评论 #21966472 未加载
crimsonalucardover 5 years ago
Does anyone know if there are any languages with ADTs running on top of the erlang vm?
评论 #21966959 未加载
评论 #21966960 未加载
评论 #21970300 未加载