Hacker News new | ask | show | jobs
by 6gvONxR4sf7o 879 days ago
I really want polyglot programming to become easier. What are the barriers remaining for wasm/wasi to provide a foundation for a truly polyglot FFI? It seems like it was the promise from the beginning, but I lost track a long time ago.
4 comments

Now that there's a canonical ABI as specified by component-model, it seems like the good work can start.

As recommended elsewhere in the comments, there's a pretty damned fine talk my Luke Wagner that covers wasm components & the promise. He talks about cross-platform was 18m35s in: https://youtu.be/tAACYA1Mwv4#t=18m35s

I’m by no means an expert here, but it seems with WASI preview 2, component model, and GC all converging around the same time, things are looking more optimistic than ever
Fermyon is practicing it. Initial stages, awaiting finalization of the standards, but it works.
Extism is a polyglot plugin framework that has support for a lot of languages. It supports passing strings back and forth but that’s it for now IIUC. I’ve started incorporating it into a project of mine and really like it.