Imagine if you could use any native library in both React Native & React Web in an instant, with great performance and even better DX 🚀
Soon, you won't need to imagine anymore, here at @callstackio we're cooking something big 👀
Coming soon™🤞
That’s an interesting question, except the sandbox, which is perfect for embedding, it’s widely supported. Is this faster? Certainly not, you can reduce the overhead with JIT, and even with transpiration to C. But if you skip the VM aspect, you can use it for its unified ABI (and WIT for the codegen in the future).
In polygen, for example, we focus on its cross-language simplicity, because I believe it matches the React Native approach of write once use everywhere. You also get turbomodule like thingy that is also running on the Web 😁
Meet the Callstack Incubator team IRL! We’re hosting the next React Universe Meetup in Wrocław on Apr 16, 2025 🤌
Join us for 🍕 and talks on:
✅ Native feel in React Native
✅ File-based routing internals
✅ Multi-language integration beyond C++
See you there? 🤓
The Ultimate Guide to React Native Optimization 2025 is here 🚀 Packed with battle-tested strategies to speed up your app, reduce TTI, and boost FPS. And yes—it’s free.
Grab your copy now 🙌 https://t.co/noQ1TvOIeS
Re.Pack 5 is here!
⚡️ 5x faster with Rspack
🤝 Module Federation 2 support
🪶 Up to 90% smaller configs
🛠️ Reanimated, Expo Modules, & NativeWind plugins
📖 Check out the full announcement blog post below 👇
@mrousavy It assumes ownership IIRC, maybe std::span would be better in that case, which is closest to slices from other languages, but it depends on the use case 😄
@mrousavy But yeah, doing optimistic zero copy in cpp would prob require some RefCounting I think (so that constant literals are borrowed instead of copied), deep rabbit hole tho 🥲
@mrousavy it’s marked as drop in std::string replacement, so should not be a problem regarding the former (except that storage strategy varies and small strings are stored inline I think), as for the latter I don’t think so, there’s folly/Unicode which Copilot says does it but I doubt 🤷♂️
@o_kwasniewski Great books! 🥹
Learning to write even a simple interpreter or compiler teaches you so much, you will never code or look at the code the same way ever again tho
JavaScript lifting too much weight in your React Native app? Let WebAssembly do the heavy work! Polygen compiles WebAssembly modules to native Turbo Modules — no interpreter, no JIT, just speed.
More at https://t.co/XUM9Zyx1gk by @rob_pasinski
React Native + WebAssembly = 🚀
Friday is the release day!
New version of Polygen (v0.2.0) with lots of big fixes and updates just landed! (and we think you'll love it!)
https://t.co/LJMXK1g0nS