linux moving to C11

2022-02-27 Thread tcheran
Linus is famous to blame C++ and supporters of C++ for Linux Kernel. Here you can find his arguments about (2007 and 2004). Back in 2004 he didn't seem to trust on C++ compilers too. Nowadays he really seems to still hate C++ and more open to consid

linux moving to C11

2022-02-26 Thread reneha
Well, yeah, stronger type checking would be worth it. Maybe Linus would do the switch if he know how to keep the programmers from using the other features of C++. As I remember it, Linus didn't want C++ because because the programmers could be tempted to do "OO model crap".

linux moving to C11

2022-02-26 Thread Araq
Nim targets C89 with some extensions like `__inline`. What Linux does has no impact on Nim.

linux moving to C11

2022-02-26 Thread sls1005
I think it's compiled to C99. I've tested for `--passC:-std=c89`. It failed, saying inline is not defined, but it works with `-std=c99`. And I don't think the change will affect us, unless you're going to compile your own kernel.

linux moving to C11

2022-02-26 Thread tcheran
This is just for curiosity. It appears Linux will move to C11. What C version does Nim currently compile to? Will this migration of Linux to C11 have any foreseeable impacts on Nim?