Re:Hot-code reloading on macOS/arm64 with Zig
by pmalynin on Thursday March 17, 2022 @07:50PM
(#30717140)
Yeah this entitlement says your application is still “in-development” and allows a debugger to modify its executable memory.
[ Parent
| on HN ]
Re:Hot-code reloading on macOS/arm64 with Zig
by kubkon on Friday March 18, 2022 @07:14AM
(#30720700)
Exactly, and the way I see it, this is the only valid use case for hot-code reloading in the first place: app in-development. I'll try augmenting my linker to be able to bake in the entitlements into the Zig compiler and this hopefully will remove the requirement for elevating privs via "sudo". Thanks for your comments though - it's been very enlightening :-)