Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
flohofwoe
8 months ago
|
parent
|
context
|
favorite
| on:
WASM GC isn't ready for realtime graphics
Calling an "idiomatic" C++ API from WASM would also require a (COM like) shim though since C++ has no standardized ABI. E.g. as soon as your API uses things like std::string it already gets hairy.
weinzierl
8 months ago
[–]
There already is browser.wit, that is what a direct interface could look like.
pjmlp
8 months ago
|
parent
|
next
[–]
But this is what flohofwoe was talking about, WIT is basically COM/CORBA/RMI/Remoting for WebAssembly.
flohofwoe
8 months ago
|
parent
|
prev
[–]
Yes, but in the end this just automates the bindings generation, runtime overhead for marshalling will be the same.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: