Skip to content
Languages / Julia

Julia

How Atracode compiles Julia, what it is verified against, and what it refuses.

Style
Scientific
Verified against
Julia
Published results
Per release, in the changelog

What is supported

Dynamic arithmetic, collections, dispatch and control flow, compiled to an exact graph. Anything that reads the outside world is refused at its exact location.

Numeric and array semantics, including every rounding mode, reproduced exactly.

How it is verified

Every Julia program is compiled twice, once by Atracode and once by Julia. Both builds run over the same large set of inputs and must agree bit for bit in output and memory before the compile succeeds. See verification for how the sweep works.

$ atracode compile main.jl
verified  raven:3f1c…  (illustrative)

What gets refused

Anything that depends on the world outside the program, such as the clock, the network, environment variables or unseeded randomness, is refused at its exact line and column instead of being approximated. Pass those values in as inputs and compile again. Refusals lists the common causes and fixes.

  • MojoVerified against Mojo SDK
  • RVerified against R interpreter
  • MATLABVerified against Reference engine
  • NumPyVerified against NumPy on CPython
  • FortranVerified against gfortran
esc

Type to search titles, headings and text.