[erlang-questions] Reia - Python/Ruby mix targeting Beam/HiPE

Hynek Vychodil <>
Thu Jun 5 14:14:58 CEST 2008


On Thu, Jun 5, 2008 at 1:12 PM, Gleb Peregud <> wrote:

> 2008/6/5 Hynek Vychodil <>:
> > I feel it bad. Breaking single assignment is not good idea. In mine
> opinion
> > it would be messy. References (aliasing) will work inside one process but
> > doesn't outside by message passing. Or is there plan to enable aliasing
> > between processes? Weird. There is not any word about it.
> >
> > On Wed, Jun 4, 2008 at 9:42 PM, Gleb Peregud <> wrote:
> >>
> >> I've stumbled upon this link few moments ago:
> >>
> >> http://reia-lang.org/
> >>
> >> And thought it will be interesing for fellow erlangers.
> >>
> >> > Reia (pronounced RAY-uh) is a Python/Ruby-like mixed-paradigm language
> >> > targeting the Erlang virtual machine (BEAM) and high-performance
> >> > native compiler (HiPE). Reia aims to expose all the features and
> >> > functionality
> >> > of Erlang in a language more familiar to programmers of scripting
> >> > languages, while improving string handling, regular expressions,
> >> > linking with external libraries, and other tasks which are generally
> >> > considered outside the scope of Erlang.
> >>
> >> --
> >> Gleb Peregud
> >> http://gleber.pl/
> >>
> >> Every minute is to be grasped.
> >> Time waits for nobody.
> >> -- Inscription on a Zen Gong
>
> According to http://wiki.reia-lang.org/wiki/Roadmap :
> The First Milestone: Compile to Erlang AST
> And I assume that Erlang AST does not permit mutable variables, hence
> it will probably not include mutable variables (unless hidden by Reia
> -> Erlang AST translator)
>

Yes, mutable variables can be easily introduced by some AST translation, but
big problems come from mutable structures. It is much more harder implement
this by erlang and I think things comes much more simple if there will not
be mutable variables nor mutable structures. Mutable variables without
mutable structures will be messy in mine opinion. Mutable variables without
aliasing will be as much confusing as immutable functional world for Reia's
target developers. IMHO learn immutable concept is easier than understand
why something can be mutable and something not. Without mutable structures
solution Reia looks for me not well designed from start idea.


> I'm not sure, but doesn't compiling to Core Erlang is better way of
> implementing new language for Beam/HiPE VM?
>



-- 
--Hynek (Pichi) Vychodil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080605/fe1063b1/attachment.html>


More information about the erlang-questions mailing list