News for hackers. Stuff that matters.
Re:Languages on BEAM, the Erlang virtual machine by braveo on Saturday January 21, 2017 @04:04AM (#13449440)
This is the answer I was hoping I wouldn't get.

I understand that it runs on BEAM, much like I understand that IronPython runs on the CLR.

However, IronPython's performance is slower than C#'s performance due to the dynamic nature of the language, even with the special builtin support that MS built in.

What I was asking is whether or not Elixir's performance characteristics were significantly different from Erlangs.

Re:Languages on BEAM, the Erlang virtual machine by dalailambda on Saturday January 21, 2017 @05:07AM (#13449559)
The semantics of Erlang and Elixir are very similar, as they're both dynamically typed functional languages, so the performance difference should be negligible.
Re:Languages on BEAM, the Erlang virtual machine by rvirding on Tuesday January 24, 2017 @08:54AM (#13471263)
They are not only similar they are in fact the same. Elixir compiles down to Erlang and the Elixir libraries are built using Erlang and OTP "underneath". Also the the BEAM, the Erlang VM, is designed to run Erlang so it is difficult to make an efficient implementation of a language with different semantics on top of it. It is truly Erlang all the way down.
Re:Languages on BEAM, the Erlang virtual machine by braveo on Saturday January 21, 2017 @10:50AM (#13450546)
alright, thanks :)
Re:Languages on BEAM, the Erlang virtual machine by rvirding on Tuesday January 24, 2017 @08:55AM (#13471272)
No, they are the same, there is no basic difference at all.
Re:Languages on BEAM, the Erlang virtual machine by dozzie on Saturday January 21, 2017 @01:06PM (#13451229)
> I understand that it runs on BEAM, much like I understand that IronPython runs on the CLR.

Those are different cases. Your question is more like "what is faster: C or Fortran?" than "what is faster: C or Python?".

> However, IronPython's performance is slower than C#'s performance due to the dynamic nature of the language

No. It's slower because IronPython is an interpreter, while C# compiles to byte code, not because one is statically typed and the other is dynamically typed.

Re:Languages on BEAM, the Erlang virtual machine by braveo on Sunday January 22, 2017 @03:24PM (#13457200)
Re:Languages on BEAM, the Erlang virtual machine by dozzie on Sunday January 22, 2017 @05:46PM (#13458099)
And what does it have to do with the fact that Python is interpreted by IronPython, which obviously slows down code execution?
Re:Languages on BEAM, the Erlang virtual machine by braveo on Sunday January 22, 2017 @11:04PM (#13459676)
the DLR was specifically created to avoid that approach, IronPython, et al, haven't used such an approach since the DLR was released.

It dynamically generates IL which is then JIT'd.