2 ms·
Good to know if I ever need to implement a brand new device driver. Otherwise I'm stuck in C anyway since everything is written in C. Principally, that is the
by zanny 13y ago
Good to know if I ever need to implement a brand new device driver. Otherwise I'm stuck in C anyway since everything is written in C.
Principally, that is the reason even though I'd love to fix the internal breakage of the linux desktop (pulseaudio issues, gstreamer, mesa, wayland, etc) all of them are written in C and I drank Bjarnes kool-aid and can't go for an entire source file in C without desperately wanting a C++ feature of some kind. The abstractions are just such huge productivity gains writing everything imperatively drives me nuts (at that, a lot of my code is imperative, but only when it is right for the job - if I have a great description of a collection of data and functionality, classes are correct; if I need to treat functions as data and avoid state functional is correct; etc - trying to lock myself into one methodology after writing in all 3 makes me feel heavily restricted, it is one of the reasons I love python).