ブックマーク / www.ren510.dev (1)

  • Goroutine はなぜ軽量スレッドと称されるのか

    Concurrency is the ability of two or more threads to execute in overlapping time periods. Parallelism is the ability to execute two or more threads simultaneously. 並行処理は、複数個のスレッドを共通の期間内で実行する能力のことです。 並列処理は、複数個のスレッドを同時に実行する能力のことです。 構成と実行並行処理:複数の処理を独立に実行できる 構成 のこと並列処理:複数の処理を同時に 実行 すること Go 公式ブログの The Go Blog - Concurrency is not parallelism の記事の中でも、並行と並列は異なる概念であることが述べられています。 In programming, concurrenc

    Goroutine はなぜ軽量スレッドと称されるのか
    flatnote
    flatnote 2025/07/18
  • 1