Alex Rivera | Logout

Why are drivers and firmwares almost always written in C or ASM and not C++?

Asked 2010-01-11T01:34:25.463
54

I am just curious why drivers and firmwares almost always are written in C or Assembly, and not C++?

I have heard that there is a technical reason for this.

Does anyone know this?

Lots of love, Louise

c++ c
Edit
Report

1 Answer

3

Windows drivers are written in C++.
Linux drivers are written in c because the kernel is written in c.

answered 2010-01-11T01:39:00.137

Your Answer