Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
December 01, 2014 undeaD - zombie phobos modules back from the grave | ||||
---|---|---|---|---|
| ||||
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. |
December 01, 2014 Re: undeaD - zombie phobos modules back from the grave | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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 |
December 01, 2014 Re: undeaD - zombie phobos modules back from the grave | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | 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 :-) |
December 01, 2014 Re: undeaD - zombie phobos modules back from the grave | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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.
|
December 01, 2014 Re: undeaD - zombie phobos modules back from the grave | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak Attachments: | 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 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". ;-) |
December 01, 2014 Re: undeaD - zombie phobos modules back from the grave | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | 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.
|
December 01, 2014 Re: undeaD - zombie phobos modules back from the grave | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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.
|
December 01, 2014 Re: undeaD - zombie phobos modules back from the grave | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brad Anderson | On 12/1/2014 2:19 PM, Brad Anderson wrote:
> This was a great idea.
Aw, shucks! :-)
|
Copyright © 1999-2021 by the D Language Foundation