[squeak-dev] Re: Need your help filling a FAQ

Igor Stasenko siguctua at gmail.com
Sun Apr 25 17:57:36 UTC 2010


On 25 April 2010 17:18, Chris Cunnington <smalltalktelevision at gmail.com> wrote:
> <stevejobs>
> What does this do that I didn't know I wanted to do?

You can use it for pretty much anything, where you need to access your
host CPU directly,
without intermediate layers (OS, VM, compilers etc)

> What problem does this solve? I already have OSProcess to talk to the
> operating system.

OSProcess gives you only a small bit of functionality provided by host
platform - execution and interfacing
with other processes. With NativeBoost you can have any of it :)

> How can I use this for a project I'm already working on?

It can be used for binding with existing libraries (like OpenGL),
or implementing own primitives, without a need to do it in C language
and without a need to compile it and ship
separate binaries with your project.

> Does this mean I can execute code in a language the underlying OS
> understands? And then I get the results in a Smalltalk useable form?

If by assembler, you mean 'a language that underlying OS understands'
, then yes :)
There is an interface for marchalling data between C world and
Smalltalk objects and making a foreign calls.

> </stevejobs>
> Chris
>


-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list