News for hackers. Stuff that matters.
Re:OpenSSL 3.0.7 Published by sirtomato on Tuesday November 01, 2022 @12:40PM (#33423632)
come on, that is quite harsh. c is easily my favorite programming language and it just works really damn well and produces very small binaries. it's easy to write terrible code in any programming language.
Re:OpenSSL 3.0.7 Published by umanwizard on Tuesday November 01, 2022 @12:46PM (#33423705)
> c is easily my favorite programming language

That's not really relevant to the discussion of whether it's the proper language to be used for something like OpenSSL.

> it just works really damn well

As far as I can tell, all mainstream programming languages "work well", so it's not clear what you mean.

> produces very small binaries

True but not very important IMO

> it's easy to write terrible code in any programming language

Sure. But it's not easy to write this particular flavor of terrible code -- buffer overflows -- in any commonly-used language other than C and its derivatives.

Re:OpenSSL 3.0.7 Published by jeffbee on Tuesday November 01, 2022 @12:56PM (#33423865)
C++ generally produces smaller and faster programs because the language gives compilers much more to work with.