top | item 45698796

(no title)

lukko | 4 months ago

I would love if I don't have to port my whole iOS app to Android manually. How exactly would this integration work if say business logic is handled by Swift - I'm guessing UI and SwiftUI would not be supported initially?

My app [0] uses a lot of metal shader code - I'm guessing there's no easy way to bring that across?

[0] https://apps.apple.com/app/apple-store/id1545223887

discuss

order

fooker|4 months ago

It'll take you thirty minutes to port the shaders with a modern LLM.

I am not joking. I have done this. Shaders are pretty simple. You'll have some weird artifacts but thats more because of platform differences than translation errors.

seivan|4 months ago

[deleted]

joanniso|4 months ago

Metal cannot be used on Android. Your business logic can be ported - if it's separated as a library. If you don't want to separate it, Skip can handle bridging a lot of Apple libraries including SwiftUI.

lukko|4 months ago

Thanks - I see, so swift packages for everything.

What would be the equivalent shader / GPU language on Android? OpenGL?