Skip to content

deingithub/zig-reload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zig-reload

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.

About

proof of concept shared library code reloading with zig

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published