Memory management with MMTk: lessons learned from replacing Ruby's garbage collector

Поділитися
Вставка
  • Опубліковано 18 січ 2022
  • (Angus Atkinson) If you've learned a new programming language in the past 20 years, there's a good chance it features automatic memory management. One of the most popular ways of managing memory is through a garbage collector (GC), which frees memory by regularly deallocating unreferenced data. Optimising programming languages' GC algorithms and implementations can be key to improving the performance of large scale, low-latency and high-throughput systems. However, state-of-the-art GC algorithms can be difficult to implement, which often results in new language designers trading performance for simplicity. Additionally, garbage collectors are often tightly integrated into the language runtime, which makes it difficult for existing languages to optimise their GC or switch to new algorithms altogether.
    In this talk, we introduce the Memory Management Toolkit (MMTk), an Open Source runtime-agnostic garbage collection framework being developed by researchers at ANU. MMTk provides developers with a large library of high-performance GC algorithms (ranging from tried-and-tested to cutting-edge), exposed behind a unified bidirectional API. The project aims to simplify GC implementation for both researchers and the developers of new & existing programming languages alike. We discuss the lessons learned from integrating MMTk into MRI, the main interpreter for the Ruby programming language.
    lca2022.linux.org.au/schedule...
    Videos licensed as CC BY-NC-SA 4.0
    linux.conf.au is a conference about the Linux operating system, and all aspects of the thriving ecosystem of Free and Open Source Software that has grown up around it. Run since 1999, in a different Australian or New Zealand city each year, by a team of local volunteers, LCA invites more than 500 people to learn from the people who shape the future of Open Source. For more information on the conference see linux.conf.au/
    Produced by Next Day Video Australia: nextdayvideo.com.au
    #linux.conf.au #linux #foss #opensource
    Sat Jan 15 11:40:00 2022 at Wominjeka Theatre

КОМЕНТАРІ •