It's unlike most android apps because it's written in Rust (instead of Java/Kotlin) and we use an unconventional UI library (egui) with immediate mode rendering!

immediate mode can actually be lighter for lower performance devices because it avoids keeping and mutating a big retained widget tree in memory. instead, it just redraws what’s needed every frame, straight from program state

nostr:note17dzd5su64vg2hejh6nrxtld26vaahwl48rzjz8g23w4r8zmvr5lqyc62g3

Reply to this note

Please Login to reply.

Discussion

I feel like people didn’t believe me when I used to say this the fasted app I have ever run on computer. 🤣

I don’t know about phones, I would imagine it’s equally faster than anything else that’s running.

This is very impressive. Bravo.

This is the first release !! More feature will surely come right?

yes!!! in the near future I'm guessing we'll have zap notifications and video support, among many more

How do you guys build the APK, or design the screens? Do you use Android Studio at all?

Is Rust used for cross platform support in iOS too?

We use the android native development kit (NDK), which is Google's toolkit for compiling code from any LLVM backed language into android compatible code. Then gradle packages the library into an APK by reading the manifest which declares where the library entrypoint is.

The vast majority of our designs have come from nostr:npub1uapy44zhu5f0markfftt7m2z3gr2zwssq6h3lw8qlce0d5pjvhrs3q9pmv designed in figma!

We've never had to use android studio.

We can technically support iOS, though it will remain to be seen whether we will actually do that or not

Thanks for that good explanation for Android.

I am guessing then that the iOS version of Damus is programmed using Swift and the standard apple toolchain.

yes, for the existing version of damus iOS