- ตัวดำเนินการ
-
เรียนรู้
เรียน Python ตัวอย่างที่รันได้, NumPy, pandas และอื่น ๆ เรียน AIโครงข่ายประสาท ML และ LLM ตั้งแต่ศูนย์ เรียน C และ C++ พอยน์เตอร์ หน่วยความจำ STL และ C++ สมัยใหม่ เรียน C#พื้นฐาน C#, OOP, LINQ, async และแบบฝึกหัด .NET เรียน Matplotlibกราฟเส้น แท่ง กระจาย และวงกลม พร้อมตัวแสดงภาพแบบโต้ตอบ เรียน RustOwnership, trait, การจัดการข้อผิดพลาด และ thread เรียน GoSlice, interface, goroutine และ channel อัลกอริทึม Python การค้นหา การเรียงลำดับ รีเคอร์ชัน และภาพจำลอง O(n) อัลกอริทึม C และ C++ เปรียบเทียบการเขียนด้วย C และ C++ เขียนโปรแกรมสำหรับเด็ก เรียนเขียนโปรแกรมผ่านการเล่น!
- โจทย์ใหม่
- สำหรับครูใหม่
- อัปเดต
- เลี้ยงกาแฟสักแก้ว
Concurrency ใน Go
Goroutine, channel, select, Mutex, worker pool และ context
- บทเรียน โจทย์ 1 ข้อ Goroutines and WaitGroup Start lightweight threads with go and wait for them with sync.WaitGroup.
- บทเรียน โจทย์ 1 ข้อ Channels Send values between goroutines with channels, buffered and unbuffered.
- บทเรียน โจทย์ 1 ข้อ Select and Timeouts Wait on several channels at once and stop waiting after a timeout.
- บทเรียน โจทย์ 1 ข้อ Mutex: Protecting Shared Data Let several goroutines change one value safely with sync.Mutex.
- บทเรียน โจทย์ 1 ข้อ Worker Pool Share a queue of jobs between a fixed number of goroutines.
- บทเรียน โจทย์ 1 ข้อ Context: Cancellation and Deadlines Stop work that takes too long or is no longer needed with context.