Alexandros Naskos

Results 16 comments of Alexandros Naskos

I think this scheme makes sense, I'm planning to do this for zls as well.

> API must be event loop compatible This is already the case, if I'm not mistaken (well, not completely on windows, I believe interacting with AFD is necessary for async...

Yes, I will be looking into pike's AFD code for sure, seems interesting. It also will determine some of the ways the event loop implementation has to change, at least...

I quite like this proposal personally. The one modification I would make would be to require macro arguments to be comptime

I also prefer a userspace solution to this problem. Something roughly along the lines of: ```zig const Any = struct { const Self = this; _type: type, value: *const u8,...

@BraedonWooding The type erasure code I posted in that comment seems to work in comptime (I did just a couple of tests), so something similar would be fine I think.