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

PragTob
Hello everyone, I know we had quite some threads (read through lots of them) about background job processing but it remains a hotly deba...
New
AstonJ
I’ve just started the Phoenix part of the utterly brilliant online course by @pragdave. On generating the Phoenix app he uses the --no-ec...
New
New
PragTob
Hey everyone, this has been on my mind for some time and I’d love your input on it! TLDR: I feel like maps are superioer for storing and...
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
klo
Got a question about when to concat vs. prepending items to list then reversing to achieve appending. So i know lists boil down to [1 | ...
New
100phlecs
Are there any downsides, like perf issues, to putting all functional components in CoreComponents as long as you prefix it with the conte...
New
pdgonzalez872
If this has been asked here before, please point me to where it was asked as I didn’t find it when I searched the forum. Maybe a mailing ...
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
paulanthonywilson
I like Umbrella projects and pretty much always use them for personal Elixir stuff, especially Nerves things. But I don’t think this is ...
New

Other popular topics Top

New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
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
vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New

We're in Beta

About us Mission Statement