Any recent blog/article suggestions concerning WAS...
# webassembly
d
Any recent blog/article suggestions concerning WASM but not for web ? how to emit raw WASM output, caveats, then how to FFI/interop, then discussing interfacing import/exports with the many options for API connection (WASI, etc...)
a
Not a blog and not explicitly Kotlin, but I found the videos from WASM I/O quite useful for learning: https://www.youtube.com/playlist?list=PLP3xGl7Eb-4NtSX-wzOxUCjPsBcw2zrPA
d
Thanks for the reply on this, think I have over 20h of talks from this one already watched before I ask my question in here. The angle I am after is of Kotlin+Java.class+WASM without assuming the JVM is the runtime (so alternative to GraalVM) but with a mechanism to provide WASI/JNI/custom-WASM imports so operating system interface I can provide from C/C++ to WASM exports. Ultimately to be all linked into a bunch of EXE/DSO to allow self contained deployment (GraalVM alternative).
At the moment I have: Kotlin+Java.class+JNI built using GraalVM into one deployable EXE, so it is the alternatives to this I seek, especially if: • Some application don't need much of the JRE/JDK (at the moment I see a 18Mb mandatory overhead for HelloWorld via JNI with GraalVM, but potential is already known to reduce to 1/3 of this based on known matters being worked on there). • Maybe some applications only need access to a subset of system calls / libc / libstdc++ • Non UI environment / command line tooling applications • Want potential (in future) for process to host WASM plugins with their own interfaces, so looking for future potential inter-op from this side as well. Thanks