[squeak-dev] C++ parser in Smalltalk?

Igor Stasenko siguctua at gmail.com
Tue Jul 1 03:21:55 UTC 2008


2008/6/30 Peter William Lount <peter at smalltalk.org>:
> Hi,
>
>> If you able to compile things at run time, then why compiling C at all?
>> See Exupery & friends. - Igor
>
> Exupery seems very interesting.
>
> There is lots of C/C++ code out there in use in many projects.
>
> I can't always control what technologies clients use or which is of interest
> to reuse.
>
> Take a code base such as OpenBSD or FreeBSD or NetBSD which is almost
> entirely C/C++ based and evolve it to the next level.
>
> Moose seems interesting. Thanks for that link. Very interesting indeed.
>
> Speed is always fun - fast programs and fast cars that is.
>

Moreover, if you looking for speed, just take a look at Huemul Smalltalk :)
Its generates native code using Exupery, bypassing a bytecode at all.
Moreover, i made a compiler, which can be translate smalltalk code to
low-level native code, without even need of using external tools and
writing primitives in C.
Guess, how faster it could be compared to bytecode-driven VM , written
and compiled by C compiler.
In the end it would be possible to implement a self-sustained system
without need of writing a single line of code in C.

> Cheers,
>
> Peter
>
> [ | peter at smalltalk dot org ] value
>



-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list