hello I am quite new to kotlin-native(I try androi...
# kotlin-native
m
hello I am quite new to kotlin-native(I try android/ios) Could you recommend good DI framework?
j
I would simply create my app with DI framework in designs and one main file, where all components are created and linked together. It is probably quite hard to do in the library without reflections
y
m
ok, so you mean some sort of service locator inside
common
module?
y
(mpp available in 2.0.0 beta)
m
@yuya_horita I tried koin on android, but I am not sure on iOS... did you deal with that on 🍏 ?
y
sorry, koin 2.0.0 is not for mpp yet.
I made a mistake.
MPP seems to be available in
2.1
m
ok, thanks for help @yuya_horita!
👍 1
s
oh wow, koin's performance is garbage
m
@spierce7 what do you mean? have some benchmark?
s
Look at the link posted above. It has benchmarks