codeinabox@programming.dev to Programming@programming.devEnglish · 28 days agoEvery dependency you add is a supply chain attack waiting to happenbenhoyt.comexternal-linkmessage-square30fedilinkarrow-up1170cross-posted to: technology@lemmy.world
arrow-up1170external-linkEvery dependency you add is a supply chain attack waiting to happenbenhoyt.comcodeinabox@programming.dev to Programming@programming.devEnglish · 28 days agomessage-square30fedilinkcross-posted to: technology@lemmy.world
minus-squareGiorgioPerlasca@lemmy.mllinkfedilinkarrow-up5·26 days agoJava, .net and C++ have standard libraries that are much bigger and much more battle tested than the one of Go.
minus-squareFizzyOrange@programming.devlinkfedilinkarrow-up3·26 days agoI haven’t used Java for decades and never used .net so I’ll take your word for those. Absolutely not for C++ though. Go’s standard library has: JSON, XML, etc. A web client and server Bigints Logging JPEG, PNG and GIF SQL client SSH client All the crypto algorithms Gzip, zlib, deflate, etc. C++ has none of that. Hell C++ only got a function to check if a string starts with a prefix a few years ago.
Java, .net and C++ have standard libraries that are much bigger and much more battle tested than the one of Go.
I haven’t used Java for decades and never used .net so I’ll take your word for those. Absolutely not for C++ though.
Go’s standard library has:
C++ has none of that. Hell C++ only got a function to check if a string starts with a prefix a few years ago.