Re: D demoscene compo

2009-03-22 Thread bearophile
present in my d libs, but this means little), avoiding people to re-implement them all the time. If you want you can polish such geometric code of yours, and offer it as a single module to Walter (with a license fitting for Phobos). Bye, bearophile

Re: [Issue 4111] New: Foreach ranges accept floating-point extrema

2010-04-22 Thread bearophile
, bearophile

Re: ubyte in for loops

2010-08-07 Thread bearophile
. Bye, bearophile

Re: C1X features

2010-08-08 Thread bearophile
Please ignore this post, my error, I am sorry. I'll post it elsewhere again.

Re: ubyte in for loops

2010-08-10 Thread bearophile
, bearophile

Re: ubyte in for loops

2010-08-10 Thread bearophile
tries and failed. The number was %s, chosen); din.getc(); // useless? } Bye, bearophile

Re: D2 Associative Arrays keys has a bug

2010-09-02 Thread bearophile
; foreach (x; data) set[x]++; writeln(set.keys); } I think there is already a bug report about this. It's an important bug, makes AAs partially useless. For your next bug reports in freeform like this one it is better to use D.learn newsgroup. Bye, bearophile

Re: Cast Object - get null

2012-04-18 Thread bearophile
Namespace: Vector2D is my own class. If i compare vs2 with vs it works fine, but if i compare vs or vs2 with vf, the cast fail and i get a null-reference. How can i avoid this? I suggest to ask such questions in D.learn. Bye, bearophile

Re: [Issue 5765] ^^ and with BigInts

2012-05-03 Thread bearophile
Stian Pedersen: Whats the status on a BigInt implementation of modular exponentiation? Better to ask such questions in D.learn. The answer: I think there is no code yet to perform powmod efficiently in Phobos. Bye, bearophile

Re: compiler can't deduce template function

2012-05-29 Thread bearophile
Zhenya wrote: ... I suggest to minimize your code, and then show this problem again in the D.learn newsgroup. Bye, bearophile

Re: [Issue 8634] Anonymous function parameters

2012-09-09 Thread bearophile
On Sunday, 9 September 2012 at 19:59:02 UTC, Namespace wrote: BTW dmd doesn't produce any warning for unused variable. And this will never change. ;) Who knows, maybe eventually I'll be able to convince GDC maintainers to introduce this warning :-)

Re: [Issue 8672] %% operator

2012-09-16 Thread bearophile
On Monday, 17 September 2012 at 01:15:56 UTC, ixid wrote: Is there any use for the way C-style modulus interacts with negative numbers? It seems little more than broken on the basis of making positive number modulus operations efficient back when C was created. This is not a group for

Re: Access Violation Problems in DMD 2.060

2012-09-25 Thread bearophile
Raphael Basso: I'm having serious problems with Access Violation to create programs that make use of C DLLs in DMD 2060. After all, integration with DLLs in C DMD is fully functional? Try asking in D.learn, and to give more infomation. Bye, bearophile

Regarding hex strings

2012-10-17 Thread bearophile
, bearophile

Re: Regarding hex strings

2012-10-17 Thread bearophile
Jonathan M Davis: You posted to the wrong list. - Jonathan M Davis Right Jonathan, I am sorry :-) I will try again in the main D newsgroup. Bye, bearophile

Re: CTFE Memory Hogging Workaround?

2012-11-22 Thread bearophile
or more. Currently CTFE is not fit for heavy computations. Bye, bearophile

Re: overloading template functions it not always allowed

2010-12-31 Thread bearophile
Steven Schveighoffer: so even though I feel this is a bug (it should be silently ignored), Generally silently ignoring attributes is exactly the opposite you want from a modern compiler. See bug 3934. Bye, bearophile

Re: auto return type inheritance not covariant

2011-02-02 Thread bearophile
; } override int fun2() { return 1; } override auto fun3() { return 1; } } void main() {} Bye, bearophile

Re: D2 dynamic array on Win32 exception

2011-02-14 Thread bearophile
, I suggest you the D.learn newsgroup. Bye, bearophile

Expose the CTFE interpter in Phobos?

2011-07-25 Thread bearophile
++ programmers. Do you know/have use cases for running D code (with current or near-future CTFE limitations) at run-time? Bye, bearophile

Re: Expose the CTFE interpter in Phobos?

2011-07-25 Thread bearophile
Please ignore this post, the web interface is now more buggy than it used to be. Sorry, bearophile

Re: Possible bug with dynamic rectangular array initialization

2011-10-18 Thread bearophile
are implemented on their surface (it doesn't explain how array append is managed at runtime). Bye, bearophile

Ada, HCSS and more

2011-10-25 Thread bearophile
problems. I have done some searching, but I have not found this presentation. Bye, bearophile

Re: Ada, HCSS and more

2011-10-25 Thread bearophile
Sorry, wrong place. I'll try again elsewhere.

Re: 2.056: EXE size on Windows

2011-11-03 Thread bearophile
on this topic: http://prog21.dadgum.com/116.html Bye, bearophile