Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've been JVM languages sharing libraries, but is the WASM ABI going to be rich enough to support that?

We (sadly) rarely see languages that target binary (whether x86 or ARM or just LLVM) sharing libraries. Partly it's because the .so and .dll interfaces only support the C ABI, and the absence of a rich well-defined OOP abstraction.

But, yea, I'm not totally sure if a low level WASM ABI would lead to a rich ecosystem of multi-language libraries, unless the WASM ABI is at a high enough level that it defines higher-order functions, classes, etc.



WASM has a low level ABI, but that's the thing WASM components are trying to rectify. Components is a proposed spec that builds on top of WASM.

Imagine a .so library with a native concept of high level objects that can be understood and passed between libraries written in different languages.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: