Erik Lechak wrote:

> I am also trying to document the various structs and their interactions. 
> Can anyone out there give a brief description of following:

>   Arena
>   Memory_Pool
>   Buffer
>   Memory_Block
>   Small_Object_Pool
>   Small_Object_Arena


I did announce to write a document on the memory management internals 
not too long ago. So await somd pod ;-) in the near future.


> Is there a document out there that describes the genclass.pl script, 
> Vtable.pm and how pmc files become C files?  If I wanted to write a 
> section on creating a new pmc, what is the simplest one to show?  


$ perldoc docs/vtable.pod

> Is 
> there the equivalent to a hello world pmc?  The only documentation in 
> Vtable.pm says 'No user-serviceable parts inside'.  This is funny, but 
> it didn't help me figure out what is going on.


Actually "hello world" is not the intent, what a class can do. Classes 
implement the behaviuor of e.g PerlIntegers or -hashes.

Your mentioned Vtable.pm is just "use"d by genclass.pl to do some file 
parsing, that's all, it's a utility class.


> Thanks,
> Erik


leo



Reply via email to