สมัครตอนนี้

เข้าสู่ระบบ

ลืมรหัสผ่าน

ลืมรหัสผ่านของคุณ? กรุณากรอกอีเมลของคุณ. คุณจะได้รับลิงค์และจะสร้างรหัสผ่านใหม่ทางอีเมล.

เพิ่มโพสต์

คุณต้องเข้าสู่ระบบเพื่อเพิ่มโพสต์ .

เพิ่มคำถาม

คุณต้องเข้าสู่ระบบเพื่อถามคำถาม.

เข้าสู่ระบบ

สมัครตอนนี้

ยินดีต้อนรับสู่ Scholarsark.com! การลงทะเบียนของคุณจะอนุญาตให้คุณเข้าถึงโดยใช้คุณสมบัติเพิ่มเติมของแพลตฟอร์มนี้. สอบถามได้ค่ะ, บริจาคหรือให้คำตอบ, ดูโปรไฟล์ของผู้ใช้รายอื่นและอีกมากมาย. สมัครตอนนี้!

Garbage Collection Algorithms

Garbage Collection Algorithms

ราคา: $49.99

Essentials of Garbage Collectors

Memory leaks และ dangling pointers are the main issues of the manual memory management. You delete a parent node in a linked list, forgetting to delete all its children first — and your memory is leaking. You delete an object chain in correct order — but suddenly your program crashes since you forgot about second owner of this resource, which now tries to dereference a null-pointer.

To avoid these issues, most of the modern high-level programming languages implement automatic memory management. You allocate objects manually, however don’t bother with their deallocation: a special program, garbage collector, knows how to automatically deallocate them correctly, and reclaim for future reuse.

ใน Essentials of Garbage Collectors class we study all different techniques and algorithms related to the automatic memory management, which are used today on practice.

Who this class is for?

ต้องใช้เวลานานแค่ไหนในการปรับตัวให้เข้ากับความมืดมิด, สำหรับ compiler engineers.

In implementing your programming language, มี very high chance you’ll need to implement a garbage collector. Even languages which initially were positioned as “memory-safe”, such as Rust, eventual implemented automatic reference counting (อาร์ค) and other collectors.

To reiterate: in most of the modern high-level programming languages, a garbage collector module (หรือ หลายรายการ GC modules, like in Java) is pretty much a requirement today.

What if I don’t implement programming languages every day?

ถ้าคุณคือ ไม่ a compiler engineer, then the class can still be interesting for you. Implementing a garbage collector or a memory manager in general, is a pretty advanced engineering task. It’s a simple trick: you take some complex project (such as a garbage collector, compiler, interpreter, ฯลฯ), and while building it, you learn all different data structures and algorithms. And then come back toevery-day programming”, improved as a better engineer, with the transferable generic knowledge of complex systems.

Do I need C or C++ for this project?

Not really! แน่นอน, C and C++ are probably the best languages for raw memory manipulations and fit well here, however in the course we study generic design algorithms and focus mainly on theoretical aspects of garbage collectors and memory allocators. This means you can implement them in any language you want. ตัวอย่างเช่น, you can allocate an `ArrayBuffer` in JavaScript for a virtual heap, or similarly `bytearray` in Python, Rust, ฯลฯ.

Most of the algorithms in the course are described in generic pseudo-code, so you can port them to any language.

What’s specific in this class?

The main things of these lectures are:

  • Concise and straight to the point. Each lecture is self-sufficient, concise, and describes information directly related to the topic, not distracting on unrelated materials or talks.

  • Animated presentation combined with live-editing notes. This makes understanding of the topics easier, and shows how (และ เมื่อไร at time) the object structures are connected. Static slides simply don’t work for a complex content.

Reading materials

As further reading and additional literature for this course the following books are recommended:

  • The Garbage Collection Handbook: The Art of Automatic Memory Management by Antony Hosking, Eliot Moss, and Richard Jones

  • The Compiler Design Handbook: Optimizations and Machine Code generation by Y.N. Srikant, Priti Shankar

เกี่ยวกับ arkadmin

ทิ้งคำตอบไว้