[erlang-questions] If you could rename ports, what would you call them?

Masklinn masklinn@REDACTED
Fri Oct 8 13:40:25 CEST 2010


On 2010-10-08, at 13:16 , Joe Armstrong wrote:
> On Fri, Oct 8, 2010 at 12:18 PM, Kresten Krab Thorup <krab@REDACTED> wrote:
>> Further to this discussion, I would love to see a way that would allow writing a "port driver" in erlang.  It would be a case to consider to make the resulting abstractions be more orthogonal to one another.
>> 
> 
> Indeed - in fact the Erlang scheduler and GC should be written in Erlang
> - this would have to be a strictly controlled sub-set of Erlang that created no
> garbage and had access to memory and registers - something that could
> be cross compiled to C (do pretty much like they did in smalltalk many
> years ago :-)
> 
> /Joe
> 
This is also what PyPy tries to do for Python (they have rpython[0], a restricted and statically typed subset of Python)


[0] http://codespeak.net/pypy/dist/pypy/doc/coding-guide.html#restricted-python


More information about the erlang-questions mailing list