[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: |
Wed, 11 Feb 2015 17:08:56 +0100 |
On Wed, Feb 11, 2015 at 4:35 PM, Stefan Monnier
<address@hidden> wrote:
> I think I got confused by the name: these objects don't represent
> modules, right (despite the name of their type)? They are objects
> created by a particular module (stored in the module-id).
Correct. I started with Lisp_Module_Object but thought it was redundant.
We could make /module/ module objects too. Let's call them Module
Descriptors to avoid any confusions. It could be a struct containing
functions pointers for printing, moving, copying, freeing a module
object, ... Module objects could then use a pointer to this struct as
a module id.
I don't have a lot of experience implementing programming languages,
especially features like this. I don't want to rush things and end up
with a complex C++-like system so feel free to comment if you think
this is overengineering it.
> The Lisp_Misc union is for objects with up to 5 "words" (or 6 "words" if
> you count the word that holds the header). Your objects have only
> 2 "words" (or 3 if you count the header where you added the "id"), so
> you're perfectly fine, with room to grow.
I'm not sure what "words" means here. Pointers are 64 bits wide on 64
bits systems, does this make a difference?
- Re: Dynamic loading progress, (continued)
- Re: Dynamic loading progress, Stephen J. Turnbull, 2015/02/15
- Re: Dynamic loading progress, Eli Zaretskii, 2015/02/15
- Re: Dynamic loading progress, Aurélien Aptel, 2015/02/11
- Re: Dynamic loading progress, Aurélien Aptel, 2015/02/11
- Re: Dynamic loading progress, Aurélien Aptel, 2015/02/11
- Re: Dynamic loading progress, Stefan Monnier, 2015/02/11
- Re: Dynamic loading progress,
Aurélien Aptel <=
- Re: Dynamic loading progress, Stefan Monnier, 2015/02/11
- Re: Dynamic loading progress, Paul Eggert, 2015/02/11
- Re: Dynamic loading progress, Ted Zlatanov, 2015/02/10
- Re: Dynamic loading progress, Aurélien Aptel, 2015/02/11
- Re: Dynamic loading progress, Ted Zlatanov, 2015/02/11
- Re: Dynamic loading progress, Aurélien Aptel, 2015/02/11
- Re: Dynamic loading progress, Ted Zlatanov, 2015/02/11
- Re: Dynamic loading progress, Aurélien Aptel, 2015/02/11
- Re: Dynamic loading progress, Stephen Leake, 2015/02/12
- Re: Dynamic loading progress, Stephen Leake, 2015/02/12