Re: D1, D2 and the future of libraries

2012-01-22 Thread Masahiro Nakagawa
My existing and developing libraries support only D2 :) Masahiro On Sun, 22 Jan 2012 01:07:49 +0900, Stewart Gordon smjg_1...@yahoo.com wrote: For the last however long, I've been still programming mostly in D1, but aiming to keep my libraries compatible with both D1 and D2. But

Re: D1, D2 and the future of libraries

2012-01-22 Thread Stewart Gordon
So far, everyone who's replied is supporting only D2. A few more questions: Did you previously write libraries for D1? If so: - Did you find translating the code straightforward, or are there bits that you found a challenge? - What triggered you to switch? For example, D2 just being

Re: D1, D2 and the future of libraries

2012-01-22 Thread Kiith-Sa
I had a small, ~10kloc project I had to rewrite to D2 (not a library). It wasn't much of a problem to port. First I just tried to compile the code with DMD2 - there were compiler errors, so I fixed those - that took about 1-2 days. More problematic were things that work differently in D2 -

Re: D1, D2 and the future of libraries

2012-01-22 Thread Jacob Carlborg
On 2012-01-21 17:07, Stewart Gordon wrote: For the last however long, I've been still programming mostly in D1, but aiming to keep my libraries compatible with both D1 and D2. But changes in D2 have made this more of a challenge. I've also been put off switching to D2 by the wait for D1 to be

Re: D1, D2 and the future of libraries

2012-01-22 Thread Jesse Phillips
On Saturday, 21 January 2012 at 16:07:58 UTC, Stewart Gordon wrote: For the last however long, I've been still programming mostly in D1, but aiming to keep my libraries compatible with both D1 and D2. I haven't built libraries for D1, I have converted a few from D1. My things are D2 only,

Re: D1, D2 and the future of libraries

2012-01-22 Thread Nick Sabalausky
Stewart Gordon smjg_1...@yahoo.com wrote in message news:jfh9bb$2v3$1...@digitalmars.com... So far, everyone who's replied is supporting only D2. A few more questions: Did you previously write libraries for D1? Yes. Made the switch about a year, year and a half ago. If so: - Did you

Re: D1, D2 and the future of libraries

2012-01-22 Thread Nick Sabalausky
Nick Sabalausky a@a.a wrote in message news:jfi071$1dps$1...@digitalmars.com... Stewart Gordon smjg_1...@yahoo.com wrote in message news:jfh9bb$2v3$1...@digitalmars.com... - What triggered you to switch? For example, D2 just being there, signs that D2 is stabilising, the announcement of

D1, D2 and the future of libraries

2012-01-21 Thread Stewart Gordon
For the last however long, I've been still programming mostly in D1, but aiming to keep my libraries compatible with both D1 and D2. But changes in D2 have made this more of a challenge. I've also been put off switching to D2 by the wait for D1 to be finished. Now the plan to discontinue D1

Re: D1, D2 and the future of libraries

2012-01-21 Thread Kiith-Sa
I'm only supporting D2. D1 support would require more effort that can be better used to add more features and create more libraries. New D users are unlikely to try D1 since D2 is now rather stable, and even if the do, they won't stay there for long. I myself started using D with D1 about

Re: D1, D2 and the future of libraries

2012-01-21 Thread Nick Sabalausky
Stewart Gordon smjg_1...@yahoo.com wrote in message news:jfenst$av2$1...@digitalmars.com... How many people here are still using D1? What are those of you who write libraries mainly doing? (a) supporting only D1? (b) supporting only D2? (c) releasing separate D1 and D2 versions? (d) using

Re: D1, D2 and the future of libraries

2012-01-21 Thread Trass3r
D2 only. No point in supporting D1.