[Cuis-dev] pluginApiVersion
Juan Vuletich
juan at jvuletich.org
Fri May 21 12:38:36 PDT 2021
On 5/21/2021 1:35 PM, stes--- via Cuis-dev wrote:
> Hi,
>
> I've regenerated the VectorEnginePlugin on Solaris and OpenIndiana.
>
> This seems to work for the opensmalltalk VM(s) and the classical context interpreter v3 image VM.
>
> On a 4-core Intel(R) Xeon(R) CPU desktop Cuis SVG on image 4607 feels fast (scale/rotate etc.).
>
> Very nice. I also like the design of this plugin that SVG basically can work without plugin,
> the plugin just improves performance.
>
> That seems an important design feature, as the plugin is portable and does not rely on any external libraries.
Thanks for the feedback! Maybe I'd install an OpenIndiana VM in my PC!
> Two remarks:
>
> 1) for some reason I don't have any #include problem when compiling
>
> this is the GNU configure config.h problem which does not seem to apply to me
>
> so for me no change to VMMaker was required, I simply ran:
>
> ChangeSet installNewUpdates.
> Feature require: 'VMMaker'.
> Feature require: 'VectorEnginePlugin'
> VectorEnginePlugin translateInDirectory: DirectoryEntry currentDirectory doInlining: true
>
> the generated code with #include "sqConfig.h" after #include<stdio.h> compiles for me
>
> 2) when using my old plugin from April 17
>
> $ squeak -nojit tiger-v3.image
> ioFindExternalFunctionIn(pluginApiVersion, f7649d28):
> ld.so.1: squeakvm: pluginApiVersion: can't find symbol
>
>
> Note that with the new plugin, I don't have that warning or error.
>
> However it raises the issue of versioning of the VectorEngine plugin.
>
> Regards,
> David Stes
Yes. In this last batch of updates, I needed to break compatibility. So,
to avoid a lot of trouble to users in the future, I added a new
#pluginApiVersion primitive. Now, not only the existence of the plugin
is checked, but also that it provides a compatible API with the
Smalltalk code.
Cheers,
--
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich
More information about the Cuis-dev
mailing list