Skip to content

IoC Containers Compared. Single and Multi Threaded Speed Test

codetuple.com
3 pointseljbutler1 comment
On HN

Comments

Article says "IOC !== DI".

Actually that is wrong.

IOC = Composition Root + DI + Lifetime Management

Be wary of any IOC Container that supports a global static function like GetInstance<T>(...) As this is not IOC or DI. This is Service Location - a totally different pattern. IOC Containers that support that often have confused semantics all over the place.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.