Re: Updating D-based apps without recompiling it

2016-03-26 Thread Ozan via Digitalmars-d-learn
On Thursday, 24 March 2016 at 23:03:54 UTC, cym13 wrote: 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

Re: Updating D-based apps without recompiling it

2016-03-26 Thread Ozan via Digitalmars-d-learn
On Wednesday, 23 March 2016 at 17:15:35 UTC, Jesse Phillips wrote: On Wednesday, 23 March 2016 at 12:21:33 UTC, Ozan wrote: Hi Enterprise applications in productive environments requires smooth updating mechanisms without recompiling or reinstalling. It's not possible to stop an enterprise

Re: Updating D-based apps without recompiling it

2016-03-24 Thread cym13 via Digitalmars-d-learn
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

Re: Updating D-based apps without recompiling it

2016-03-24 Thread Jesse Phillips via Digitalmars-d-learn
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

Re: Updating D-based apps without recompiling it

2016-03-23 Thread Chris Wright via Digitalmars-d-learn
On Wed, 23 Mar 2016 12:21:33 +, Ozan wrote: > Enterprise applications in productive environments requires smooth > updating mechanisms without recompiling or reinstalling. The industry standard is to build on a build server and stop the application to update, but to have enough redundancy

Re: Updating D-based apps without recompiling it

2016-03-23 Thread Jacob Carlborg via Digitalmars-d-learn
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

Re: Updating D-based apps without recompiling it

2016-03-23 Thread Jesse Phillips via Digitalmars-d-learn
On Wednesday, 23 March 2016 at 12:21:33 UTC, Ozan wrote: Hi Enterprise applications in productive environments requires smooth updating mechanisms without recompiling or reinstalling. It's not possible to stop an enterprise application, then run "dub --reforce" and wait until finish. Mostly

Re: Updating D-based apps without recompiling it

2016-03-23 Thread Adam D. Ruppe via Digitalmars-d-learn
On Wednesday, 23 March 2016 at 12:21:33 UTC, Ozan wrote: Has someone experience with handling upgrading/updating D-Apps on the fly? The way I always did it was to simply have old and new running side-by-side in the transition. So, without stopping the old version, compile the new one and

Updating D-based apps without recompiling it

2016-03-23 Thread Ozan via Digitalmars-d-learn
Hi Enterprise applications in productive environments requires smooth updating mechanisms without recompiling or reinstalling. It's not possible to stop an enterprise application, then run "dub --reforce" and wait until finish. Mostly only few functions need to be replaced. Has someone