なぜ Go では何百万もの Goroutine を作れるのに Java は数千のスレッドしか作れないのか? (この記事は Why you can have millions of Goroutines but only thousands of Java Threads の翻訳です) 経験のあるエンジニアならば JVM 言語で次のようなエラーを見たことがあるでしょう。 [error] (run-main-0) java.lang.OutOfMemoryError: unable to create native thread: [error] java.lang.OutOfMemoryError: unable to create native thread: [error] at java.base/java.lang.Thread.start0(Native Method) [erro
![なぜ Go では何百万もの Goroutine を作れるのに Java は数千のスレッドしか作れないのか?](https://cdn-ak-scissors.b.st-hatena.com/image/square/101d72a5831f9d3ae87b65a91f2a8cd05c9cee8b/height=288;version=1;width=512/https%3A%2F%2Fmahata.gitlab.io%2Fimg%2Ffavicon.png)