Limited ABI/WebAssembly compatibility target #7

Open
opened 2021-12-16 19:46:44 +00:00 by Nomagno · 0 comments
Owner

Some interfaces, such as the JavaScript hooks to the WebAssembly target of the Emscripten C compiler, GDNative, or many non-C language ABI implementations, may not support the kind of complex structs the Backend uses to store and manipulate relevant data. Interfaces should be defined to unpack or 'flatten out' all structs to essentially two data types: integers and strings. This moves the burden of data organization to the frontend, however it is the only reasonable approach in the aforementioned interface conditions.

Some interfaces, such as the JavaScript hooks to the WebAssembly target of the Emscripten C compiler, GDNative, or many non-C language ABI implementations, may not support the kind of complex structs the Backend uses to store and manipulate relevant data. Interfaces should be defined to unpack or 'flatten out' all structs to essentially two data types: integers and strings. This moves the burden of data organization to the frontend, however it is the only reasonable approach in the aforementioned interface conditions.
Nomagno added the
middle-end
feature
labels 2021-12-16 19:46:44 +00:00
Nomagno added this to the Middle-end board project 2021-12-16 19:46:44 +00:00
Nomagno added this to the Version 1 milestone 2022-01-02 23:03:16 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: Nomagno/Halfive#7
No description provided.