Re: DConf 2013 Day 1 Talk 2: Copy and Move Semantics in D by Ali Cehreli

2013-05-16 Thread Simen Kjaeraas
On Thu, 16 May 2013 01:40:51 +0200, Andrej Mitrovic andrej.mitrov...@gmail.com wrote: On 5/16/13, Nick Sabalausky seewebsitetocontac...@semitwist.com wrote: I wasn't around back then. :) You must be very young, quite a prodigy, really ;) I'm still learning the alphabet, I'm only at D

Re: DConf 2013 Day 1 Talk 2: Copy and Move Semantics in D by Ali Cehreli

2013-05-16 Thread Jacob Carlborg
On 2013-05-16 05:48, deadalnix wrote: Completely off topic : your NG client is splitting the discussion, creating a new one on every answer you make. At don't see a split in this topic at all using Thunderbird. That's probably a first time. -- /Jacob Carlborg

Broken web forums threading? [was: DConf 2013 Day 1 Talk 2: Copy and Move Semantics in D by Ali Cehreli]

2013-05-16 Thread Leandro Lucarella
deadalnix, el 16 de May a las 05:48 me escribiste: On Wednesday, 15 May 2013 at 20:08:23 UTC, Leandro Lucarella wrote: OK, yeah, I thought I read 10 months somewhere and didn't do the math myself. 2.5 months is still high for my taste (and I insist, only if is just a marketing issue and not

Re: GtkD 2.2 released, GTK+ with D.

2013-05-16 Thread Mike James
Hi Mike, I've installed GtkD 2.2.0 and Gtk+. When building the cairo clock app I get the following error... Error 1 Error 42: Symbol Undefined _D7gobject7ObjectG7ObjectG11addOnNotifyMFDFC7gobject9ParamSpec9ParamSpecC7gobject7ObjectG7ObjectGZvE4gtkc12gobjecttypes13GConnectFlagsZv (void

Re: DConf 2013 Day 1 Talk 2: Copy and Move Semantics in D by Ali Cehreli

2013-05-16 Thread Dicebot
On Wednesday, 15 May 2013 at 17:32:14 UTC, Jonathan M Davis wrote: You probably should actually quote part of the message so that it's easier to figure out exactly which message you're replying to it. It is hard to quote the video :) I was referring to the part starting somewhere here:

Re: DConf 2013 Day 1 Talk 2: Copy and Move Semantics in D by Ali Cehreli

2013-05-16 Thread 1100110
On 05/16/2013 02:55 AM, Jacob Carlborg wrote: On 2013-05-16 05:48, deadalnix wrote: Completely off topic : your NG client is splitting the discussion, creating a new one on every answer you make. At don't see a split in this topic at all using Thunderbird. That's probably a first time.

Re: Visual D 0.3.36 released - support for Alex Bothe's semantic analysis, LDC and profiling

2013-05-16 Thread Bruno Medeiros
On 14/05/2013 06:45, TommiT wrote: On Saturday, 11 May 2013 at 10:39:39 UTC, Rainer Schuetze wrote: [..] The full list of changes can be found here: http://www.dsource.org/projects/visuald/wiki/VersionHistory [..] Notice that alias this = id is not supposed to be valid syntax. Huh, what's

Re: DConf 2013 Day 1 Talk 2: Copy and Move Semantics in D by Ali Cehreli

2013-05-16 Thread Regan Heath
On Wed, 15 May 2013 18:32:03 +0100, Jonathan M Davis jmdavisp...@gmx.com wrote: What's less clear is what to do when a function accepts strings but isn't really operating on them (e.g stuff in std.file or std.net.curl), as they may need immutable(char)[]. In that case, it depends on what's

Re: DConf 2013 Day 1 Talk 2: Copy and Move Semantics in D by Ali Cehreli

2013-05-16 Thread Dicebot
On Thursday, 16 May 2013 at 10:13:28 UTC, Regan Heath wrote: ... I agree that this is a caller responsibility. What leaves me in doubts is how this responsibility is enforced though. With const nothing in type system prevents caller to violate that contract and mutate data during function

Re: DConf 2013 Day 1 Talk 2: Copy and Move Semantics in D by Ali Cehreli

2013-05-16 Thread Regan Heath
On Thu, 16 May 2013 11:25:48 +0100, Dicebot m.stras...@gmail.com wrote: On Thursday, 16 May 2013 at 10:13:28 UTC, Regan Heath wrote: ... I agree that this is a caller responsibility. What leaves me in doubts is how this responsibility is enforced though. With const nothing in type system

Re: DConf 2013 Day 1 Talk 2: Copy and Move Semantics in D by Ali Cehreli

2013-05-16 Thread Regan Heath
On Thu, 16 May 2013 12:06:18 +0100, Dicebot m.stras...@gmail.com wrote: On Thursday, 16 May 2013 at 10:41:51 UTC, Regan Heath wrote: True, it's not enforced. But, that's because the responsibility lies with the caller, and I think this is a reasonable position to take in these cases

Re: Visual D 0.3.36 released - support for Alex Bothe's semantic analysis, LDC and profiling

2013-05-16 Thread Ali Çehreli
On 05/16/2013 03:08 AM, Bruno Medeiros wrote: On 14/05/2013 06:45, TommiT wrote: Notice that alias this = id is not supposed to be valid syntax. Huh, what's this about? DMD does not seem to recognize it, but it's listed in the grammar. Is it an upcoming feature or is the grammar out of

Re: DConf 2013 Day 1 Talk 4: Writing Testable Code in D by Ben Gertzfield

2013-05-16 Thread Adam D. Ruppe
On Thursday, 16 May 2013 at 16:51:13 UTC, Bill Baxter wrote: http://does_that_mean_you.can.get.around/the-140-character_limit_by_pretending_your_content_is_actually_a_url? Sort of. I just tried this just trying this

Re: GtkD 2.2 released, GTK+ with D.

2013-05-16 Thread Mike Wey
On 05/16/2013 10:32 AM, Mike James wrote: Hi Mike, I've installed GtkD 2.2.0 and Gtk+. When building the cairo clock app I get the following error... Error 1 Error 42: Symbol Undefined

Re: Shameless autopromotion : type safe tagged union in D

2013-05-16 Thread Nick Sabalausky
On Fri, 10 May 2013 14:32:48 +0200 deadalnix deadal...@gmail.com wrote: http://www.deadalnix.me/2013/05/10/type-safe-tagged-union-in-d-programming-language/ A trick that I used to use more and more, so I ended up creating a generic solution and wrote an article about it. Nice article, but

Re: DConf 2013 Day 1 Talk 2: Copy and Move Semantics in D by Ali Cehreli

2013-05-16 Thread Jonathan M Davis
On Thursday, May 16, 2013 11:13:27 Regan Heath wrote: So, I think in cases where the function/method doesn't need to retain the argument for longer than the lifetime of the call it should accept const(char), otherwise as you mentioned earlier it's better to simply require the caller provide

Re: DConf 2013 Day 1 Talk 2: Copy and Move Semantics in D by Ali Cehreli

2013-05-16 Thread Jonathan M Davis
On Thursday, May 16, 2013 11:13:27 Regan Heath wrote: So, who's responsibility is it to ensure the function/method call executes without errors caused by mutable shared data? I think that for the most part, the question of thread-safety and const that you've been discussing is moot. const by

Re: dmd 2.063 beta

2013-05-16 Thread Andrej Mitrovic
On 5/15/13, Walter Bright newshou...@digitalmars.com wrote: http://ftp.digitalmars.com/dmd2beta.zip It's time we start the process. If you wish to be a part of it, join the dmd-beta mailing list. Before you decide to make the final zip, please let me know beforehand so I can quickly update

Re: DConf 2013 Day 1 Talk 4: Writing Testable Code in D by Ben Gertzfield

2013-05-16 Thread Nick Sabalausky
On Wed, 15 May 2013 06:25:38 -0400 Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Watch, discuss, vote! As discussed you may want to use reddit for discussing this talk for a larger audience and impact. http://goo.gl/VnDVi Fantastic talk. I had read about dependency injection

Re: Shameless autopromotion : type safe tagged union in D

2013-05-16 Thread deadalnix
On Thursday, 16 May 2013 at 18:30:22 UTC, Nick Sabalausky wrote: On Fri, 10 May 2013 14:32:48 +0200 deadalnix deadal...@gmail.com wrote: http://www.deadalnix.me/2013/05/10/type-safe-tagged-union-in-d-programming-language/ A trick that I used to use more and more, so I ended up creating a