6 ms·
What use cases do you actually have for plugins? I mean, why do you need that hotloading factor?
by nighmi 3y ago
What use cases do you actually have for plugins? I mean, why do you need that hotloading factor?
- Fire-Dragon-DoL 3y agoA simple example: wordpress-like system. Plugins in wordpress are installed from the web UI and that's all, these just work with the same performance as the whole application (terrible native performance, but that's a PHP problem). In go to achieve that I would need to compile the plugins on the fly, as well as recompile the whole application, instead of delivering an executable file and a bunch of dynamic libraries. In .NET this was further used in large applications to reduce boot time, by loading code when it was first needed (DLLs)