Re: Unmanaged - a D framework on github

2013-08-03 Thread Baz.
On Wednesday, 13 March 2013 at 16:20:08 UTC, D-ratiseur wrote: Hello, I'd like to introduce the "Unmanaged" framework. It's a OOP library, strongly inspired by the Delphi/Pascal RTL. Its main concept is to bypass the GC. From this statement, the library feaures: - main unmanaged object and mem

Re: Unmanaged - a D framework on github

2013-04-02 Thread Benjamin Thaut
Am 30.03.2013 16:38, schrieb D-Ratisueur: Its too late...errors are made,anyway you got the stuff: http://www.youtube.com/watch?v=KZKAVl_qX_Y. I Should wait a few weeks before announcing "Unmanaged"...I feel quite shamefull right now... This was no criticism on your project. I'm only pointing

Re: Unmanaged - a D framework on github

2013-03-31 Thread Alexandr Druzhinin
30.03.2013 22:38, D-Ratisueur пишет: Its too late...errors are made,anyway you got the stuff: http://www.youtube.com/watch?v=KZKAVl_qX_Y. I Should wait a few weeks before announcing "Unmanaged"...I feel quite shamefull right now... Don't feel, you're good!

Re: Unmanaged - a D framework on github

2013-03-30 Thread D-Ratisueur
On Wednesday, 20 March 2013 at 15:50:27 UTC, Benjamin Thaut wrote: 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

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

Re: Unmanaged - a D framework on github

2013-03-18 Thread D-ratiseur
On Sunday, 17 March 2013 at 15:20:04 UTC, Jakob Ovrum wrote: 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 accor

Re: Unmanaged - a D framework on github

2013-03-17 Thread 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: articles,mem managment). The documentat

Re: Unmanaged - a D framework on github

2013-03-16 Thread D-ratiseur
On Thursday, 14 March 2013 at 02:03:56 UTC, Ellery Newcomer wrote: On 03/13/2013 11:30 AM, D-ratiseur wrote: uppon everything to bypass the garbage collector. In that case, I call foul. FAddr.length = FAddr.length + 1; types.d#L281 Wait, what? You're using classes everywhere and.. ohhh

Re: Unmanaged - a D framework on github

2013-03-15 Thread Nick Sabalausky
On Fri, 15 Mar 2013 13:11:13 +0100 "Jakob Ovrum" wrote: > On Friday, 15 March 2013 at 10:23:05 UTC, David wrote: > > Afaik it is deprecated which really sucks imo. > > I don't know why the new operator is so important to some people. > If templates had been in C++ before classes, this operator

Re: Unmanaged - a D framework on github

2013-03-15 Thread Jakob Ovrum
On Friday, 15 March 2013 at 10:23:05 UTC, David wrote: Afaik it is deprecated which really sucks imo. I don't know why the new operator is so important to some people. If templates had been in C++ before classes, this operator would probably never have existed. object.destroy()(UFCS) and cl

Re: Unmanaged - a D framework on github

2013-03-15 Thread David
Am 14.03.2013 03:03, schrieb Ellery Newcomer: > On 03/13/2013 11:30 AM, D-ratiseur wrote: > >> uppon everything to bypass the garbage >> collector. > > In that case, I call foul. > > FAddr.length = FAddr.length + 1; > > types.d#L281 > > Wait, what? You're using classes everywhere and.. ohh

Re: Unmanaged - a D framework on github

2013-03-13 Thread Ellery Newcomer
On 03/13/2013 11:30 AM, D-ratiseur wrote: uppon everything to bypass the garbage collector. In that case, I call foul. FAddr.length = FAddr.length + 1; types.d#L281 Wait, what? You're using classes everywhere and.. ohhh. you're overriding new. Nifty. Don't know if that's been deprecate

Re: Unmanaged - a D framework on github

2013-03-13 Thread D-ratiseur
On Wednesday, 13 March 2013 at 18:01:20 UTC, deadalnix wrote: On Wednesday, 13 March 2013 at 16:20:08 UTC, D-ratiseur wrote: Hello, I'd like to introduce the "Unmanaged" framework. It's a OOP library, strongly inspired by the Delphi/Pascal RTL. Its main concept is to bypass the GC. From this st

Re: Unmanaged - a D framework on github

2013-03-13 Thread deadalnix
On Wednesday, 13 March 2013 at 16:20:08 UTC, D-ratiseur wrote: Hello, I'd like to introduce the "Unmanaged" framework. It's a OOP library, strongly inspired by the Delphi/Pascal RTL. Its main concept is to bypass the GC. From this statement, the library feaures: - main unmanaged object and mem

Re: Unmanaged - a D framework on github

2013-03-13 Thread Martin
On Wednesday, 13 March 2013 at 16:20:08 UTC, D-ratiseur wrote: Hello, I'd like to introduce the "Unmanaged" framework. It's a OOP library, strongly inspired by the Delphi/Pascal RTL. Its main concept is to bypass the GC. From this statement, the library feaures: - main unmanaged object and mem

Re: Unmanaged - a D framework on github

2013-03-13 Thread alex
On Wednesday, 13 March 2013 at 16:20:08 UTC, D-ratiseur wrote: Hello, I'd like to introduce the "Unmanaged" framework. It's a OOP library, strongly inspired by the Delphi/Pascal RTL. Its main concept is to bypass the GC. From this statement, the library feaures: - main unmanaged object and mem

Unmanaged - a D framework on github

2013-03-13 Thread D-ratiseur
Hello, I'd like to introduce the "Unmanaged" framework. It's a OOP library, strongly inspired by the Delphi/Pascal RTL. Its main concept is to bypass the GC. From this statement, the library feaures: - main unmanaged object and memory routines - a parameterized list - an ownership system (used