Elektrine lite

← Feed

@schwa@mastodon.social

Post #1639339

2026-04-23 18:49 UTC

Someone tell me this a horrible idea and don’t do it. Take https://github.com/schwa/MetalCompilerPlugin which allows you to use Metal in Swift packages - and configure options - AND declare metal dependencies between metal targets (kinda huge deal but not spoken about it before)… … and then hook it up to metal-dump-obj to extract the metal shader function reflection data… … and hook that data up to a Swift templating lib to generate Swift code for your metal functions… So all metal in Swift becomes type safe.

Replies (0)

No replies.