eygraber
03/19/2024, 6:47 PMtheapache64
03/19/2024, 6:48 PMeygraber
03/19/2024, 6:49 PMagrosner
03/19/2024, 9:18 PMLoney Chou
03/22/2024, 8:22 AMeygraber
03/22/2024, 12:28 PMOleg Yukhnevich
03/22/2024, 12:39 PMjextract
(or other code-generator) - with it, the API looks more or less nice and strait-forward, I would say
FFM API is low-low-level API, and jextract
generated API is just low-level API
In future (I suppose) there will be better APIs for some stuff. AFAIK even now there talks there regarding mapping struct to `record`s. And a lot more sugar could be added - though, I believe it would be mostly on jextract
side (and it's expected)
Still, with Kotlin we could do better already, but it's a really hard task (cinterop
is not a good API either)