[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Elisp containers
From: |
Eric Abrahamsen |
Subject: |
Re: Elisp containers |
Date: |
Fri, 07 Sep 2018 11:04:53 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> If someone feels like they have too much time on their hands, I think
> a great feature to develop would be Elisp containers.
>
> This would be like running Elisp in a separate process, except that it's
> not a separate process, so communication between two containers can be
> very efficient (e.g. you can send a buffer from one container to the
> other as efficiently as you can send an integer).
>
> Potential applications:
> - true concurrency
> - safely running arbitrary Elisp code (e.g. bug#32495)
> - discover what a package defines without actually defining those things
> (i.e. load the package into a container, then look at what got
> defined and throw away the container).
I'm curious: could this be used to implement namespaces, as well?