Hacker News new | ask | show | jobs
by nighmi 1077 days ago
What use cases do you actually have for plugins? I mean, why do you need that hotloading factor?
1 comments

A 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)