jononomo

jononomo

What other famous virtual/abstract machines are there other than the BEAM and the JVM?

In all my thinking about the Elixir ecosystem all I can do is keep comparing it to Java because in my mind the BEAM is analogous to the JVM (but takes an approach that suits my brain better). I’m wondering if there are other well known virtual machines that I can compare and contrast the BEAM with.

Thanks!

Most Liked

kip

kip

ex_cldr Core Team
yukster

yukster

Surprised no one has mentioned the one lurking in millions of pockets all over the world: the Android Runtime (ART): Android Runtime - Wikipedia.

I would love to see a cross-compiler to translate BEAM files into .dex but I’m sure there are lots of technical hurdles to that. But as an Elixir lover who has suffered through trying to get somewhere with building a mobile app using React Native, being able to write at least an Android app in Elixir would be awesome.

jononomo

jononomo

Another observation I have is that when I am thinking about the BEAM I find myself thinking about “programming a computer”. When I think about the JVM I think about “using an interface to program a computer”.

The BEAM feels like putting my whole arm up inside a puppet, whereas the JVM feels like trying to control a puppet via some strings attached to a stick.

I think that the reason the BEAM feels directly like a computer to me whereas the JVM feels like only an interface to a computer is that the BEAM allows me to reason about processes and threads of execution in a clearer and more powerful way.

There is also a sense in which I think of the BEAM as being “turned on”, sort of like a computer might be turned on or a car might be idling in the driveway. The environments for Python/Ruby/Perl never feel like this to me.

Where Next?

Popular in Discussions Top

hazardfn
I suppose this question is effectively hackney vs. ibrowse but we are at a point in our project where we have to make a choice between th...
New
kostonstyle
Hi all How can I compare haskell with elixir, included tools, webservices, ect. Thanks
New
blackode
Elixir Upgrading is so Simple in Ubuntu and It worked for me Ubuntu 16.04 git clone https://github.com/elixir-lang/elixir.git cd elixir...
New
Qqwy
I would like to spark a discussion about the static access operator: .. For whom does not know: it is used in Elixir to access fields of...
New
Crowdhailer
I’ve been hearing much about the new formatter and it’s something I have been keen to try. I find examples buy far the most illuminating...
248 19327 150
New
andre1sk
A big advantage to Elixir is all the distributed goodness but for many applications running on multiple nodes having integrated Etcd, Zoo...
New
New
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
lucaong
Hello Elixir and Nerves community, I have been working for a while on an open-source embedded key-value database for Elixir, that I call...
230 14027 124
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

Other popular topics Top

Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3271 127089 1222
New
JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
chrismccord
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
New
AstonJ
We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including. What is Phoenix LiveV...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? Ecto.Repo — Ecto v3.14.0 has exampl...
New
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New

Latest on Elixir Forum

We're in Beta

About us Mission Statement