← Back to context Comment by iasay 3 years ago No C toolchain is portable!If that's a problem, use Go or another higher level language. 6 comments iasay Reply jcelerier 3 years ago I guess the programs that I write which work on Mac / Windows / Linux / Wasm / i686 / amd64 / armv7 / aarch64 are just a bad dream I had iasay 3 years ago Only because you know the platform specific nuances... xigoi 3 years ago Isn't one of the supposed advantages of C that it works on many platforms? iasay 3 years ago The last 40 odd years have proven that it does work but what you write isn’t portable. iainmerrick 3 years ago That’s not the case, if you take a bit of care. Look at STB for example (https://github.com/nothings/stb) -- I’ve successfully used STB functions on a bunch of different platforms. In both C and C++, even! 1 reply →
jcelerier 3 years ago I guess the programs that I write which work on Mac / Windows / Linux / Wasm / i686 / amd64 / armv7 / aarch64 are just a bad dream I had iasay 3 years ago Only because you know the platform specific nuances...
xigoi 3 years ago Isn't one of the supposed advantages of C that it works on many platforms? iasay 3 years ago The last 40 odd years have proven that it does work but what you write isn’t portable. iainmerrick 3 years ago That’s not the case, if you take a bit of care. Look at STB for example (https://github.com/nothings/stb) -- I’ve successfully used STB functions on a bunch of different platforms. In both C and C++, even! 1 reply →
iasay 3 years ago The last 40 odd years have proven that it does work but what you write isn’t portable. iainmerrick 3 years ago That’s not the case, if you take a bit of care. Look at STB for example (https://github.com/nothings/stb) -- I’ve successfully used STB functions on a bunch of different platforms. In both C and C++, even! 1 reply →
iainmerrick 3 years ago That’s not the case, if you take a bit of care. Look at STB for example (https://github.com/nothings/stb) -- I’ve successfully used STB functions on a bunch of different platforms. In both C and C++, even! 1 reply →
I guess the programs that I write which work on Mac / Windows / Linux / Wasm / i686 / amd64 / armv7 / aarch64 are just a bad dream I had
Only because you know the platform specific nuances...
Isn't one of the supposed advantages of C that it works on many platforms?
The last 40 odd years have proven that it does work but what you write isn’t portable.
That’s not the case, if you take a bit of care. Look at STB for example (https://github.com/nothings/stb) -- I’ve successfully used STB functions on a bunch of different platforms. In both C and C++, even!
1 reply →