Создатель библиотеки Koin провел тесты и выяснил, что его либа быстрее, чем Hilt. Но в каментах ему уже написали, что не все так однозначно )
#android #di #koin #hilt
https://proandroiddev.com/benchmarking-koin-vs-dagger-hilt-in-modern-android-development-2024-ff7bb40470df
#android #di #koin #hilt
https://proandroiddev.com/benchmarking-koin-vs-dagger-hilt-in-modern-android-development-2024-ff7bb40470df
Medium
Benchmarking Koin vs. Dagger Hilt in Modern Android Development (2024)
How Koin scales and performs compared to Hilt, using practical benchmarks and insights.
😁20🤣6❤1👍1
Автор рассказывает почему в Dagger/Hilt аннотация @Binds эффективнее, чем @Provides
#kotlin #di #dagger #hilt #performance
https://medium.com/@m.rzna/why-binds-is-faster-than-provides-annotation-in-dagger-hilt-7d0f89af6542
#kotlin #di #dagger #hilt #performance
https://medium.com/@m.rzna/why-binds-is-faster-than-provides-annotation-in-dagger-hilt-7d0f89af6542
Medium
Why @Binds is faster than @Provides annotation in Dagger/Hilt?
I’ve seen Android projects heavily using Dagger/Hilt for Dependency Injection purposes, along with Kapt or nowadays, KSP to improve the…
👍12👎1