Re: More radical ideas about gc and reference counting

2014-05-12 Thread Tommi via Digitalmars-d
On Monday, 12 May 2014 at 00:50:24 UTC, Walter Bright wrote: On 5/11/2014 1:59 PM, Timon Gehr wrote: Borrowed pointers are not even superficially similar to near*. They are compatible with everything else, because they can store data that was borrowed from anywhere else. As long as those

Re: More radical ideas about gc and reference counting

2014-05-12 Thread Tommi via Digitalmars-d
On Monday, 12 May 2014 at 08:10:43 UTC, Tommi wrote: Perhaps: [..] Somewhat surprisingly to me, you can later on change the borrowed pointer in the mutable static 'Test' to point at a mutable static int: struct Test { n: 'static int } static old: int = 111; static mut new: int = 222;

Re: More radical ideas about gc and reference counting

2014-05-12 Thread Tommi via Digitalmars-d
On Sunday, 11 May 2014 at 21:43:06 UTC, sclytrack wrote: I like this owner/unique, borrow thing. @ is managed (currently reference counted) ~ is owner is borrow I like it too. But a few notes: 1) The managed pointer @T has been deprecated and you should use the standard library types GcT

Re: More radical ideas about gc and reference counting

2014-05-13 Thread Tommi via Digitalmars-d
On Tuesday, 13 May 2014 at 21:16:55 UTC, Timon Gehr wrote: On 05/13/2014 09:07 PM, Jacob Carlborg wrote: On 2014-05-13 15:56, Dicebot wrote: Judging by http://static.rust-lang.org/doc/0.6/tutorial-macros.html those are not full-blown AST macros like ones you have been proposing, more like

Re: D future ...

2016-12-19 Thread Tommi via Digitalmars-d
I see a lot of people arguing a lot about D and sorry to say but at times it sounds like a kindergarten. Walter/Andrei are right that updates and changes need to be focused on the standard library. Improve the standard library! Some of the proposals sounds very correct. The library needs to

Re: Video of my LDC talk @ FOSDEM'14

2014-05-27 Thread Tommi via Digitalmars-d-announce
On Monday, 26 May 2014 at 05:59:35 UTC, Kai Nacke wrote: [..] http://video.fosdem.org/2014/K4401/Sunday/LDC_the_LLVMbased_D_compiler.webm I can't watch this on my iPhone.

Re: Video of my LDC talk @ FOSDEM'14

2014-05-28 Thread Tommi via Digitalmars-d-announce
On Wednesday, 28 May 2014 at 09:14:18 UTC, Alix Pexton wrote: On 27/05/2014 1:15 PM, Tommi wrote: On Monday, 26 May 2014 at 05:59:35 UTC, Kai Nacke wrote: [..] http://video.fosdem.org/2014/K4401/Sunday/LDC_the_LLVMbased_D_compiler.webm I can't watch this on my iPhone.