Skip to content

Conversation

IntegratedQuantum
Copy link
Member

@IntegratedQuantum IntegratedQuantum commented Jun 2, 2025

  • Enable the x86_64 backend in debug mode (done in Zig master)
  • Fix graphics issues with x86_64 enabled (→caused by Vector sizes are different in x86_64 backend ziglang/zig#24179)
  • Fix crash when opening the debug window with x86_64 enabled
  • Figure out a way to work around the awful performance problems of the x86_64 backend output, it takes literally a minute to load the world (→ these are all caused by memcpy from array access, this is quite frequent and I don't want to patch it in all locations, so we'll need to wait for strictly better -ODebug machine code quality than LLVM ziglang/zig#24144)
  • Upload a new zig version to our mirror
  • Check if incremental compilation works and enable it
  • Use the new vector and support in models.zig

@IntegratedQuantum
Copy link
Member Author

IntegratedQuantum commented Jun 14, 2025

Currently blocked by ziglang/zig#24179

@IntegratedQuantum
Copy link
Member Author

IntegratedQuantum commented Jun 19, 2025

Currently blocked by ziglang/zig#24144, particularly waiting on better array access (which I believe is tracked by ziglang/zig#24183).

@IntegratedQuantum IntegratedQuantum marked this pull request as draft July 10, 2025 18:53
IntegratedQuantum added a commit that referenced this pull request Jul 15, 2025
For reference: ziglang/zig#24329

some commits have been extracted from #1583, but the x86_64 backend has
been disabled due to its horrible performance.

Remaining work:
- [x] Wait for official builds on ziglang.org and upload them to our
repository
- [x] Add workaround for ziglang/zig#24466
- [x] Fix TODO comment about ANSI support in stdout
- [x] Check for compile-time performance changes → it went from 13.1 to
11.9 seconds 🎉
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant