[squeak-dev] TR: High language to express low level code

pierre misse pierre_misse25 at msn.com
Tue Apr 9 12:35:56 UTC 2019


Alright, I understand what you mean.
Thank you for the precision Dave !
________________________________
De : Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> de la part de David T. Lewis <lewis at mail.msen.com>
Envoyé : mardi 9 avril 2019 14:28
À : The general-purpose Squeak developers list
Objet : Re: [squeak-dev] TR: High language to express low level code

On Mon, Apr 08, 2019 at 04:16:47PM +0000, pierre misse wrote:
> Thank you guys for your answers !
>
> @Dave Thank you for the precisions.
>  I actually had read this article, and
>  -Extending the Squeak Virtual Machine by Andrew C. GreenBerg
>  -Two decade of Smalltalk VM Development by Eliot Miranda , Clement Bera, Elisa Gonzalez Boix, and Dan Ingallls.
>  But i didn't find much more on how it works. I was looking at it mostly from the transpilation point of vue. I'll have to take a closer look at TMethod/TparseNode/CCodeGenerator !
>
> "The Smalltalk to C (or Javascript) capability is not intended to be a general purpose languange. The general purpose language in this case is of course Smalltalk itself, and the slang translator serves as an optimizer to translate the virtual machine (which is written primarily in Smalltalk) into C to produce a high performance runtime."
> Did you mean "which is written primarily in SLANG"? For now I'm taking it as "the slang translator translate Smalltalk code" which feels weird to me.
>

No, I mean Smalltalk. It is Smalltalk being translated to C or JavaScript.
There really is no such language as Slang, it is just a "slang" reference
to the subset of your Smalltalk image that can be successfully translated.

Dave


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190409/9bf1530f/attachment.html>


More information about the Squeak-dev mailing list