logoalt Hacker News

mike_hearnyesterday at 12:42 PM1 replyview on HN

Maybe so, although I don't recall it being that bad.

But Go wasn't designed for CLI apps. It was designed for writing highly multi-threaded servers at Google, according to the designers, hence the focus on features like goroutines. And in that context startup time just doesn't matter. Startup time of servers at Google was (in that era) dominated by cluster scheduling, connecting to backends, loading reference data and so on. Nothing that a change in programming language would have fixed.

Google didn't use classloader based frameworks so that also wasn't relevant.


Replies

frollogastonyesterday at 4:56 PM

Golang is frequently used for CLIs, even if it wasn't designed for that exactly

show 1 reply