[Cuis-dev] VectorEngine performance. Re: Please pull all repos! Re: StrikeFont cleanup

Philip Bernhart philip.bernhart at posteo.de
Sat Jun 20 02:29:15 PDT 2020


Hi Juan,

Juan Vuletich via Cuis-dev <cuis-dev at lists.cuis.st> writes:

> On 6/16/2020 3:42 PM, Philip Bernhart via Cuis-dev wrote:
>> So I supposed that would be ideally written in some kind of
>> Slang dialect. I'm sadly still not there yet where you would need the
>> Cuis Slang stuff to be. The current state is to generate a basic header,
>> the rough module representation and have some UI integration. What
>> you would need better support for newer interpreter proxy versions
>> and also representing them in the VM.
>
> I'm not sure. I think that plain c is also ok. It is pretty simple code.
>
>> How would SIMD written in Slang look like? Maybe even going the
>> way of re-implementing Nile?
>
> Maybe, but building a many kLOC tool just to automatically generate 
> maybe a hundred LOC of c is not something I lose my sleep for, either. 
> We'll see.

Sure, directly in C would also be a candidate. The thing what comes to
my mind is the plugin header for the VM. Currently I can generate one
and put into a header file for inclusion by a C plugin.

The class for that is in the OSVMPluginMaker package and is called OSVMPluginHeaderBuilder:
https://github.com/Phantasus/Cuis-Smalltalk-Slang/blob/master/OSVMPluginMaker.pck.st

It's still a little bit too tightly coupled with Slang-C, if you
have simplification suggesstions I'm open for that.


Thanks,
Philip


More information about the Cuis-dev mailing list