by rollulus · 3y ago · 0 comments
And I love Go. It’s not perfect at all. But I get things done with it, there are tons of high quality modules to depend on, the tooling is great, concurrency / async programming is a breeze.
Thanks, authors and community.
https://github.com/golang/go/issues/39568
As far as I know every other language standard library still allows CN to be used to validate the hostname when the SAN field doesn’t exist.
As discussed in the link, CommonName has been deprecated in x.509 serverAuth certificates for decades, and all major browsers dropped support for the field (even as a fallback) years ago.
Also, the reason CN is deprecated has nothing to do with security but the maximum length of the field in the spec. Chrome ignores it but every cert I’ve seen recently still includes it for legacy compatibility.
It’s not a huge dealbreaker but it forced me to go make 3rd parties regenerate their certs before I could upgrade my version of go.
I seriously doubt Go is advertised as forward compatible or that it is such in practice. Just like any similar programming language, they depend on system interfaces, and those change, albeit at a slow rate. If all older versions of Go aren't on life support, then some will become obsolete over time.
Tried to gradually upgrade projects written Ruby and Python, that were not touched in 10 years. The dependencies were based on C extensions that depended on libs not existing anymore. It was even impossible to get the original version compiled, because in was dependent on a Linux distro version that doesn't exist anymore, even as docker images.
That was the hard lesson: depending on dynamically loaded libs means you need to constantly maintain the project and even if it has no visible bugs, or doesn't depend on the code having security vulnerabilities, you need to adapt it to evolve together with the libs, and that is needed even if you actually use only what's "old" in the libs. But we're not saving every megabyte of a disk space anymore like in 90s. Switching to static compilation does wonders for maintainability.
If you actually need them to be the same version used by something else on the system, that's still a peoblem, but static compilation doesn't solve that, anyway.
In go, code from a decade ago should just work, unless the underlying system changes too much.
Are you sure ? I don't get that feeling from HN at all.
"Choose Boring Technology": https://boringtechnology.club/
Sorry to be a pedant, but ReasonML was developed to make OCaml accessible to developers with JavaScript experience.
Not in the sense that it's a bad language, but just that it's not used much anymore.
https://trends.google.com/trends/explore?date=all&q=%2Fm%2F0...
(Funnily enough, it still absolutely dwarfs Rust in Google Trends, which highlights how much HN, Reddit and such are echo-chambers)
I have no problem with language-fans promoting it and singing praise to it. I do the same with languages I happen to like.
What I do have a problem with, is evangelizing.
https://gist.github.com/graninas/22ab535d2913311e47a742c70f1...
What are you talking about? Go is a popular language. Many of the successful software projects released in recent years are written in Go.