Based around the idea of this, this is a proof-of-concept for code swapping using zig. Accordingly ugly.
Depends on a POSIX libc with inotify support. To run, first start the main program with zig build; cd zig-cache/bin; ./run
, then edit the function do_the_thing
in libreload.zig and rebuild the project using zig build
. If everything works out, the program will reload the library and run the new function.
-
Notifications
You must be signed in to change notification settings - Fork 0
deingithub/zig-reload
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
proof of concept shared library code reloading with zig
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published