ConcurrentProgramming1 [Golang] Go의 Goroutine과 Channel: 공유하지 말고 소통하라 "Do not communicate by sharing memory; share memory by communicating."— Go Concurrency Design Principle (https://go.dev/blog/codelab-share)Go 언어는 단순히 "멀티스레드를 쉽게 쓰는 언어"가 아닙니다. 그보다 더 근본적인 목표는 안전하고 명시적인 동시성(Concurrency) 제어입니다. 이를 위해 Go는 goroutine과 channel이라는 두 축을 제공하며, 이는 CSP(Communicating Sequential Processes) 이론을 기반으로 한 혁신적인 동시성 모델입니다.목차Go의 동시성 철학과 CSP 모델Goroutine: 경량 논리 스레드익명함수와 Goroutine 활용다중 C.. 2025. 11. 10. 이전 1 다음