Jump to page: 1 222  
Page
Thread overview
C++ guys hate static_if?
Mar 09, 2013
Brad Anderson
Mar 09, 2013
Walter Bright
Mar 09, 2013
H. S. Teoh
Mar 09, 2013
Era Scarecrow
Mar 09, 2013
Jouko Koski
Mar 09, 2013
simendsjo
Mar 09, 2013
deadalnix
Mar 09, 2013
simendsjo
Mar 09, 2013
monarch_dodra
Mar 09, 2013
Artur Skawina
Mar 09, 2013
Ali Çehreli
Mar 09, 2013
deadalnix
Mar 09, 2013
1100110
Mar 09, 2013
deadalnix
Mar 09, 2013
1100110
Mar 09, 2013
Ali Çehreli
Mar 12, 2013
Hans Uhlig
Mar 20, 2013
Simen Kjaeraas
Mar 11, 2013
Nick Treleaven
Mar 11, 2013
Jouko Koski
Mar 11, 2013
Timon Gehr
Mar 11, 2013
Jonathan M Davis
Mar 11, 2013
Timon Gehr
Mar 11, 2013
H. S. Teoh
Mar 11, 2013
monarch_dodra
Mar 12, 2013
Timon Gehr
Mar 12, 2013
Timon Gehr
Mar 11, 2013
monarch_dodra
Mar 11, 2013
monarch_dodra
Mar 12, 2013
Jonathan M Davis
Mar 12, 2013
Nick Sabalausky
Mar 12, 2013
H. S. Teoh
Mar 12, 2013
deadalnix
Mar 12, 2013
Andrej Mitrovic
Mar 12, 2013
Jesse Phillips
Mar 11, 2013
Era Scarecrow
Mar 12, 2013
deadalnix
Mar 11, 2013
Jesse Phillips
Mar 14, 2013
Don
Mar 14, 2013
Artur Skawina
Mar 14, 2013
monarch_dodra
Mar 14, 2013
deadalnix
Mar 14, 2013
deadalnix
Mar 14, 2013
Dicebot
Mar 14, 2013
Dmitry Olshansky
Mar 14, 2013
Walter Bright
Mar 14, 2013
Timon Gehr
Mar 14, 2013
Walter Bright
Mar 14, 2013
Timon Gehr
Mar 14, 2013
Walter Bright
Mar 14, 2013
Dmitry Olshansky
Mar 14, 2013
Walter Bright
Mar 14, 2013
Dmitry Olshansky
Mar 14, 2013
Walter Bright
Mar 14, 2013
Dmitry Olshansky
Mar 14, 2013
H. S. Teoh
Mar 14, 2013
Dicebot
Mar 14, 2013
Jonathan M Davis
Mar 15, 2013
Dmitry Olshansky
Mar 15, 2013
Walter Bright
Mar 15, 2013
Dmitry Olshansky
Mar 15, 2013
Don
Mar 15, 2013
Walter Bright
Mar 14, 2013
deadalnix
Mar 15, 2013
deadalnix
Mar 15, 2013
Walter Bright
Mar 14, 2013
Walter Bright
Mar 14, 2013
Nick Sabalausky
Mar 14, 2013
Nick Sabalausky
Mar 14, 2013
Jonathan M Davis
Mar 14, 2013
Nick Sabalausky
Mar 15, 2013
deadalnix
Mar 15, 2013
Dmitry Olshansky
Mar 15, 2013
Dmitry Olshansky
Mar 14, 2013
Walter Bright
Mar 14, 2013
bearophile
Mar 14, 2013
bearophile
Mar 14, 2013
H. S. Teoh
Mar 14, 2013
Dicebot
Mar 14, 2013
H. S. Teoh
Mar 14, 2013
Jonathan M Davis
Mar 14, 2013
H. S. Teoh
Mar 14, 2013
Timon Gehr
Mar 14, 2013
Dicebot
Mar 14, 2013
Walter Bright
Mar 14, 2013
H. S. Teoh
Mar 14, 2013
Timon Gehr
Mar 14, 2013
Timon Gehr
Mar 14, 2013
Walter Bright
Mar 14, 2013
monarch_dodra
Mar 15, 2013
Timon Gehr
Mar 14, 2013
Timon Gehr
Mar 14, 2013
H. S. Teoh
Mar 14, 2013
Andrej Mitrovic
Mar 14, 2013
H. S. Teoh
Mar 14, 2013
Walter Bright
Mar 14, 2013
Walter Bright
Mar 14, 2013
bearophile
Mar 14, 2013
Sergei Nosov
Mar 14, 2013
bearophile
Mar 14, 2013
Nick Sabalausky
Mar 14, 2013
Andrej Mitrovic
Mar 14, 2013
Dicebot
Mar 14, 2013
Dicebot
Mar 14, 2013
H. S. Teoh
Mar 14, 2013
Jonathan M Davis
Mar 14, 2013
Walter Bright
Mar 14, 2013
bearophile
Mar 14, 2013
Walter Bright
Mar 14, 2013
Jonathan M Davis
Mar 14, 2013
H. S. Teoh
Mar 14, 2013
H. S. Teoh
Mar 14, 2013
Walter Bright
Mar 14, 2013
Walter Bright
Mar 14, 2013
H. S. Teoh
Mar 14, 2013
bearophile
Mar 14, 2013
Nick Sabalausky
Mar 14, 2013
Jonathan M Davis
Mar 14, 2013
H. S. Teoh
Mar 14, 2013
Dmitry Olshansky
Mar 14, 2013
H. S. Teoh
Mar 14, 2013
Dmitry Olshansky
Mar 14, 2013
Artur Skawina
Mar 14, 2013
Walter Bright
Mar 14, 2013
bearophile
Mar 12, 2013
Dmitry Olshansky
Mar 09, 2013
deadalnix
Mar 09, 2013
Nick Sabalausky
Mar 09, 2013
Nick Sabalausky
Mar 09, 2013
1100110
Mar 10, 2013
Nick Sabalausky
Mar 10, 2013
1100110
Mar 10, 2013
Nick Sabalausky
Mar 09, 2013
d coder
Mar 09, 2013
Era Scarecrow
Mar 09, 2013
monarch_dodra
Mar 09, 2013
monarch_dodra
Mar 09, 2013
Peter Alexander
Mar 12, 2013
TommiT
Mar 12, 2013
deadalnix
Mar 12, 2013
Walter Bright
Mar 12, 2013
deadalnix
Mar 12, 2013
Walter Bright
Mar 12, 2013
deadalnix
Mar 12, 2013
Walter Bright
Mar 12, 2013
deadalnix
Mar 12, 2013
monarch_dodra
Mar 12, 2013
deadalnix
Mar 12, 2013
Walter Bright
Mar 12, 2013
deadalnix
Mar 12, 2013
Walter Bright
Mar 12, 2013
Andrej Mitrovic
Mar 12, 2013
deadalnix
Mar 12, 2013
TommiT
Mar 12, 2013
H. S. Teoh
Mar 12, 2013
TommiT
Mar 12, 2013
TommiT
Mar 12, 2013
deadalnix
Mar 12, 2013
TommiT
Mar 12, 2013
deadalnix
Mar 12, 2013
TommiT
Mar 12, 2013
anonymous
Mar 12, 2013
TommiT
Mar 12, 2013
Nick Sabalausky
Mar 12, 2013
TommiT
Mar 12, 2013
Nick Sabalausky
Mar 12, 2013
H. S. Teoh
Mar 12, 2013
Nick Sabalausky
Mar 13, 2013
deadalnix
Mar 12, 2013
TommiT
Mar 13, 2013
Iain Buclaw
Mar 13, 2013
deadalnix
Mar 13, 2013
Iain Buclaw
Mar 10, 2013
Walter Bright
Mar 10, 2013
Era Scarecrow
Mar 10, 2013
monarch_dodra
Mar 10, 2013
Peter Alexander
Mar 10, 2013
Walter Bright
Mar 09, 2013
deadalnix
Mar 10, 2013
SomeDude
Mar 11, 2013
deadalnix
Mar 12, 2013
so
Mar 09, 2013
Timon Gehr
Mar 10, 2013
Jesse Phillips
Mar 11, 2013
Jonathan M Davis
Mar 11, 2013
Era Scarecrow
Mar 11, 2013
ponce
March 09, 2013
       See the static_if paper here:

http://isocpp.org/forums

Under the post "constraints and static if" there is a link to a
document about
static_if

https://docs.google.com/viewer?a=v&pid=forums&srcid=MDIyMDc3NjUwMTczOTM0Mjk3NjABMDI2MzM3MjkxNDM4NDQ5MzE4NDcBLWVsS1Y4dFhtdDhKATUBaXNvY3BwLm9yZwF2Mg

      Are they full of it? Has it caused the problems they mention
in
D?
March 09, 2013
On Saturday, 9 March 2013 at 00:48:59 UTC, DypthroposTheImposter wrote:
>        See the static_if paper here:
>
> http://isocpp.org/forums
>
> Under the post "constraints and static if" there is a link to a
> document about
> static_if
>
> https://docs.google.com/viewer?a=v&pid=forums&srcid=MDIyMDc3NjUwMTczOTM0Mjk3NjABMDI2MzM3MjkxNDM4NDQ5MzE4NDcBLWVsS1Y4dFhtdDhKATUBaXNvY3BwLm9yZwF2Mg
>
>       Are they full of it? Has it caused the problems they mention
> in
> D?

Well, the two guys with an alternative proposal (concepts-lite) seem to hate static if (along with a third guy).

There seems to be a lot of strawman arguments in this paper.
March 09, 2013
On 3/8/2013 5:19 PM, Brad Anderson wrote:
> On Saturday, 9 March 2013 at 00:48:59 UTC, DypthroposTheImposter wrote:
>>       Are they full of it? Has it caused the problems they mention
>> in
>> D?
>
> Well, the two guys with an alternative proposal (concepts-lite) seem to hate
> static if (along with a third guy).
>
> There seems to be a lot of strawman arguments in this paper.

Many of the criticisms in the paper are addressed by our positive experience with static if in D.
March 09, 2013
On Fri, Mar 08, 2013 at 07:50:26PM -0800, Walter Bright wrote:
> On 3/8/2013 5:19 PM, Brad Anderson wrote:
> >On Saturday, 9 March 2013 at 00:48:59 UTC, DypthroposTheImposter wrote:
> >>      Are they full of it? Has it caused the problems they mention
> >>in
> >>D?
> >
> >Well, the two guys with an alternative proposal (concepts-lite) seem
> >to hate static if (along with a third guy).
> >
> >There seems to be a lot of strawman arguments in this paper.
> 
> Many of the criticisms in the paper are addressed by our positive experience with static if in D.

I didn't read the paper, but I have to say that static if in D has been extremely, extremely useful in my code. Now that I've become acquianted with it, I can't live without it. It's pretty much a necessity when writing heavily-templated code. But given C++'s broken template design, I can see why its value may not have been appreciated by some people.

D may still have its warts, but in terms of being a "better C++", I think it has done a superb job, especially in the area of templates and compile-time mechanisms. Static if + CTFE + sane template syntax = readable template code = total win for D over C++.


T

-- 
Long, long ago, the ancient Chinese invented a device that lets them see through walls. It was called the "window".
March 09, 2013
On Saturday, 9 March 2013 at 00:48:59 UTC, DypthroposTheImposter wrote:
>        See the static_if paper here:
>
> http://isocpp.org/forums
>
> Under the post "constraints and static if" there is a link to a
> document about
> static_if
>
> https://docs.google.com/viewer?a=v&pid=forums&srcid=MDIyMDc3NjUwMTczOTM0Mjk3NjABMDI2MzM3MjkxNDM4NDQ5MzE4NDcBLWVsS1Y4dFhtdDhKATUBaXNvY3BwLm9yZwF2Mg
>
>       Are they full of it? Has it caused the problems they mention
> in
> D?

I think most of the point made in this document are moot. Still static if in D don't define many corner cases that are implementation defined. But that don't change much unless you really go into tricky code. Most static if "just work", so this is really positive at the end !
March 09, 2013
On Sat, 09 Mar 2013 01:48:55 +0100
"DypthroposTheImposter" <mcbracket@gmail.com> wrote:

>         See the static_if paper here:
> 
> http://isocpp.org/forums
> 
> Under the post "constraints and static if" there is a link to a
> document about
> static_if
> 
> https://docs.google.com/viewer?a=v&pid=forums&srcid=MDIyMDc3NjUwMTczOTM0Mjk3NjABMDI2MzM3MjkxNDM4NDQ5MzE4NDcBLWVsS1Y4dFhtdDhKATUBaXNvY3BwLm9yZwF2Mg
> 
>        Are they full of it? Has it caused the problems they mention
> in
> D?

Does that document exist somewhere in a the form of a real web page? Or at least *any* real document format?
March 09, 2013
On Sat, 9 Mar 2013 02:08:07 -0500
Nick Sabalausky <SeeWebsiteToContactMe@semitwist.com> wrote:

> On Sat, 09 Mar 2013 01:48:55 +0100
> "DypthroposTheImposter" <mcbracket@gmail.com> wrote:
> 
> >         See the static_if paper here:
> > 
> > http://isocpp.org/forums
> > 
> > Under the post "constraints and static if" there is a link to a
> > document about
> > static_if
> > 
> > https://docs.google.com/viewer?a=v&pid=forums&srcid=MDIyMDc3NjUwMTczOTM0Mjk3NjABMDI2MzM3MjkxNDM4NDQ5MzE4NDcBLWVsS1Y4dFhtdDhKATUBaXNvY3BwLm9yZwF2Mg
> > 
> >        Are they full of it? Has it caused the problems they mention
> > in
> > D?
> 
> Does that document exist somewhere in a the form of a real web page? Or at least *any* real document format?

To be clear, that's not a veiled attack on anything. I really *am* just simply asking if there's a link for that anywhere to a real file (html, pdf, text, wordperfect, gif, hell whatever.)

March 09, 2013
On Saturday, 9 March 2013 at 03:50:29 UTC, Walter Bright wrote:
> On 3/8/2013 5:19 PM, Brad Anderson wrote:
>> On Saturday, 9 March 2013 at 00:48:59 UTC, DypthroposTheImposter wrote:
>>> Are they full of it? Has it caused the problems they mention in D?
>>
>> Well, the two guys with an alternative proposal (concepts-lite) seem to hate static if (along with a third Guy).
>>
>> There seems to be a lot of strawman arguments in this paper.
>
> Many of the criticisms in the paper are addressed by our positive experience with static if in D.

 Since C++ is so deeply etched with C's previous limitations and problems, it also got the preprocessor, which when you think about it does the same thing (until you've actually used it); Now you've got preprocessor #ifdef's mixed with compile time execution determining what should and shouldn't be compiled, it is a very messy pile of crud.

 Even IF static_if gets working and accepted in C++, it's core requirement to be 100% backwards compatible with all previous code ensures it's growth will forever be hampered.

 Maybe if they could get their template system fixed (which will never happen) then static_if would work much better.

 God I hate C++.
March 09, 2013
"Walter Bright"  wrote:

> Many of the criticisms in the paper are addressed by our positive experience with static if in D.

Sometimes I do find it confusing that { does or does not introduce a new scope in a very similar-looking contexts.

-- 
Jouko 

March 09, 2013
On Saturday, 9 March 2013 at 09:12:30 UTC, Jouko Koski wrote:
> "Walter Bright"  wrote:
>
>> Many of the criticisms in the paper are addressed by our positive experience with static if in D.
>
> Sometimes I do find it confusing that { does or does not introduce a new scope in a very similar-looking contexts.

Is there more constructs than static if that doesn't create a scope?
« First   ‹ Prev
1 2 3 4 5 6 7 8 9 10 11