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

Sean Charles (emacstheviking) objitsu at gmail.com
Thu Aug 11 01:41:41 AEST 2022


Thanks Richard.

And...spooky! Last night I started going over chapter 7, "Writing Interpreters" of my copy of  The Craft Of Prolog!
I should buy a lottery ticket today then, it's obviously a fortuitious omen. 

Thanks again,
Sean.


> On 10 Aug 2022, at 16:22, Richard O'Keefe <raoknz at gmail.com> wrote:
> 
> 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 <mailto: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 <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 <mailto:users at lists.mercurylang.org>
> https://lists.mercurylang.org/listinfo/users <https://lists.mercurylang.org/listinfo/users>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20220810/bb22a886/attachment.html>


More information about the users mailing list