Re: D is crap

2016-07-11 Thread Infiltrator via Digitalmars-d
On Monday, 11 July 2016 at 13:24:14 UTC, Chris wrote: ... To have GC was definitely a good decision. What was not so good was that it was not optional with a simple on/off switch. ... I know that I'm missing something here, but what's wrong with the functions provided in core.memory? Specific

Re: IupSetCallback function passing

2014-03-18 Thread Infiltrator
On Wednesday, 19 March 2014 at 02:21:18 UTC, James Wirth wrote: When trying to associate an Icallback function to a button in the IUP GUI API using the IupSetCallback function, the D compiler seems to insist on evaluating that callback in order to pass its value rather than passing the function

Re: How to make a global immutable associative array?

2014-03-18 Thread Infiltrator
On Wednesday, 19 March 2014 at 00:16:31 UTC, dnspies wrote: I want to create a global immutable associative array and have it be accessible from anywhere at compile-time. How can I do that? With: immutable int[int] aa = [1:2,3:4]; I get: source/thing.d(1): Error: non-constant expression [1:2

Re: reddit discussion on replacing Python in 0install

2013-06-10 Thread Infiltrator
On Tuesday, 11 June 2013 at 04:04:03 UTC, David Nadlinger wrote: On Tuesday, 11 June 2013 at 04:02:59 UTC, Andrei Alexandrescu wrote: The test program is flawed; writeln() writes to stdout, and the redirection is to stdin. Wouldn't stdin be fd 0? David What David said. Here's the same thin