Current Progress with `v0.8.0`
MufiZ's next version is coming with some big changes such as an incremental GC, but the last couple of releases haven't tried to do the initial goal we had, converting the compiler to Zig. It had a stalemate when it was hard converting many core components in Zig and the linking working, but now we managed to translate quite a bit using the translate-c
command Zig provides.
At the time of writing, we have successfully translated the following:
chunk.c
: In charge of theChunk
andOpCodes
compiler.c
: Handles the workings of the compiler, such as statements, variables, etc.cstd.c
: Std components written in the C side, mainly object builtins (plan to sync with stdlib.zig)memory.c
: Handles all memory operationsdebug.c
: Handles the debugging tracesvalue.c
: TheValue
type in MufiZ
Where do we hope to go from here:
We hope to get all of the codebase in Zig, where we can then slowly convert the types to proper Zig.
Remove the linking, and be able to just
@import
everythingFor the moment, regress our SIMD ambitions and temporarily remove
FloatVector
, this will help us more easily convertobject.c
There is a lot of work that needs to be done, as a solo developer working on this project, there is a lot to wrap my head around, but I am hoping that this release, will be the first fully Zig release.