Post
Topic
Board Development & Technical Discussion
Merits 13 from 6 users
Re: why was bitcoin written in C++ instead of pure C?
by
Flavatron
on 06/03/2024, 10:11:58 UTC
⭐ Merited by BlackHatCoiner (4) ,ranochigo (2) ,ABCbits (2) ,vapourminer (2) ,NotATether (2) ,DdmrDdmr (1)
I think the OP asked about C, and C++ ... not c# which is totally different. For the most part, the performance of C and C++ are almost identical in most cases if you were not to use the Object Orientated features(like  inheritance, classes, templates, and some others). C# is a high level level language and not really comparable with either of the above, it's level of abstraction is probably on par with Python.

As others have said too, RUST( which in most cases is set to replace c++ by todays estimation, at least it's the plan for some, like the US Biden admin) wasn't even released in 2007. C++ was basically the defacto language for high performance applications.