A "game" made as a proof of concept of using the fact that integrated GPUs share memory with the CPU so with Metal you can create a shared buffer, which you can tell the kernel to read UDP packets into, and then turn around and directly render into.

This is a "game" with squares you can control with the mouse and keyboard, that synchronizes positions between all instances on the local LAN using UDP broadcast packets. And it does this with zero copies!

Check out the "GDC" presentation slides and the video enclosed within: <3

Built With

Share this project: