Conversation
|
The release notes for today's Zig 0.12.0 say about the x86 backend:
97% is quite high, but I guess Exercism should continue to stick with the LLVM backend for now. |
|
From the Roadmap in today's Zig 0.13.0 release notes:
|
|
The x86_64 backend wasn't made the default in debug mode with Zig 0.14.0, but it's now the default on the master branch - see the 2025-06-08 Zig devlog post. So let's just wait until Zig 0.15.0, where it's expected that this will appear. A previously stated tentative release date for that was 2025-08-01. So this is probably coming fairly soon - see the blocking issues in the 0.15.0 milestone. See also the relevant part of YouTube: Zig Roadmap 2026 (streamed 2025-07-03). |
1fa74ef to
5eac0ba
Compare
This significantly speeds up the testing of a user's solution. In the
future, zig will begin to use its native backends by default.
However, as of Zig 0.11.0, the x86_64 backend is still considered
experimental [1]:
Although the x86 backend is still considered experimental, it is now
passing 1474/1679 (88%) of the behavior tests, compared to the LLVM
Backend.
See also the accepted proposal [2].
[1] https://ziglang.org/download/0.11.0/release-notes.html#x86-Backend
[2] https://www.github.com/ziglang/zig/issues/16270
5eac0ba to
e4a0924
Compare
|
Closing in favor of #127, for reasons mentioned in the above comment. |
This significantly speeds up the testing of a user's solution. In the future, zig will begin to use its native backends by default.
However, as of Zig 0.11.0, the x86_64 backend is still considered experimental:
See also the accepted proposal ziglang/zig#16270.
Refs: #63
Let's hold off on this for now. But there may be a time when the x86_64 backend is either:
in which case we can merge this PR so Exercism uses the x86_64 backend, without waiting for it to become the default in a Zig release.
Note that this PR currently means that test failure messages (but not error messages) no longer include line and column number information.