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

Kostis Sagonas kostis@REDACTED
Fri Oct 8 13:46:15 CEST 2010


Masklinn wrote:
> 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

Right.  And, out of curiosity, who is using that for anything serious?

Kostis


More information about the erlang-questions mailing list