News for hackers. Stuff that matters.
Re:Gio UI – Cross-Platform GUI for Go by robterrell on Saturday May 18, 2024 @11:59AM (#40400027)
> better than native performance using RN

You had an app written natively in Objective-C or Swift, switched to single-threaded javascript React Native, and then your app ran faster?

Re:Gio UI – Cross-Platform GUI for Go by wiseowise on Saturday May 18, 2024 @02:23PM (#40400925)
Unoptimized native application, probably written in a yolo let’s ship it faster way, is slower than rewrite that learned from mistakes of previous application. What makes you surprised?
Re:Gio UI – Cross-Platform GUI for Go by ricardobeat on Saturday May 18, 2024 @07:22PM (#40402906)
Though JS is single-threaded, it only builds the render tree and is more than fast enough if you’re careful. RN has a separate UI thread for actual rendering, I/O is offloaded and extensions can use extra threads.

The largest bottleneck historically was the bridge between obj-c and js (now superseded by JSI), and not the speed of the engine itself.