[fpc-devel] [SOLVED] MIPS big-endian program starts but does nothing

2014-09-24 Thread Reinier Olislagers
On 06/09/2014 11:26, Reinier Olislagers wrote: Periodically I try to cross-compile a simple program [1] for my router with fpc trunk. Recap: mips big endian, no FPU (openwrt router). Test program hung. Thanks to commits in trunk between my last test and now, the sample program below works.

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

2014-09-24 Thread Dmitry Boyarintsev
On Tue, Sep 23, 2014 at 10:47 PM, Boian Mitov mi...@mitov.com wrote: Hmm... I have serious doubt the anonymous methods (actually referenced objects as previously discussed) will be discouraged. If anything they are more and more used across the majority of the languages, as they have huge

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

2014-09-24 Thread Boian Mitov
Extremely easy. We made the decision after discovering how much easier the code is to maintain and grow. We have sped up our development by a factor of more than 3 times, and we have reduced maintenance issues by approximately 6 times. As I said, the future will show who was on the right track

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

2014-09-24 Thread Nikolay Nikolov
On 09/23/2014 08:47 PM, Boian Mitov wrote: This is a valid point. The only downside is that the object will every time do a deep copy versus a shallow (pointer only) copy. Deep copy is very, very expensive operation. Adding ref. counting to objects is probably equivalent of one interlocked

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

2014-09-24 Thread Boian Mitov
100% agree, although although smart pointers also can already be implemented in Delphi with anonymous methods. I wanted to mention the possibility actually in my post. For good smart pointer however we also will need implicit casting, operator overloading and few other features, but it surely is