3 ms·
In http://dioxuslabs.com http://dioxuslabs.com we share our strings (interned) across the JS/Rust boundary and only send primitives back and forth. All diffing
by jkelleyrtp 5y ago
In http://dioxuslabs.com http://dioxuslabs.com we share our strings (interned) across the JS/Rust boundary and only send primitives back and forth. All diffing stays in Rust with bump memory allocators managing allocations. The JS side is only there to do DOM manipulation. [1] It's about 3-4x faster than React.
I'd say a lot of the ergonomics are there, but not every pattern has been translated cleanly from React into Rust yet.
[1] https://github.com/DioxusLabs/dioxus/blob/master/packages/interpreter/src/interpreter.js https://github.com/DioxusLabs/dioxus/blob/master/packages/in...