Re:Tales of the M1 GPU
by pjmlp on Wednesday November 30, 2022 @03:14AM
(#33798231)
Just like UNIX kernel code is a strange subset of C.
I always find strange how "kernel C" is C, even though ISO C would bork in kernel space, but doing a similar C++ subset is pointed out as not being C++.
Re:Tales of the M1 GPU
by astrange on Wednesday November 30, 2022 @03:59AM
(#33798446)
I'd also call kernel C strange. Mostly justified, but there's no particular reason the memory allocation call with the same behavior as malloc() in IOKit isn't named malloc().
I always find strange how "kernel C" is C, even though ISO C would bork in kernel space, but doing a similar C++ subset is pointed out as not being C++.