bender (twtxt.net)
In reply to: #ru2vrta
3 weeks ago
@kat I don’t like Golang much either, but I am not a programmer. This little site, Go by example might explain a thing or two.
Recent posts in reply to #da7zlha
@kat I don’t like Golang much either, but I am not a programmer. This little site, Go by example might explain a thing or two.
@bender Here's a short-list:
One of the nicest things about Go is the language itself, comparing Go to other popular languages in terms of the complexity to learn to be proficient in:
25
keywords (Stack Overflow); CSP-style concurrency (goroutines & channels)30
keywords (TutorialsPoint); GIL-bound threads & multiprocessing (Wikipedia)35
keywords (Initial Commit); GIL-bound threads, asyncio
& multiprocessing (Wikipedia, DEV Community)50
keywords (Stack Overflow); threads + java.util.concurrent
(Wikipedia)82
keywords (Stack Overflow); std::thread
, atomics & futures (en.cppreference.com)38
keywords (Stack Overflow); single-threaded event loop & async/await
, Web Workers (Wikipedia)42
keywords (Stack Overflow); GIL-bound threads (MRI), fibers & processes (Wikipedia)Ultimately, Go sits in the sweet spot on the complexity vs performance chart:
See Rob Pyke's presentation on Expressiveness of Go