Hacker News new | ask | show | jobs
by atilaneves 59 days ago
How is Go simpler to deploy than the alternatives? C++ has been able to compile to statically linked binary for ages.

I think Go's compile times are great for the AI age, but that "pretty fast runtime" is not.

2 comments

I've written plenty of C++ for embedded systems, and very little Go, but if I find anyone trying to connect C++ to the web I will try to get them fired for cybersecurity violations.

Go is close enough on runtime for all reasonable purposes.

The language web servers are written in ?
If you statically link C/C++, you lose access to vDSO by default. Syscalls like clock_gettime incur normal syscall overhead. You can still retrieve vDSO at runtime like Go does, but that's something you have to do yourself in C/C++.