Updating D-based apps without recompiling it

Jesse Phillips via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 24 11:46:43 PDT 2016


On Wednesday, 23 March 2016 at 17:29:50 UTC, Jacob Carlborg wrote:
> On 2016-03-23 18:15, Jesse Phillips wrote:
>
>> Do you have an example of this being done in any other 
>> language?
>
> In Erlang it's possible to hot swap code. I'm not sure how it 
> works though. But if we're talking servers, the easiest is to 
> have multiple instances and restart one at the time with the 
> new code.

Looks like it is doable because it is byte code: 
http://erlang.org/doc/reference_manual/code_loading.html#id88478

My recommendation would have been using a DLL, but that was 
already excluded as an option.


More information about the Digitalmars-d-learn mailing list