Re: llvm-d

2013-03-20 Thread Jens Mueller
Moritz Maxeiner wrote: > On Monday, 18 March 2013 at 14:51:00 UTC, Jens Mueller wrote: > >Moritz Maxeiner wrote: > >>On Monday, 18 March 2013 at 13:50:29 UTC, Jens Mueller wrote: > >> > >>I'll to that, then. I'm currently working on the D API, but I'll > >>try > >>to get the copied deimos compatibl

Re: Crystal

2013-03-20 Thread Graham Fawcett
On Sunday, 17 February 2013 at 06:28:09 UTC, Ary Borenszweig wrote: Hello everyone :-) I follow this newsgroup from time to time. I like D templates. I like the auto keyword. I like auto in templates. I love efficiency and expressiveness. I believe in smart compilers. (you might remember me

Re: Crystal

2013-03-20 Thread Russel Winder
On Wed, 2013-03-20 at 17:31 +0100, Simen Kjaeraas wrote: > On 2013-02-17, 10:52, Russel Winder wrote: > > > Why is this thread on the announce mailing list instead of the > > discussion list? > > Because it's more an announcement, and less a discussion about D? The original posting was clearly a

Re: Crystal

2013-03-20 Thread Simen Kjaeraas
On 2013-02-17, 10:52, Russel Winder wrote: Why is this thread on the announce mailing list instead of the discussion list? Because it's more an announcement, and less a discussion about D? -- Simen

Re: Unmanaged - a D framework on github

2013-03-20 Thread Benjamin Thaut
Am 20.03.2013 13:42, schrieb Jacob Carlborg: On 2013-03-20 08:57, Benjamin Thaut wrote: You still can't replace evertything with custom alloc templates and have nice syntax. There are at least two cases where it does not work nicely: 1) Arrays (no new T [size] syntax) 2) Inner classes (a templ

Re: Unmanaged - a D framework on github

2013-03-20 Thread Jacob Carlborg
On 2013-03-20 08:57, Benjamin Thaut wrote: You still can't replace evertything with custom alloc templates and have nice syntax. There are at least two cases where it does not work nicely: 1) Arrays (no new T [size] syntax) 2) Inner classes (a template can't automatically capture the outer clas

Re: Unmanaged - a D framework on github

2013-03-20 Thread Paulo Pinto
On Wednesday, 20 March 2013 at 07:57:13 UTC, Benjamin Thaut wrote: Am 17.03.2013 16:20, schrieb Jakob Ovrum: On Saturday, 16 March 2013 at 14:40:58 UTC, D-ratiseur wrote: new is overriden in TUObject because the purpose of the library is to bypass the garbage collector and to bypass the GC yo

Re: Unmanaged - a D framework on github

2013-03-20 Thread Benjamin Thaut
Am 17.03.2013 16:20, schrieb Jakob Ovrum: On Saturday, 16 March 2013 at 14:40:58 UTC, D-ratiseur wrote: new is overriden in TUObject because the purpose of the library is to bypass the garbage collector and to bypass the GC you have to override new and delete.(at least according to the manual:

Re: Unmanaged - a D framework on github

2013-03-20 Thread Lars T. Kyllingstad
On Sunday, 17 March 2013 at 15:20:04 UTC, Jakob Ovrum wrote: For different kinds of memory, you should simply use a different allocator. For example, here's a rough approximation of a pair of functions using malloc/free for class allocation: T alloc(T)() if(is(T == class)) { enum size