Could coreboot (or parts of it) be written in C++?
What would be the advantages and disadvantages?
On Sat, Jan 28, 2017 at 6:14 AM Philipp Stanner stanner@posteo.de wrote:
Could coreboot (or parts of it) be written in C++?
I hope not.
What would be the advantages and disadvantages?
I can't think of a single one, and I see a lot of C++.
Note that there are parts of coreboot written in Ada. I don't like Ada that much, but it's a better language for safe software than C++.
ron
Dear Philipp,
Am Samstag, den 28.01.2017, 15:13 +0100 schrieb Philipp Stanner:
Could coreboot (or parts of it) be written in C++?
Sure, it’s possible and could be done.
What would be the advantages and disadvantages?
As the others, I don’t see an advantage.
But, did you just mean coreboot, or “coreboot based firmware”, which includes payloads?
If the later, I believe that you can indeed write payloads with C++, if you know it well.
I have no idea about the size implications though.
Kind regards,
Paul