digitalmars.D.dtl - DTL Release
- teqDruid (11/11) Jul 26 2004 I know it's getting close, but when should we expect DTL? Are you
- Ben Hinkle (9/20) Jul 26 2004 I know this doesn't answer your question but mintl.map can be used as a ...
- teqDruid (8/35) Jul 26 2004 There are all sorts of things that I *could* do, and I am doing, but it
- Ben Hinkle (41/64) Jul 27 2004 everywhere),
- Matthew (16/27) Jul 28 2004 I'm still working away, whenever I can grab the time away.
- Gold Dragon (5/26) Jul 29 2004 Well, I'm far from a smart mind but I'm a smart ass and have a way of
- Matthew (9/35) Jul 29 2004 of
I know it's getting close, but when should we expect DTL? Are you allowing people to look at prereleases? If not, could you be? I ask because I am right now writing code that is in desperate need of DTL. I'm using primitive arrays, where I should be using sets, and this is architectural code (like method signatures that'll be used everywhere), so I don't need a fully featured or fully working DTL, just basically a set of prototypes and skeleton code, which I'm sure is done. I don't want to delay writing this stuff any more than I already have, and I don't want to rewrite it once DTL is out either. Something of a pickle. Thanks John
Jul 26 2004
"teqDruid" <me teqdruid.com> wrote in message news:pan.2004.07.26.15.35.22.913434 teqdruid.com...I know it's getting close, but when should we expect DTL? Are you allowing people to look at prereleases? If not, could you be? I ask because I am right now writing code that is in desperate need of DTL. I'm using primitive arrays, where I should be using sets, and this is architectural code (like method signatures that'll be used everywhere), so I don't need a fully featured or fully working DTL, just basically a set of prototypes and skeleton code, which I'm sure is done. I don't want to delay writing this stuff any more than I already have, and I don't want to rewrite it once DTL is out either. Something of a pickle. Thanks JohnI know this doesn't answer your question but mintl.map can be used as a set if you just pick some random value type - eg Map!(K,int). Or if you don't need sorting a builtin assoc array int[K] would also do. My gut tells me it is too early in D's existance to consider any API as "set in stone" - we don't even have any APIs written on tissue paper much less stone. So I'd recommend being flexible. -Ben
Jul 26 2004
On Mon, 26 Jul 2004 15:58:12 -0400, Ben Hinkle wrote:"teqDruid" <me teqdruid.com> wrote in message news:pan.2004.07.26.15.35.22.913434 teqdruid.com...There are all sorts of things that I *could* do, and I am doing, but it would be nice to have something that I'll keep using. I'm assuming that DTL will become pretty standard, so I'd like to start using it- even if it's just a skeleton implementation. Basically, if DTL is interface based (defines interfaces, and implements them) it'd be nice if the interfaces were released soon (or now). JohnI know it's getting close, but when should we expect DTL? Are you allowing people to look at prereleases? If not, could you be? I ask because I am right now writing code that is in desperate need of DTL. I'm using primitive arrays, where I should be using sets, and this is architectural code (like method signatures that'll be used everywhere), so I don't need a fully featured or fully working DTL, just basically a set of prototypes and skeleton code, which I'm sure is done. I don't want to delay writing this stuff any more than I already have, and I don't want to rewrite it once DTL is out either. Something of a pickle. Thanks JohnI know this doesn't answer your question but mintl.map can be used as a set if you just pick some random value type - eg Map!(K,int). Or if you don't need sorting a builtin assoc array int[K] would also do. My gut tells me it is too early in D's existance to consider any API as "set in stone" - we don't even have any APIs written on tissue paper much less stone. So I'd recommend being flexible. -Ben
Jul 26 2004
"Ben Hinkle" <bhinkle mathworks.com> wrote in message news:ce3nol$1ecd$1 digitaldaemon.com..."teqDruid" <me teqdruid.com> wrote in message news:pan.2004.07.26.15.35.22.913434 teqdruid.com...everywhere),I know it's getting close, but when should we expect DTL? Are you allowing people to look at prereleases? If not, could you be? I ask because I am right now writing code that is in desperate need of DTL. I'm using primitive arrays, where I should be using sets, and this is architectural code (like method signatures that'll be usedandso I don't need a fully featured or fully working DTL, just basically a set of prototypes and skeleton code, which I'm sure is done. I don't want to delay writing this stuff any more than I already have,pickle.I don't want to rewrite it once DTL is out either. Something of asetThanks JohnI know this doesn't answer your question but mintl.map can be used as aif you just pick some random value type - eg Map!(K,int). Or if you don't need sorting a builtin assoc array int[K] would also do. My gut tells meitis too early in D's existance to consider any API as "set in stone" - we don't even have any APIs written on tissue paper much less stone. So I'd recommend being flexible. -BenIn fact I've attached a little set.d for making wrappers around Map!(K,int) or int[K] depending on if sorting is needed or not. The one usability issue with this approach is that the "int" will show up in foreach statements or other signatures. But it works pretty well in general. I'll probably expand out the doc and dump it into mintl. -Ben begin 666 set.d M+RHJ(%QF:6QE('-E="YD"B J(%QB<FEE9B!3970 86YD(%-O<G1E9%-E="!A M;&EA<V5S( H * H *B!7<FET=&5N(&)Y($)E;B!(:6YK;&4 86YD(')E;&5A M<V5D('1O('1H92!P=6)L:6, 9&]M86EN+"!A<PH *B!E>'!L86EN960 870 M:'1T<#HO+V-R96%T:79E8V]M;6]N<RYO<F<O;&EC96YS97,O<'5B;&EC9&]M M86EN"B J+PH*;6]D=6QE(&UI;G1L+G-E=#L*"G!R:79A=&4 :6UP;W)T(&UI M;G1L+FUA<#L*"B\J($$ <V]R=&5D('-E="!I;7!L96UE;G1E9"!A<R!A($UA M<"!W:71H(&EN="!V86QU97,N(%5S92!I;F1E>&EN9PH *B!E>'!R97-S:6]N M<R!T;R!A9&0 =&\ =&AE('-E="!A;F0 ;W!);B!T;R!T97-T(&EF(&%N(&ET M96T :7,*("H :6X =&AE('-E="X*("HO"G1E;7!L871E(%-O<G1E9%-E="A+ M*2!["B!A;&EA<R!-87 A*$LL:6YT*2!3;W)T9613970["GT*"B\J($%N('5N M<V]R=&5D('-E="!I;7!L96UE;G1E9"!A<R!A(&)U:6QT:6X 87-S;V-I871I M=F4 87)R87D "B J('=I=& :6YT('9A;'5E<RX 57-E(&EN9&5X:6YG(&5X M<')E<W-I;VYS('1O(&%D9"!T;R!T:&4 <V5T( H *B!A;F0 (FEN(B!T;R!T M97-T(&EF(&%N(&ET96T :7, :6X =&AE('-E="X*("HO"G1E;7!L871E(%-E M="A+*2!["B!A;&EA<R!I;G1;2UT 4V5T.PI]" IU;FET=&5S="!["B 4V5T M(2AC:&%R6UTI(',["B <ULB:&5L;&\B73L +R\ 861D(")H96QL;R( =&\ M<V5T"B <ULB=V]R;&0B73L*("!A<W-E<G0H(")W;W)L9"( :6X <R *3L* M("!A<W-E<G0H(")H96QL;R( :6X <R *3L*("!A<W-E<G0H("$H(G=O<FQD M9F]O(B!I;B!S*2 I.PH (&9O<F5A8V H8VAA<EM=(&ME>2P :6YT(&1U;6UY M(#L <RD >PH (" <')I;G1F*"(E+BIS7&XB+&ME>2D["B ?0H*("!3;W)T M9613970A*&-H87);72D <S(["B <S);(FAE;&QO(ET["B <S);(G=O<FQD M(ET["B 87-S97)T*"!S,BYO<$EN*")W;W)L9"(I(" I.PH (&%S<V5R=" M<S(N;W!);B B:&5L;&\B*2 *3L*("!A<W-E<G0H("%S,BYO<$EN*")W;W)L M9&9O;R(I("D["B 9F]R96%C:"AC:&%R6UT :V5Y+"!I;G0 9'5M;7D .R!S D,BD >PH (" <')I;G1F*"(E+BIS7&XB+&ME>2D["B ?0I] ` end
Jul 27 2004
I'm still working away, whenever I can grab the time away. I've spent the whole day on it today, and I intend to release *something* before I go to bed tonight, but I tell you it's incredibly frustrating work because the compiler is still so full of bugs. Plenty of times I'm having to think of neat workarounds, or just leaving out swathes of functionality, because either the compiler crashes, or the exe won't link, or the exe crashes. FTR, I've got List, Map, Vector, Stack, and Queue, in varying degrees of completeness, and may have Set done also soon. By "varying degrees of completeness", this means whether or not they support the different enumeration models: foreach, ranges, Object-interfaces and parameterised interfaces. I'll provide a table of completeness in the docs when I release, so I'm not seen to be promising functionality that does not exist. I apologise _again_ to everyone who's (still) interested, but I promise I'm not just wagging my tail out here. Anyway, I'm getting to the point where the frustrations of working with the current state of the compiler/language are becoming quite demotivating, so I intend to get out what I can in the next day or so, and then let all the many smart minds out there have a look, and hopefully pick up things I've missed. Cheers Matthew "teqDruid" <me teqdruid.com> wrote in message news:pan.2004.07.26.15.35.22.913434 teqdruid.com...I know it's getting close, but when should we expect DTL? Are you allowing people to look at prereleases? If not, could you be? I ask because I am right now writing code that is in desperate need of DTL. I'm using primitive arrays, where I should be using sets, and this is architectural code (like method signatures that'll be used everywhere), so I don't need a fully featured or fully working DTL, just basically a set of prototypes and skeleton code, which I'm sure is done. I don't want to delay writing this stuff any more than I already have, and I don't want to rewrite it once DTL is out either. Something of a pickle. Thanks John
Jul 28 2004
Well, I'm far from a smart mind but I'm a smart ass and have a way of working around crap or throwing stuff against walls and giving up. Either one is cool and perhaps speaking my mind but I guess I should be nice since you may or may not release it tonight at a certain level of completeness.I'm still working away, whenever I can grab the time away. I've spent the whole day on it today, and I intend to release *something* before I go to bed tonight, but I tell you it's incredibly frustrating work because the compiler is still so full of bugs. Plenty of times I'm having to think of neat workarounds, or just leaving out swathes of functionality, because either the compiler crashes, or the exe won't link, or the exe crashes. FTR, I've got List, Map, Vector, Stack, and Queue, in varying degrees of completeness, and may have Set done also soon. By "varying degrees of completeness", this means whether or not they support the different enumeration models: foreach, ranges, Object-interfaces and parameterised interfaces. I'll provide a table of completeness in the docs when I release, so I'm not seen to be promising functionality that does not exist. I apologise _again_ to everyone who's (still) interested, but I promise I'm not just wagging my tail out here. Anyway, I'm getting to the point where the frustrations of working with the current state of the compiler/language are becoming quite demotivating, so I intend to get out what I can in the next day or so, and then let all the many smart minds out there have a look, and hopefully pick up things I've missed. Cheers Matthew
Jul 29 2004
I'm still drowning under compiler bugs. (See my rant on the digitalmars.D ng) "Gold Dragon" <dragonwing dragonu.net> wrote in message news:ceagec$192k$1 digitaldaemon.com...Well, I'm far from a smart mind but I'm a smart ass and have a way of working around crap or throwing stuff against walls and giving up. Either one is cool and perhaps speaking my mind but I guess I should be nice since you may or may not release it tonight at a certain level of completeness.ofI'm still working away, whenever I can grab the time away. I've spent the whole day on it today, and I intend to release *something* before I go to bed tonight, but I tell you it's incredibly frustrating work because the compiler is still so full of bugs. Plenty of times I'm having to thinkwon'tneat workarounds, or just leaving out swathes of functionality, because either the compiler crashes, or the exesoon.link, or the exe crashes. FTR, I've got List, Map, Vector, Stack, and Queue, in varying degrees of completeness, and may have Set done alsoforeach,By "varying degrees of completeness", this means whether or not they support the different enumeration models:release,ranges, Object-interfaces and parameterised interfaces. I'll provide a table of completeness in the docs when Iareso I'm not seen to be promising functionality that does not exist. I apologise _again_ to everyone who's (still) interested, but I promise I'm not just wagging my tail out here. Anyway, I'm getting to the point where the frustrations of working with the current state of the compiler/languagesmartbecoming quite demotivating, so I intend to get out what I can in the next day or so, and then let all the manyminds out there have a look, and hopefully pick up things I've missed. Cheers Matthew
Jul 29 2004