Updating D-based apps without recompiling it

cym13 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 24 16:03:54 PDT 2016


On Thursday, 24 March 2016 at 18:46:43 UTC, Jesse Phillips wrote:
> 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.

It can be done in compiled languages too, here an example of a 
library that allows it in C http://kitsune-dsu.com/


More information about the Digitalmars-d-learn mailing list