Why rust is so fast in android ? It doesn't use the same native primitive as kotlin or it has access to lower lever primitive ?

Replies (2)

jb55's avatar
jb55 _@jb55.com 6 months ago
There are many many reasons, i have engineered the rust and C code to be fast and cache efficient. kotlin/jvm is a completely different runtime environment, and a naive implementation of a nostr client will be slow. Lots of careful engineering is the gist of it. I approached it like i would a video game with a very tight frame budget.
You're crazy, I often wonder how you learned all this low level stuff. Thanks for you for the well detailed response.