Limited ABI/WebAssembly compatibility target #7
Labels
No Label
backend
bug
dismissed
feature
frontend
meta-discussion
middle-end
refactor
spec-discussion
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Reference: Nomagno/Halfive#7
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.