Why you can have millions of Goroutines but only thousands of Java Threads

Many seasoned engineers working in JVM based languages have seen errors like this: OutOfMemory…err…out of threads. On my laptop running Linux, this happens after a paltry 11500 threads.  If you try the same thing in Go by starting Goroutines that sleep indefinitely, you get a very different result. On my laptop, I got up toContinue reading “Why you can have millions of Goroutines but only thousands of Java Threads”

Laziness. Impatience. Hubris. Larry Wall Laziness – The quality that makes you go to great effort to reduce overall energy expenditure. It makes you write labor-saving programs that other people will find useful, and document what you wrote so you don’t have to answer so many questions about it. Hence, the first great virtue ofContinue reading

On two occasions I have been asked [by members of Parliament]: “Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?” I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question. Charles Babbage, Passages from the Life of aContinue reading

Design a site like this with WordPress.com
Get started