Writing Allocation-Free Julia Code with AllocCheck.jl - JuliaCon 2024
The Julia Programming Language via YouTube
Overview
Explore the world of allocation-free Julia programming in this 15-minute conference talk from JuliaCon 2024. Discover how to leverage AllocCheck.jl to identify and eliminate allocations in your code, improving performance and enabling safe deployment on embedded systems. Learn about the three major sources of allocations in Julia: object creation, dynamic dispatch, and runtime allocations. Gain insights into common challenges and solutions for writing allocation-free code, and understand how AllocCheck.jl's static analysis of optimized LLVM IR can pinpoint allocation sites and object types. See practical examples of using the `@check_allocs` macro and explore additional tools like Cthulhu.jl for deeper code analysis. Understand the requirements and implications of writing allocation-free code for stringent applications, particularly in long simulation loops on embedded hardware.
Syllabus
Writing allocation-free Julia code with AllocCheck.jl | Baraldi, Tapscott | JuliaCon 2024
Taught by
The Julia Programming Language