[m-users.] Seeking some feedback on FFI style...

Richard O'Keefe raoknz at gmail.com
Thu Aug 11 01:22:11 AEST 2022


I've taken a look at your example.
I think it's fine the way it is; you'd be better spending your time writing
another example than polishing this one.

On Sun, 7 Aug 2022 at 03:04, Sean Charles (emacstheviking) <
objitsu at gmail.com> wrote:

> Hi,
>
> In an ongoing effort to not forget things as I learn, I just added to my
> collection of mercury samples with this:
>
>
> https://github.com/emacstheviking/mercury-library-samples/blob/main/FFI/sample.m
>
> I just wondered if, by the final version, if the code could be shorter /
> cleaner / mopre elegant etc and also, more importantly, is there anything
> I've done wrong, not done as well as it could have been in terms of
> efficiency ?
>
> Very soon now I shall be returning to my long agao started SDL2 wrapper
> for a custom IDE I am now planning as part of my language transpiler and I
> need to be at least 'half-decent' at navigating the FFI system for that.
>
> Thanks again,
> Sean.
>
> _______________________________________________
> users mailing list
> users at lists.mercurylang.org
> https://lists.mercurylang.org/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20220811/7d178717/attachment.html>


More information about the users mailing list