In this post we explore the different approaches to process events from a
mailbox with a more traditional enum based approach as well as a newer
type matching method, with benchmarks included!
In the last post we discussed the GLFW error callback and I alluded to a more complicated reason to add your own error callback. And that reason is how P/Invoke deals with exceptions.