Skip to content

Show HN: Codec-beam – Generate Erlang VM byte code from Haskell

github.com/hkgumbs
53 pointshkgumbs3 comments
On HN

Comments

Cool!

Just curious, what's the use case? Are you trying to integrate Haskell and Elixir / Erlang? From my understanding GHC produces faster code than the speed at which BEAM can interpret code.

Thanks for taking interest! Honestly, my "use case" is just curiosity about language implementation. I'd been hearing quite a bit of excitement around BEAM, so I wanted to explore its viability as a standalone compilation target, without relying on the existing Erlang toolchain.

Just my two cents, but BEAM has some nice features when it comes to distributed systems. You can basically exchange messages with any other process, provided that you know where it runs. If you have the right permissions, you can even spawn actors remotely. And it works out of the box.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.