Moongate uses a world-generation pipeline based on IWorldGenerator.
Even after cleanup (VM bundle at 0 bytes), performance degrades within minutes:
,更多细节参见新收录的资料
Lil' Fun Langs' Guts,更多细节参见新收录的资料
This form of dependency injection is what makes Rust traits so much more powerful than interfaces in other languages, because the trait system is not only able to look up for direct dependencies, but also perform lookup for any transitive dependencies and automatically instantiate generic trait implementations, no matter how deep the dependency graph goes.