[squeak-dev] FFI | How to declare pointer to external structure in #fields?

Marcel Taeumel marcel.taeumel at hpi.de
Tue May 19 06:14:50 UTC 2020


> How does UFFI come here?

I just wanted to backtrack those struct pointers lead to the accessor in Pharo. But it gave me no easy clue that I could apply to plain FFI in Squeak. :-)

> I started to write a documentation of FFI implementation two or three months ago ...

Yeah! I will have a look at it. GitHub Markdown + embedded graphics also hosted on GitHub could work. And support pull requests. :-) Maybe put it into the osvm repository.

Best,
Marcel
Am 18.05.2020 23:47:38 schrieb Vanessa Freudenberg <vanessa at codefrau.net>:
On Mon, May 18, 2020 at 12:56 PM Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com [mailto:nicolas.cellier.aka.nice at gmail.com]> wrote:

Hi all,
I started to write a documentation of FFI implementation two or three months ago, I don't remember exactly, it's an eternity. The lock down did not give me an opportunity to continue. I want to publish with some liberal CC license, but I don't have chosen a support format yet. On one side, I wanted to focus on contents more than on the format. But on the other side, I want some graphical illustrations accurate enough. I wrote in Word because it was easy for me to include tables and graphics, but it's kinda stupid, especially because Word make you focus on format more than contents ! LaTeX is not general enough, it would rather be a backend nowadays. I contemplated using pandoc which has good support, or the much more limited Pilar, which at least is Smalltalk based...
The structure is not well established and the work is very preliminary, but since there is some demand, I give a pdf copy here as is, I hope it's not too big for the list. This probably should better be continued as a collaborative work anyway.

Awesome!

- Vanessa - 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200519/811be69d/attachment.html>


More information about the Squeak-dev mailing list