You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: make native compilation the Emily.Compiler default
`Emily.Compiler`'s `:native` option now defaults to `true` (read from
`config :emily, :native`, itself defaulting to `true`), so a bare
`compiler: Emily.Compiler` compiles to the single-NIF native lane —
the biggest perf win, bit-identical to the evaluator, and safe because
un-lowerable ops still route through the evaluator under
`native_fallback: :eval`. Opt out with `native: false` (per call) or
`config :emily, native: false` (app-wide) — e.g. on a
memory-constrained host where the one-shot compile peak is too large.
The suite uses a bare `compiler: Emily.Compiler` as its eval oracle,
so `config/test.exs` pins `native: false`; tests that exercise the
native lane pass `native: true` explicitly. The native-config test
gains cases for the default-native and `config: false` paths.
Docs updated to match: the Emily.Compiler moduledoc, README "Native
compilation" / "Choosing a mode", ARCHITECTURE, and RELEASE.md.
0 commit comments