r/iOSProgramming • • Sep 23 '26

Discussion Running Sandboxes inside a hidden WKWebView to get Python/Node/FFmpeg in an iOS app, without shipping a JIT

We just launched this today and would love to get your feedback/thoughts!

Announcement: https://wasmer.io/posts/wasmer-sdk-swift-ios-macos

Source code: https://github.com/wasmerio/wasmer-sdk/tree/main/swift/Examples/WasmerShell

17 Upvotes

14 comments sorted by

View all comments

1

u/Sad-Flower-99 Sep 25 '26

Have you measured cold-start time and peak memory on a physical iPhone yet? A short FFmpeg transcode, including sandbox startup, would be a useful benchmark. For an in-app tool, I'd care more about the wait before the first result than the JS benchmark score.

1

u/[deleted] Sep 25 '26

[removed] — view removed comment

1

u/Sad-Flower-99 Sep 25 '26

Fair point. I meant those numbers as a next step, not a knock on getting it working. A quick video trim is the kind of use case where startup time could outweigh the actual processing.