Skip to content

Nihil v4.16.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 20:17
· 35 commits to main since this release
2fa804e

macOS is native only: the translator of the x86-64 code to ARM64 and its C runtime leave, as announced in
v4.13. Programs, and the compiler itself, are compiled straight into ARM64, as nihil has done by default since
v4.13; no program changes, and the package is smaller (634 KB, from 701 KB). Contributing gets issue forms, a pull
request checklist and the Developer Certificate of Origin.

  • macOS: the translator of the x86-64 code to ARM64 (NIHIL_TRANSLATE=1, macos/translate.nihil) and its C runtime
    (arm64/rt.c) are gone, as announced: every program, and the compiler itself, is compiled straight into ARM64
    (-native), the way nihil has worked by default since v4.13. NIHIL_TRANSLATE=1 now prints a note and compiles
    the native way. The release workflow builds the Mac's compiler from the latest release's native compiler
    (macos/ci-native.sh) instead of translating the Linux one, and still checks that it emits the same x86-64 bytes;
    macos/dev.sh and macos/same-bytes.sh build the compiler natively. The package is smaller: no translate, no rt.o

  • Contributing: issue forms (a bug report, a proposal), a pull request checklist, and the Developer Certificate of
    Origin: each commit of a pull request is signed off (git commit -s), checked by the dco workflow

Install

curl -fsSL https://nihil-lang.dev/install.sh | sh

Linux x86_64, and macOS on Apple silicon (with the Xcode Command Line Tools).

Each package has a build provenance attestation: gh attestation verify nihil-linux-x86_64.tar.gz --repo nihillang/nihil.