4 ms·
I had similar problems with C++ importing stdio printf gives almost no added binary size importing iostream cout << adds like 5mb to the final .wasm file from
by DanielHB 4y ago
I had similar problems with C++
importing stdio printf gives almost no added binary size
importing iostream cout << adds like 5mb to the final .wasm file from what I remember. I asked around and apparently it pulls a whole sort of random stuff into your binary like internationalisation and currency conversion (dots vs commas)
Your native binaries do that as well, you just don't notice. Unless the compiler can offload some of these things to the OS-specific libraries