Hacker News story: Ask HN: What are a compilers limits on hardware

Ask HN: What are a compilers limits on hardware
I’ve noticed in embedded systems, C compilers are primarily used. People often claim this is because a C++ compiler would be too big, the language has more features. Does this mean that C++ is inherently limited with underpowered hardware. Or even that concepts like OOP make use of virtual tables and other memory overheads. Or is it simply because a C++ compiler is more difficult to implement for a specific architecture, so why bother when C is enough for system programming, etc. 2 comments on Hacker News.
I’ve noticed in embedded systems, C compilers are primarily used. People often claim this is because a C++ compiler would be too big, the language has more features. Does this mean that C++ is inherently limited with underpowered hardware. Or even that concepts like OOP make use of virtual tables and other memory overheads. Or is it simply because a C++ compiler is more difficult to implement for a specific architecture, so why bother when C is enough for system programming, etc.

Hacker News story: Ask HN: What are a compilers limits on hardware Hacker News story: Ask HN: What are a compilers limits on hardware Reviewed by Tha Kur on October 21, 2021 Rating: 5

No comments:

Powered by Blogger.