Re:Stop Hiding the Sharp Knives: The WebAssembly Linux Inter...
by yuri91 on Thursday December 14, 2023 @12:52AM
(#38638249)
Could you elaborate on how you solved the issue? A link to the relevant code would be nice.
[ Parent
| on HN ]
Re:Stop Hiding the Sharp Knives: The WebAssembly Linux Inter...
by syrusakbary on Thursday December 14, 2023 @01:23AM
(#38638418)
Re:Stop Hiding the Sharp Knives: The WebAssembly Linux Inter...
by panic on Thursday December 14, 2023 @02:38AM
(#38638798)
The C function you linked calls _Fork, which calls __wasi_proc_fork, which calls __imported_wasix_32v1_proc_fork, which is the 'proc_fork' import in the 'wasix_32v1' module. The question is, what JavaScript function is provided for this proc_fork import when instantiating a WebAssembly module using WASIX? From what I understand about the WebAssembly JavaScript API, such a function is impossible to implement, which is why I'm curious how it was done here.