Am 13.10.2016 um 21:07 schrieb Jacob Carlborg:

On 2016-10-11 22:10, Sönke Ludwig wrote:

Currently the path is fixed and the sources would have to be edited
manually. The problem is that the file is read before any application
code is run (vibe.core.core's shared static this is the first to
trigger the lazy config file load).

Now when runApplication exists and the users can defined the main
function themselves, is there a reason to use shared static this
anymore, except for legacy reason?

The basic setup still needs to happen before main() and before
runApplication(), at least as long as it is supposed to be possible to
place initialization code before runApplication. Then there is also
still static this, which might be in the same boat, and which is
required for per-thread setup.