Morphic graphics, Displaying fonts & canvases

tim Rowledge tim at rowledge.org
Fri Apr 20 22:40:41 UTC 2007


On 20-Apr-07, at 1:15 PM, sig wrote:

>>
> Wow.. a ton of work being done. I didn't forgot, i just didn't knew ;)

No special reason you should know about everything that is going on.


> In a RomePlugin i see that most primitives doing all hard work on VM
> level, where all plugins do.
> I dont think that this is the way of doing things.
>
Using FFI is fine, especially while you're experimenting. Once you  
know what you want to do it can be very advantageous to use a plugin  
because it is significantly faster at talking to the external code.  
It can also be a convenient way to hide platform differences; take a  
look at the platform specific code for the Ffenestri stuff for RISC  
OS and OSX for an example. Most plugins are really simple to write  
and building them is rarely problematic.

Do whatever works for you; solving your problem is the important  
thing. Extending Ffenestri to give you the window handle ought to be  
trivial and would save you redoing a bunch of stuff.

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Useful random insult:- She's a screensaver:  Looks good, but useless.





More information about the Squeak-dev mailing list