3 ms·
Sure, but if someone came at the C-centric ecosystem today and said "let's do the work to make it so that any language can play in this world", then surely "jus
by gspr 1y ago
Sure, but if someone came at the C-centric ecosystem today and said "let's do the work to make it so that any language can play in this world", then surely "just FFI through C" would be considered rather underwhelming?
- flohofwoe 1y agoWell that's what the WASM Component Model set out to solve, some sort of next-gen FFI standard that goes beyond C APIs: https://component-model.bytecodealliance.org/ https://component-model.bytecodealliance.org/ In my opinion it's an overengineered boondoggle, since "C APIs ought to be good enough for anything", but maybe something useful will eventually come out of it, so far it looks like it mostly replaces the idea of C-APIs as lingua-franca with "a random collection of Rust stdlib types" as lingua-france, which at least to me sounds utterly uninteresting.
- afiori 1y agoWhile it can function as an FFI (it is indeed the basis of WASI) the component model is more about composability and interfaces
- deleted 1y ago[deleted]