Incremental rewrite of Blur (JIT compile) #4

Open
opened 2025-11-30 09:58:23 +00:00 by blund · 0 comments
Owner

I want to replace the toolchain for the stencil generation for the Blur backend JIT compiler.
As of now we use name hacks to determine code length. This is not portable, and breaks completely on Mac.
Instead, I am looking at using a linker-style solution as done in the Copy and Patch paper, and use llvm cc for compilation. Further, we could do cross platform testing with Qemu, to test on Mac (Aarch64).

I want to replace the toolchain for the stencil generation for the Blur backend JIT compiler. As of now we use name hacks to determine code length. This is not portable, and breaks completely on Mac. Instead, I am looking at using a linker-style solution as done in the [Copy and Patch paper](https://arxiv.org/abs/2011.13127), and use llvm cc for compilation. Further, we could do cross platform testing with Qemu, to test on Mac (Aarch64).
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: blund/wuji#4
No description provided.