Big JavaScript application cause huge startup latency. A 1Mb of JavaScript initializes about ~600-3000ms! without touching any part of DOM. LMD is inspired by AMD and provides similar module interface. It evals module only when they are required.
- Modules are similar to AMD: there is a require, but no define (all defined on startup) nor exports (module function returns object)
- All modules are loaded at startup
- Each function-module is initialized (evaled) on demand
Original LMD: https://github.com/azproduction/lmd
Well, you had written in the rationale about "startup latency" and that your implementation aims to reduce it. Hence my comment that I doubt that your approach actually solves the issue.
Also, please note that the unconditional try/catch will obscure any errors in the loaded modules. I'm thinking about modules that usually raise errors when a selftest fails etc.