~/talk

Statically-Compiled Julia for Library Development

Talkat PyData Global 2024 · 2024-12-03..12-05· [rust]
slides:none on file

Demonstration shows Julia producing small statically compiled C‑ABI libraries using a new trim option and a contrib compile script that finishes in about 30 seconds and emits a C callable lib (example sign) that loads from Python via ctypes. Output shrinks from ~1.7 MB (strip -> ~900 KB) and links to libjulia (a few MB). Tradeoffs include disallowed runtime code generation, reflection and dynamic globals; static checks and allocation analyzers flag unresolved dynamic calls.

AI-written summary · about

  1. 0:00Introduction
  2. 0:43Julia for library dev and C++
  3. 5:41Trimming for smaller binaries
  4. 6:24Demo: Julia math library
  5. 10:02Static compilation trade-offs
  6. 11:46C++ feature mapping in Julia
  7. 13:52Static analysis in Julia
  8. 16:16Summary and future
  9. 16:38Q&A: two-language problem
  10. 18:02Q&A: Julia vs C++/Rust
  11. 19:06Q&A: interoperability
  12. 20:12Q&A: trimming now
  13. 21:16Q&A: Julia vs SciPy/MEX/MATLAB
  14. 21:57Q&A: design goals
  15. 23:20Q&A: distribution
  16. 24:02Q&A: standard library
  17. 24:43Q&A: precompilation
  18. 25:45Q&A: system image vs static
  19. 26:49Q&A: runtime latency
  20. 27:11Q&A: next priorities
  21. 28:14Q&A: separate compilation
  22. 29:17Q&A: web deployment
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.