Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Stuck in Tutorial Hell? Learn Backend Dev the Right Way
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Learn how to optimize symbolic computation in Julia through hash consing implementation in this 22-minute conference talk from JuliaCon Global 2025. Discover how hash consing addresses the critical problem of redundancy in symbolic manipulation systems, where structurally equivalent expressions consume unnecessary memory and computational resources. Explore the technical implementation of hash consing in SymbolicUtils.jl, Julia's core symbolic computation library, which ensures only one unique instance of structurally equivalent expressions exists in memory. Understand the integration of weak references through Julia's WeakValueDict to maintain efficient memory management while preventing garbage collection issues. Examine experimental results demonstrating significant reductions in memory usage and improvements in compile and simulation times. Delve into key benefits including built-in common subexpression elimination (CSE), simplified codebase architecture, and enhanced performance for large-scale models. Review performance benchmarks comparing computational speed and memory consumption with and without hash consing implementation. Analyze the implicit advantages of hash consing for code generation and its impact on downstream applications in modeling and simulation workflows. Consider the limitations, trade-offs, and future optimization opportunities for specific symbolic expression types and parallel symbolic computation scenarios.
Syllabus
Efficient Symbolic Computation via Hash Consing | Zhu | JuliaCon Global 2025
Taught by
The Julia Programming Language