On Tuesday, 26 July 2016 at 05:54:39 UTC, Sönke Ludwig wrote:
Am 26.07.2016 um 05:22 schrieb Puming:
A real runtime solution would require a D runtime interpreter
or JIT compiler. There would be an alternative solution based
on compiling each template to a shared library and then
dynamically recompiling/reloading those as required, but that
currently doesn't work due to the alias parameter based
interface of render!(...).
However, what should work well is a combination of
https://github.com/rejectedsoftware/vibe.d/pull/1385 - I'll
merge the latter one into vibe.d master today. It will require
to store session information and similar things in an external
store, and on Linux the Gold linker should be used for speed,
but then it should be almost as good as a runtime solution.
Thanks！Shared lib reloading is good. Looking forward to it fully