News for hackers. Stuff that matters.
Re:Snapchat open-sources Valdi a cross-platform UI framework by cyberax on Friday November 07, 2025 @11:03PM (#45854032)
That. And specifically, fuck Apple and their prohibition on JITs.

We have a React Native app that shares some code with a webapp, and that needs to do some geometry processing. So we're constantly playing the game of "will it interpret quick enough". Everything works fine in browsers, but in a RN app it often slows down to unusable speeds.

Re:Snapchat open-sources Valdi a cross-platform UI framework by Torn on Saturday November 08, 2025 @05:57AM (#45855810)
Could your processing work in a webview? i.e. webgl or webasm or similar and you communicate with it via postMessage. Something like Polygen might help with the scaffolding, but I have not tried it personally
Re:Snapchat open-sources Valdi a cross-platform UI framework by cyberax on Saturday November 08, 2025 @11:48AM (#45858045)
No, it's far too brittle. The latency is also terrible. In our case, we had to reimplement some parts in C++ to have reasonable performance.