Live data from Hacker News

Efene - a programming language with C-like syntax that runs on the erlang vm

github.com

11–18 of 18 posts

Re: Efene - a programming language with C-like syntax that runs on the erlang vm

#11
post #5

There seems to be more than one group trying to associate a language with nicer syntax with Erlang's virtual machine. Another attempt is Reia, a language more inspired by Ruby and Python: http://wiki.reia-lang.org/wiki/Reia_Programming_Language

Reia is pretty interesting because he does some interesting stuff like make objects out of Erlang processes.

Re: Efene - a programming language with C-like syntax that runs on the erlang vm

#12
post #5

There seems to be more than one group trying to associate a language with nicer syntax with Erlang's virtual machine. Another attempt is Reia, a language more inspired by Ruby and Python: http://wiki.reia-lang.org/wiki/Reia_Programming_Language

Also, Lisp-Flavored Erlang:

http://metajack.im/2009/01/09/lisp-flavored-erlang/

Re: Efene - a programming language with C-like syntax that runs on the erlang vm

#13
post #10
post #2

That's an interesting development. I'm pretty sure that the syntax of Erlang is one of its main stumbling blocks, it is very far off the beaten path (and imo ugly), which means an immediate shortage of people that can program in it. Grafting a C like language on top of the Erlang VM should theoretically give you the same kind of stability and scalability without the drawback of having to fish in a pool with all of 5…

While I don't particularly like Erlang syntax either, what I find with learning new languages is: the syntax bothers you the most at first because 1) you don't know anything about the language. 2) It's the most obvious and easy thing to pick on first. After you get into it, I've found that syntax is usually the least of my grievances in a new language. It usually has to do with features missing from other languages.…

Indeed. Ugly syntax is such an obvious thing to complain about, but ugly semantics and ugly design are a bigger problem in the long run. (I really like Erlang's programming model, but find the syntax a bit scruffy.)

Erlang's syntax seems a lot less weird if you're familiar with Prolog, FWIW. It was a originally a DSL built on top of SICSTus Prolog, but seems to have accumulated some extra syntax along the way. Same with a lot of its other quirks.

Re: Efene - a programming language with C-like syntax that runs on the erlang vm

#14
post #3
post #2

That's an interesting development. I'm pretty sure that the syntax of Erlang is one of its main stumbling blocks, it is very far off the beaten path (and imo ugly), which means an immediate shortage of people that can program in it. Grafting a C like language on top of the Erlang VM should theoretically give you the same kind of stability and scalability without the drawback of having to fish in a pool with all of 5…

There's a lot more to erlang than a funky syntax. I don't think making it superficial look like something else will increase the number of people how can program it

I think the idea is not to increase the number of people who can, but to increase the number who want to.

Re: Efene - a programming language with C-like syntax that runs on the erlang vm

#15

Hi, I'm the creator of the project, as some comments say, the idea is to make it easier for people that find the erlang syntax confusing to be able to start coding with the fundamental concepts that erlang provides and by doing it making more likely to jump to erlang (or keep coding in efene if they want :). the code can be compiled to bytecode or translated to erlang to see how the code would look like, so it can be…

What reference would you recommend for a compiler developer targeting the Erlang VM?

Re: Efene - a programming language with C-like syntax that runs on the erlang vm

#16

Hi, I'm the creator of the project, as some comments say, the idea is to make it easier for people that find the erlang syntax confusing to be able to start coding with the fundamental concepts that erlang provides and by doing it making more likely to jump to erlang (or keep coding in efene if they want :). the code can be compiled to bytecode or translated to erlang to see how the code would look like, so it can be…

What reference would you recommend for a compiler developer targeting the Erlang VM?

I've read from various mailing lists that the technical specifications of the Erlang VM are kept internal at Ericsson as well as "in the minds" of the language's developers.

Personally, I'd love to get a hold of some documents that clearly describe the finer details of BEAM.

Re: Efene - a programming language with C-like syntax that runs on the erlang vm

#17
While I welcome all Erlang-spreading efforts, I quite like the Erlang syntax.

It initially looked more ridiculous than managed C++, but after about seven months of daily Erlang programming it's the most natural thing ever.

The problem with C-style syntax is that it encourages the diversity of coding conventions. Python makes everyone's code look about the same because of its ingenious whitespace-handling rules. Erlang's syntax appears to achieve a similar result because of its ... weirdness.

Re: Efene - a programming language with C-like syntax that runs on the erlang vm

#18
post #10

Earlier quoted context omitted.

While I don't particularly like Erlang syntax either, what I find with learning new languages is: the syntax bothers you the most at first because 1) you don't know anything about the language. 2) It's the most obvious and easy thing to pick on first. After you get into it, I've found that syntax is usually the least of my grievances in a new language. It usually has to do with features missing from other languages.…

Indeed. Ugly syntax is such an obvious thing to complain about, but ugly semantics and ugly design are a bigger problem in the long run. (I really like Erlang's programming model, but find the syntax a bit scruffy.) Erlang's syntax seems a lot less weird if you're familiar with Prolog, FWIW. It was a originally a DSL built on top of SICSTus Prolog, but seems to have accumulated some extra syntax along the way. Same w…

Yes, Erlang's syntax is something you can still complain about a little bit even after having gotten comfortable with it. It's just not one of the language's strong points in my opinion. Of course, for a competent programmer, it's nothing more than a minor annoyance and is no reason not to use Erlang for projects where it would be a good fit.
Post reply on HN