1. Introduction
  2. Getting started
  3. 1. Dependencies
    1. 1.1. Julia
    2. 1.2. Rust
    3. 1.3. C
  4. 2. Basics
    1. 2.1. Project setup
    2. 2.2. Scopes and evaluating Julia code
    3. 2.3. Managed data and functions
    4. 2.4. Casting, unboxing and accessing managed data
    5. 2.5. Loading packages and other custom code
  5. Getting familiar
  6. 3. Targets
    1. 3.1. Using targets and nested scopes
    2. 3.2. Target types
      1. 3.2.1. Local targets
      2. 3.2.2. Dynamic targets
      3. 3.2.3. Weak targets
  7. 4. Types and layouts
    1. 4.1. isbits layouts
    2. 4.2. Inline and non-inline layouts
    3. 4.3. Union fields
    4. 4.4. Generics
  8. 5. Arrays
    1. 5.1. Creating arrays
    2. 5.2. Accessing arrays
    3. 5.3. Mutating arrays
    4. 5.4. ndarray
    5. 5.5. Tracking arrays
  9. 6. Exception handling
    1. 6.1. Parachutes
  10. 7. Bindings and derivable traits
    1. 7.1. Generating bindings
    2. 7.2. Customizing bindings
  11. Other runtimes
  12. 8. Multithreaded runtime
    1. 8.1. Garbage collection, locks, and other blocking functions
  13. 9. Async runtime
    1. 9.1. Blocking tasks
    2. 9.2. Async tasks
    3. 9.3. Persistent tasks
    4. 9.4. Combining the multithreaded and async runtimes
  14. Dynamic libraries
  15. 10. ccall basics
    1. 10.1. Argument types
      1. 10.1.1. Arrays
    2. 10.2. Return type
    3. 10.3. Dynamic libraries
    4. 10.4. Custom types
    5. 10.5. Yggdrasil
  16. 11. julia_module!
    1. 11.1. Constants
    2. 11.2. Functions
      1. 11.2.1. Managed arguments
      2. 11.2.2. Array arguments
      3. 11.2.3. Typed values
      4. 11.2.4. Typed layouts
      5. 11.2.5. Returning managed data
      6. 11.2.6. CCallRef
      7. 11.2.7. Throwing exceptions
      8. 11.2.8. GC-safety
    3. 11.3. Opaque and foreign types
      1. 11.3.1. OpaqueType
        1. 11.3.1.1. Without generics
        2. 11.3.1.2. With generics
        3. 11.3.1.3. With restrictions
        4. 11.3.1.4. Other attributes
      2. 11.3.2. ForeignType
    4. 11.4. Generic functions
      1. 11.4.1. Type environment
    5. 11.5. Type aliases
    6. 11.6. Yggdrasil and jlrs
  17. Other topics
  18. 12. Keyword arguments
  19. 13. Safety
  20. 14. When to leave things unrooted
  21. 15. Caching Julia data
  22. 16. Cross-language LTO
  23. 17. Testing applications
  24. 18. Testing libraries

jlrs tutorial

Targets