Re: Haxe (From: Java Scala - new thread: GUI for D)

2011-12-08 Thread Danny Wilson
Nick Sabalausky wrote: So anyway, with my own Haxe implementation, I can just add an optional -sane switch to enable either a runtime or compile-time check...And nobody can stop me!! Mwuuahahahaha!! AH HA HA HA!!! BWAH HA HA HA!@!!! HAHhahahaAHHAAHA - As a long time haXe user I appreciate

Re: On garbage collection

2011-12-08 Thread Danny Wilson
deadalnix wrote: http://www.infoq.com/presentations/Understanding-Java-Garbage-Collection This is java focussed, but I think this is still very interesting for D people. So I'm sharing it here. The first half wasn't even java focussed at all :-) Great intro to most of the definitions and GC

Re: DMD source overview?

2010-09-16 Thread Danny Wilson
Op Tue, 14 Sep 2010 21:33:37 +0200 schreef Nick Sabalausky a...@a.a: But you do raise a good point. What's the current state of ddmd's front-end? What I have in mind is to just rip out dmd's current backend stuff entirely, maybe even including the toObjFile and toIR methods, or at least big

Re: Emerging Languages Conference next week!

2010-07-21 Thread Danny Wilson
Op Sat, 17 Jul 2010 14:13:12 +0200 schreef Andrej Mitrovic and.mitro...@hotmail.com: If anyone is interested, I've emailed the organizers and they said the whole thing will be video recorded (therefore posted online as well). I hope it will be online soon :-)

Re: enforce()?

2010-06-28 Thread Danny Wilson
Op Mon, 28 Jun 2010 10:33:24 +0200 schreef Norbert Nemec norb...@nemec-online.de: Conceptually, the ultimate solution would certainly be to place code for input contract checking in the *calling* code. After all, this checking code serves to debug the calling code, so it should be left to

Re: This just in: authorless TDPL becomes collector's edition

2010-06-22 Thread Danny Wilson
I got two collectors editions. I'll sell one for 1000$ :-D On Tue, 22 Jun 2010 13:10:00 +0200, Tyro[a.c.edwards] no.s...@home.com wrote: good for you, sucks for me though, I didn't get a collector's edition and I ordered my copy back in over six months ago.

Re: D Language 2.0

2010-01-20 Thread Danny Wilson
On Wed, 20 Jan 2010 14:18:52 +0100, Leandro Lucarella llu...@gmail.com wrote: Again? RC is *not* -nogc, is -anothergc. And reference counting won't do the trick unless you add a backing GC to free cycles. What I mean about -nogc is *no* GC, is please, mr compiler, give me an error when a GC

Re: @disable

2010-01-15 Thread Danny Wilson
On Fri, 15 Jan 2010 07:54:56 +0100, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: At least we copy with attribution :o). Andrei @lol And yes, it was out loud. :D

Re: Getting there update of Code Poet

2009-12-11 Thread Danny Wilson
Op Fri, 11 Dec 2009 16:37:47 +0100 schreef Jeremie Pelletier jerem...@gmail.com: You're quite right, I'll look into it and make a light-on-dark color theme for it. That would be awesome.

Re: Should pure nothrow --- @pure @nothrow ?

2009-11-27 Thread Danny Wilson
Op Fri, 27 Nov 2009 11:58:59 +0100 schreef Don nos...@nospam.com: void foo() @naked body { LOL! Spam filters would love that!! I can already imagine the jokes spreading over the internets: @safe public double penetration(of a) @naked body { ... }

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Danny Wilson
Op Fri, 30 Oct 2009 11:44:08 +0100 schreef bearophile bearophileh...@lycos.com: Simpler alternative, the dot isn't necessary: traits_compiles(XXX) traits_typeid(TTT) traits_stringof(T) traits_allmembers(T) traits_error(message); Not nice. Bad.

Re: Semicolons: mostly unnecessary?

2009-10-22 Thread Danny Wilson
Op Thu, 22 Oct 2009 07:44:44 +0200 schreef AJ a...@nospam.net: Also, referring to your second struct example above, D never has semicolons directly after a closing curly-brace. Isn't that ironic! Kinda far fetched to call that ironic. The struct decleration was already ended by '}'.

Re: Type unions in D

2009-09-17 Thread Danny Wilson
Op Thu, 17 Sep 2009 16:56:41 +0200 schreef Andrei Alexandrescu seewebsiteforem...@erdani.org: I have big plans with Variant - I want to make it (or a related type) the variable type common in dynamic languages, with flexibility, dynamic invocation using common syntax, the works. So if you

Re: Nullable or Optional? Or something else?

2009-09-02 Thread Danny Wilson
Op Wed, 02 Sep 2009 21:39:28 +0200 schreef Andrei Alexandrescu seewebsiteforem...@erdani.org: I plan to add a Nullable struct to Phobos (akin to C#'s Nullable, Boost's Optional). Apparently a good design is to define Optional!T with a minimum of member functions (ideally none) and have

Re: Nullable or Optional? Or something else?

2009-09-02 Thread Danny Wilson
Op Wed, 02 Sep 2009 22:20:04 +0200 schreef Andrei Alexandrescu seewebsiteforem...@erdani.org: Jarrett Billingsley wrote: On Wed, Sep 2, 2009 at 4:13 PM, Simen Kjaeraassimen.kja...@gmail.com wrote: Danny Wilson blueze...@gmail.com wrote: Op Wed, 02 Sep 2009 21:39:28 +0200 schreef Andrei

Re: Nullable or Optional? Or something else?

2009-09-02 Thread Danny Wilson
Op Wed, 02 Sep 2009 22:55:53 +0200 schreef Andrei Alexandrescu seewebsiteforem...@erdani.org: So if pointers wouldn't be considered evil, Maybe!T* would suffice? Can someone point me out what the big difference is between ref and simply disallowing pointer arithmitic? Is it marketing?

Re: Scala future, Sing#

2009-08-25 Thread Danny Wilson
Op Wed, 26 Aug 2009 02:04:18 +0200 schreef bearophile bearophileh...@lycos.com: Note: LTO isn't done automatically yet by LDC, so to do it you have to input 3 different commands. Ask (to me, for example) if you want to know them. Well I do :-)

Re: The proper case for D.

2009-06-19 Thread Danny Wilson
Op Fri, 19 Jun 2009 22:53:54 +0200 schreef Sean Kelly s...@invisibleduck.org: Uppercase. Thats awesome, made me chuckle. :-) Calling it 'd' lacks a certain punch.

Re: D Wiki

2009-06-09 Thread Danny Wilson
Op Tue, 09 Jun 2009 18:38:36 +0200 schreef grauzone n...@example.net: BCS wrote: Hello grauzone, I'd even prefer a flash widget that would provide proper UI Oh god... oh god no... I'm going to have nightmares again... yah, ditto, OTOH that was in a tone of if all else fails OK.

Re: ldc 0.9.1 released

2009-05-29 Thread Danny Wilson
Op Thu, 28 May 2009 03:08:45 +0200 schreef Tomas Lindquist Olsen tomas.l.ol...@gmail.com: * put the code under version control, that could simplify pulling fixes into our tree. You could setup a seperate branch with the DMD source, extract source tarball, commit. Then merge the DMDFE

Re: If T[new] is the container for T[], then what is the container for T[U]?

2009-04-25 Thread Danny Wilson
Op Sat, 25 Apr 2009 15:07:52 +0200 schreef Andrei Alexandrescu seewebsiteforem...@erdani.org: It looks we can't make it with only T[]. We need a genuine container type, and T[new] was suggested. It would probably have value semantics. T[U] seems to have the same problem. If T[U] is the

Re: Fully dynamic d by opDotExp overloading

2009-04-18 Thread Danny Wilson
Op Sat, 18 Apr 2009 09:24:39 +0200 schreef Andrei Alexandrescu seewebsiteforem...@erdani.org: now you have an easy way to know if a type is dynamic without changing the method invocation syntax. A proper IDE can easily mark those Types as different, for example, using a different color.

Re: Fully dynamic d by opDotExp overloading

2009-04-18 Thread Danny Wilson
Op Fri, 17 Apr 2009 22:31:04 +0200 schreef Nick Sabalausky a...@a.a: But with opDotExp, its mere *existence* undermines my ability to be sure that non-quoted identifiers are ok as long as they've compiled. That type of tradeoff is obviously fine when the potential benefits are significant

Re: Fully dynamic d by opDotExp overloading

2009-04-18 Thread Danny Wilson
Op Sat, 18 Apr 2009 12:25:55 +0200 schreef Danny Wilson blueze...@gmail.com: Op Fri, 17 Apr 2009 22:31:04 +0200 schreef Nick Sabalausky a...@a.a: so far, opDotExp's benefits are trivial at best. I don't want to have to keep track of ok, is this class using opDotExp or not, because

Re: Just one more thing...

2009-02-16 Thread Danny Wilson
I tried using DMD OSX with DSSS yesterday. For some reason it whines when using -version=Posix Error: version identifier 'Posix' is reserved and cannot be set. Is that a bug or a feature :-)? Op Sat, 14 Feb 2009 21:11:38 +0100 schreef Walter Bright newshou...@digitalmars.com: Now

Re: People speaketh

2009-01-29 Thread Danny Wilson
Op Thu, 29 Jan 2009 22:42:49 +0100 schreef Derek Parnell de...@psych.ward: Curious that first/last didn't get a mention in your poll? Woops, sorry about that. Added it below the others, otherwise it messed up the voting count :-S

Re: foreach ... else statement

2009-01-05 Thread Danny Wilson
foreach(languageStatement; AllProgrammingLanguages) Stdout.format( It's possible to create grotesque configurations of '{}' which are ~ extremely difficult to analyze. But most uses of {} are simple., languageStatement ).newline;