Thoughts
I hate strictly typed languages so badly. So badly. This is about Zig. This is miserable.
MicroZig wants me to export a struct with a .interrupts field to store my interrupts. Right, fine. If I had to I could lay that struct out in memory with a Hex editor. But I can't an anonymous struct. It has to be struct of type Options.
=> https://github.com/ZigEmbeddedGroup/microzig/blob/540a52585f0b4448caa772f49e1664f3ad46f987/core/src/start.zig#L70
Or it doesn't compile. So I'm just screwed. I can't use the language. I can't use the library. There are zero examples, because is zero documentation for MicroZig. Zero auto generated docs. There's one example, which I had to ask the microzig maintainer for in the Discord, and it's wrong. It's just wrong. It doesn't compile.
So I'm going to sit for the next 45 minutes, I'm going to start a timer and sit for 45 minutes and try to guess where how I can import the Options type.