Re: [fpc-devel] Suggestion: reference counted objects

2014-09-23 Thread August Oktobar
To somebody (probably Sven): In FPC there is concept of stack based objects (object) that behave like classes (with inheritance)? Why not just extend this object with support for constructors and destructors, and there is no need for the ARC? On Mon, Sep 22, 2014 at 2:05 PM, Hans-Peter Diettrich

Re: [fpc-devel] Suggestion: reference counted objects

2014-09-20 Thread August Oktobar
What about adding support for destructors to (advanced) records (and/or inhertiance)? On Sat, Sep 20, 2014 at 6:36 AM, Fabrício Srdic wrote: > Hello, > > In platforms with managed code (.NET, Java), objects are automatically > freed by the memory manager / garbage collector. > > Would not it be

Re: [fpc-devel] Optimizations

2014-01-23 Thread August Oktobar
On Fri, Jan 24, 2014 at 12:26 AM, Sergei Gorelkin wrote: > 24.01.2014 3:04, Martin Frb пишет: > > On 23/01/2014 22:26, August Oktobar wrote: >> >>> Hello, I have seen your mails about peephole optimization, so I wonder >>> if you could look at this >>>

Re: [fpc-devel] Inlining SarInt64

2013-09-25 Thread August Oktobar
I understand. BTW, in GCC compilers this is always inlined (int64 div X) . On Wed, Sep 25, 2013 at 12:58 PM, Jonas Maebe wrote: > > On 25 Sep 2013, at 00:11, August Oktobar wrote: > > Why this function cannot be inlined? In some code doing int64 > shifting/dividing math, it is

[fpc-devel] Inlining SarInt64

2013-09-25 Thread August Oktobar
Why this function cannot be inlined? In some code doing int64 shifting/dividing math, it is not inlined as other similar compiler functions (round, odd etc.)? i am using FPC 2.7.1 32 bit. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://l