Dave Mason
Dave Mason
If I understand the current implementation correctly, this uses something in LLVM called musttail which significantly limits tailcalls (in particular the type signature of the callee has to match the...
I have a set of `struct`s that all have a function, let's say `func` and I want a struct that contains all of those functions, named by the struct names....
Another example. I've been struggling with dependency loops forever, and here is the most recent: ```zig const execute = struct { const ThreadedFn = packed struct { f: Fn, const...
I've recently abandoned having the named type ```zig const Fn = *const fn ( process: *Process, ) void; ``` and just put in the whole `*const fn...` stuff everywhere. Ugly,...
I have an Intel-based mac that I haven't been using. So I tried itlso on zig-x86_64-macos-0.15.0-dev.822+dd75e7bcb and it works properly without haveing to do anything special (like no-llvm switch). But...
Thanks, @mlugg for confirming my guess as to why it worked. Sigh... and now I get: ``` unable to perform tail call: compiler backend 'stage2_x86_64' does not support tail calls...
Tail calls are an absolute requirement for this project. So I'm not a happy camper (I've had to change (uglify) 100s of lines of code to move things from comptime...