Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> they don’t allow creating new executable code. Ie no JIT or compilers

The Metal compiler is embedded in the Metal runtime and runtime compilation of GPU kernels is part of the official API. So I'm not sure if Apple would actually prohibit JIT-ing GPU code.

Now that I think of it, I wonder if you could create a Metal IDE using nothing more than the Swift Treesitter module and a Metal definition for it. As of today, you can use the Swift Playgrounds app if you don't mind not having any compiler errors or warnings provided to you.



There are various shader exploration tools for iPad and Vision Pro.

Here’s one that might catch your fancy https://youtu.be/4TiBP0loC7s?si=HUNUSg0KMwRbdcK3


Very cool!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: