Andrew Kelley 1/18/2017

Troubleshooting a Zig Regression with apitrace

Read Original

The article describes a technical debugging session where the author, after a significant rewrite of the Zig compiler's internals, uses apitrace to compare OpenGL calls. A Tetris game revealed a visual regression, and the investigation traced the issue to how compile-time constant 2D arrays are laid out in memory, leading to a fix in the compiler's code generation.

Troubleshooting a Zig Regression with apitrace

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes