www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - undeaD - zombie phobos modules back from the grave

reply Walter Bright <newshound2 digitalmars.com> writes:
http://code.dlang.org/packages/undead

https://github.com/DigitalMars/undeaD

In upgrading old D code, one time consuming aspect is reworking code that 
depends on old Phobos modules that have been taken out behind the woodshed and 
shot. Sometimes, there's significantly more work involved than just renaming 
things. Just to get things working, it's convenient to be able to use the old 
modules until one has time to redo the code.

I've done this myself, and then noticed that Dmitry Olshansky had also done it 
when updating DMDScript to D2.

Rather than having people keep duplicating others' efforts, I created the
undeaD 
library of zombie Phobos modules.

I'm new to dub, so if I botched that up, please do a pull request! Also, if 
there are any other dead Phobos modules you'd like exhumed, PR's are welcome.
Nov 30 2014
next sibling parent reply Jacob Carlborg <doob me.com> writes:
On 2014-12-01 05:07, Walter Bright wrote:
 http://code.dlang.org/packages/undead

 https://github.com/DigitalMars/undeaD

 In upgrading old D code, one time consuming aspect is reworking code
 that depends on old Phobos modules that have been taken out behind the
 woodshed and shot. Sometimes, there's significantly more work involved
 than just renaming things. Just to get things working, it's convenient
 to be able to use the old modules until one has time to redo the code.
There wasn't significant work to get these modules up to date with the latest compiler?
 I'm new to dub, so if I botched that up, please do a pull request! Also,
 if there are any other dead Phobos modules you'd like exhumed, PR's are
 welcome.
Just a minor note, seems a bit odd to start with version 1.0.1. But you might already have versions that haven't been released. -- /Jacob Carlborg
Nov 30 2014
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 11/30/2014 11:43 PM, Jacob Carlborg wrote:
 On 2014-12-01 05:07, Walter Bright wrote:
 There wasn't significant work to get these modules up to date with the latest
 compiler?
No, not much. bitarray took a bit longer, as it was a D1 module.
 I'm new to dub, so if I botched that up, please do a pull request! Also,
 if there are any other dead Phobos modules you'd like exhumed, PR's are
 welcome.
Just a minor note, seems a bit odd to start with version 1.0.1. But you might already have versions that haven't been released.
Well, I had tagged 1.0.0, then fixed a problem :-)
Nov 30 2014
parent reply "Martin Nowak" <code dawg.eu> writes:
On Monday, 1 December 2014 at 07:53:05 UTC, Walter Bright wrote:
 Well, I had tagged 1.0.0, then fixed a problem :-)
Well 1.0.0 is reserved for the first stable release, usually you'd begin with 0.1.0 or so. Good idea BTW.
Dec 01 2014
next sibling parent ketmar via Digitalmars-d-announce <digitalmars-d-announce puremagic.com> writes:
On Mon, 01 Dec 2014 12:33:29 +0000
Martin Nowak via Digitalmars-d-announce
<digitalmars-d-announce puremagic.com> wrote:

 On Monday, 1 December 2014 at 07:53:05 UTC, Walter Bright wrote:
 Well, I had tagged 1.0.0, then fixed a problem :-)
Well 1.0.0 is reserved for the first stable release, usually=20 you'd begin with 0.1.0 or so.
in FOSS world "stable release" is the release which developers declared "stable", not some kind of "1.0". ;-)
Dec 01 2014
prev sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 12/1/2014 4:33 AM, Martin Nowak wrote:
 On Monday, 1 December 2014 at 07:53:05 UTC, Walter Bright wrote:
 Well, I had tagged 1.0.0, then fixed a problem :-)
Well 1.0.0 is reserved for the first stable release, usually you'd begin with 0.1.0 or so. Good idea BTW.
Since these are former Phobos modules, there's no design work to be done with them. It's just get them to compile and pass their unit tests.
Dec 01 2014
prev sibling parent reply "Brad Anderson" <eco gnuk.net> writes:
On Monday, 1 December 2014 at 04:07:06 UTC, Walter Bright wrote:
 http://code.dlang.org/packages/undead

 https://github.com/DigitalMars/undeaD

 [snip]
This was a great idea.
Dec 01 2014
parent Walter Bright <newshound2 digitalmars.com> writes:
On 12/1/2014 2:19 PM, Brad Anderson wrote:
 This was a great idea.
Aw, shucks! :-)
Dec 01 2014