Programming Languages
How is C programming being used in small embedded systems today?
C programming continues to be relevant in small embedded systems like microcontrollers, even in modern contexts. Bjarne Stroustrup describes meeting someone who was using a fairly modern C style to program four-bit microcontrollers for surge protectors. While technically C isn't designed for such small systems, developers can adapt it with some modifications to make it work. C's ability to directly interface with hardware makes it valuable even in extremely memory-constrained environments of just a few kilobytes. Despite not being officially part of the standard for very small systems, C can be adapted to work effectively by allowing programmers to 'touch the hardware' - demonstrating the language's enduring utility in embedded applications.
Watch clip answer (00:43m)