Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does it? I'm not disputing you, I'm curious why you think so.


Not OP, but Go has some major advantages in cryptography:

1. Well-supported standard libraries generally written by Google

2. Major projects like Vault and K8s that use those implementations and publish new stuff

3. Primary client language for many blockchains, bringing cryptography contributions from the likes of Ethereum Foundation, Tendermint, Algorand, ZK rollups, etc


Do you mean “best support for cryptography in the standard library”?

Because there is tremendous support for cryptography in, say, the C/C++ ecosystem, which has traditionally been the default language of cryptographers.


Yeah the standard library crypto package is really good and so is the tls package. There's also golang.org/x/crypto which is.seprate because it doesn't fall under the go compatibility guarantee. You can do all kinds of hashes and generate certs and check signatures and do aes encryption all built in and accessible. There's even lower level constant time compare functions and everything.

I'm a big fan of the go standard library + /x/ packages.


And since any language can call those C/C++ libraries, all languages are equally good at cryptography! Thanks for the "insight".


4. The community seems to have realized that untangling the mess that is building C/C++ stuff is a fool's errand and seems to mostly prefer to reimplement it in Go


"The best" is still a strong claim. How does it stack up against Java or C#, for example?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: