News for hackers. Stuff that matters.
Re:Shopify moves back to Native from React Native by willsmith72 on Thursday September 10, 2026 @08:31PM (#49652017)
how much parallelism are you writing in your frontends?
Re:Shopify moves back to Native from React Native by cloudfudge on Friday September 11, 2026 @03:39AM (#49654837)
The problem with everything being single threaded isn't so much that you want to do a lot of parallel processing, but that you don't want to have the occasional fat loop cause the whole engine to start stuttering. If you want butter smooth scrolling while there's (for example) a lot of dynamic content moving around, you want very precise control of the threading so you can get the gnarly stuff done without causing hitches that don't feel right.
Re:Shopify moves back to Native from React Native by user43928 on Friday September 11, 2026 @04:27AM (#49655181)
The browser, iOS, and Android all use a main thread separate from the thread responsible for scrolling animations.

However, I think it's true that controlling threading in order to perform gnarly work in a separate thread is more ergonomic on mobile than in JS/React.

You'd need to create a Promise that wraps a Web Worker, which would be an unusual thing to use. I don't think most apps need such control over threading in the browser.

Re:Shopify moves back to Native from React Native by throwaway27448 on Friday September 11, 2026 @05:13PM (#49665465)
If you care about smooth interactions, the browser even in 2026 is not the most straightforward route, nor the route any reasonable small company takes.