An Erlang written in Ada?

ada, erlang

Solution

Normally I'd throw a bunch of weasel-words at you on a topic like this, but it turns out this exact question has been studied (it's a .doc file. Sorry).

Rational had a compiler with a large amount of code in both languages, and a large amount of data compiled over several years on bug rates, fix times, etc. Out of curiosity, one of their engineers crunched the numbers.

The answer was "Development Costs of C Exceed Those of Ada". If you read past the summary title, you'd see that they figured writing the same code in Ada cost them about half what writing it in C cost.

I know that everyone reading this is anxious to poke holes in that conclusion. I was too. But they looked at darn near every angle I could think of in the report.

Problem

Another thread had this quote - Erlang VM BEAM and HiPE is written mostly in C. - Linked-in drivers are written mostly in C. (They are plugged to VM and serves communication with outside world.) I've read some opinions that Ada's strong typing, modularity, run-time checking, parallel processing etc. etc. are better than that of C. Would Erlang compiled using Ada be noticably better or worse than the Erlang made with C? Just a hypothetical Q.

Original source

Related problems