IntegratedQuantum

Results 95 comments of IntegratedQuantum
trafficstars

I don't know. Maybe you didn't test it in debug mode?

> Building in debug mode takes extra steps because zig ld crashes. Could you send me the issue link? Then we can add it to #308

It also crashes in release, looking at gdb it seems to be the same issue: ```gdb Thread 1 "Cubyzig" received signal SIGFPE, Arithmetic exception. 0x000000000110878c in windows.debug.render () at /home/mint/Downloads/Cubyz/src/gui/windows/debug.zig:52...

It's really hard to read anything here. The numbers seem to get reset every frame: https://github.com/PixelGuys/Cubyz/assets/43880493/8fa1abdf-758a-40bb-9b45-14812d76296f

This PR has been stale for 4 months now. Do you still intend to finish this? I think this would still be a useful addition for profiling things more quickly.

> I need @IntegratedQuantum to decide if we keep callbacks as they are, do we try passing arbitrary arguments to them through parse call, or do we remove them completely....

Oh right now I see it, I was only looking at the reference implementation so far. Yeah, we can just remove it.

> Idk the message could be better tbh I'd suggest ``` Couldn't match argument list /tp Expected a number at argument 1 found "f" ← Note that normal people start...

> Good point, this is doable, but programmer must make sure that field names in struct overlap with what's described by the union field name, otherwise the message will make...

> easily 100 lines of code, more like 10 ``` var msg: List(u8) msg.append("/"); msg.append(commandName); for(fieldNames(CommandStruct)) |name| { msg.append(" "); } ```