- ตัวดำเนินการ
-
เรียนรู้
เรียน 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++ เขียนโปรแกรมสำหรับเด็ก เรียนเขียนโปรแกรมผ่านการเล่น!
- โจทย์ใหม่
- สำหรับครูใหม่
- อัปเดต
- เลี้ยงกาแฟสักแก้ว
Ownership และ Borrowing
การ move, reference, slice, lifetime และ smart pointer: แนวคิดที่ทำให้ Rust ปลอดภัยด้านหน่วยความจำโดยไม่ต้องมี garbage collector
- บทเรียน โจทย์ 1 ข้อ Ownership and Moves Learn the rule behind Rust's memory safety: every value has one owner.
- บทเรียน โจทย์ 2 ข้อ References and Borrowing Let a function use a value without taking ownership of it.
- บทเรียน โจทย์ 2 ข้อ Slices Borrow part of a string or array without copying it.
- บทเรียน โจทย์ 1 ข้อ Lifetimes Tell the compiler how long references stay valid with lifetime annotations.
- บทเรียน โจทย์ 1 ข้อ Smart Pointers: Box and Rc Put data on the heap with Box and share ownership with Rc.