[Vm-dev] discuss: [Squeak 0001144]: [ENH] SmartSyntaxInterpreterPlugin

David T. Lewis lewis at mail.msen.com
Sat Aug 19 22:16:11 UTC 2006


On Sat, Aug 19, 2006 at 09:17:11PM +0200, Martin Kuball wrote:
> 
> When evaluating my sugested changes, Andreas made the following 
> comment:
> >
> > There are no good reasons that I can think of to suddenly start
> > using C pointers in plugins (lazyness on behalf of the plugin writer
> > does not count) and there are many good reasons against it.
> 
> Unfortunately I do not realy understand his arguments. From the code 
> of the plugins that come with VMMaker I can see that there are 
> plugins that use c-pointers and do pass them to smalltalk. E.g. the 
> Mpeg3 Plugin does it and the OsProecess plugin is another example. 

I don't remember having done this in OSProcessPlugin. I did lots of
other horrible things, but I did not pass any C pointers to or from
primitives.  Signal handlers, aio event handlers and the like require
function pointers, but there is no need pass these pointers to or from
the image.

Dave



More information about the Vm-dev mailing list