|
|
|
|
|
by andrewmcwatters
2209 days ago
|
|
Quite an impressive project! I'm curious how the authors went about their strategy for hot reloading in particular. In Grid, I extend the package library, and utilize the implementation details of `module` which allow one to override or set new keys on subsequent loads of the same file. It's one of the reasons I don't think I can use the newer module patterns beyond Lua 5.1.5, because as far as I understand, they require one to completely replace what's stored in `package.loaded` versus merging to any existing table. I had also not given much thought to static typing with Lua until the last year or so working with Lua only because it makes generating documentation harder. Otherwise, I tend to share Roberto Ierusalimschy's opinions of dynamic typing. I would read his most recent interview from Moscow in 2019. I think he's a very interesting person. |
|