emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamic loading progress


From: Aurélien Aptel
Subject: Re: Dynamic loading progress
Date: Sat, 12 Sep 2015 21:38:44 +0200

Quick update:

I only have the error handling left to implement from the API. I'm not
sure on how to catch error/signal and return to the module code.

I've added a basic portable dynamic loader layer (directly calling the
native loading function) so it doesn't have to depend on libtool.

Some of the remaining stuff to do:

* configure/ifdef machinery to enable/disable the feature
* expose a way to store arbitrary pointers in an emacs_value, and
maybe implement finalizers.
* add doc strings support
* start thinking about how we want to package modules

The problem with finalizer is they can't be used as destructors since
the GC is not guaranteed to be called at the end of every
dynamic/lexical scope (or is it?). But maybe that's a non-problem as
long as it's documented.

The rest of the things to do (except for the packaging thing) should
be relatively easy since I've basically already done them in my first
attempt at dynamic modules.

I've also tried to build Emacs on a windows vm at work using Stephen
Leake how-to but it fails at the configure stage saying that the build
system is not supported (pc-i686-mingw-32 ...from memory). I have to
look more into it.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]