Re: [fpc-devel] Proof of Concept ARC implementation

2014-10-28 Thread Boian Mitov
Hmm... it never happened to C/C++. It seems to work well there. C# also seems to be doing well... With best regards, Boian Mitov --- Mitov Software www.mitov.com --- -Original Message-

Re: [fpc-devel] Memleak in TFPHttpClient?

2014-10-28 Thread Leonardo M . Ramé
Reported: 0026959: Memleak in TFHttpClient - Free Pascal/Lazarus Bug Tracker Leonardo M. Ramé http://leonardorame.blogspot.com From: Michael Van Canneyt To: FPC developers' list Sent: Tuesday, October 28, 2014 10:58 AM Subject: Re: [fpc-devel] Memleak

Re: [fpc-devel] Memleak in TFPHttpClient?

2014-10-28 Thread Michael Van Canneyt
Strange. I have debugged it for memory leaks in the past, and fixed all reported leaks. Please report a bug on the bugtracker. if possible, attach the output of heaptrc. Michael. On Tue, 28 Oct 2014, Leonardo M. Ramé wrote: Hi, I was trying to find a memory leak in one of my apps, and fo

[fpc-devel] Memleak in TFPHttpClient?

2014-10-28 Thread Leonardo M . Ramé
Hi, I was trying to find a memory leak in one of my apps, and found the cause was TFPHttpClient. To reproduce the issue, just compile this simple program with "-gh" and run. I used Free Pascal Compiler version 2.7.1 [2014/10/17] for x86_64 program test; {$mode objfpc} uses classes, fphtt

Re: [fpc-devel] Small virtual machine to cross compile FPC

2014-10-28 Thread Mark Morgan Lloyd
Hans-Peter Diettrich wrote: Paul Breneman schrieb: I've spent a bit of time during the past 7 years trying to figure out how to simplify things by avoiding cross-compiling. This page has many of the details: http://turbocontrol.com/monitor.htm I think there is a way to simplify cross-compi

Re: [fpc-devel] Proof of Concept ARC implementation

2014-10-28 Thread Hans-Peter Diettrich
Sven Barth schrieb: Am 27.10.2014 23:41 schrieb "Boian Mitov" >: > > Well... we may differ on this one. I absolutely love attributes, but I guess that is just me :-D . > I think attributes are the greatest thing that has happened to Delphi ever, I just wish they ware

Re: [fpc-devel] Small virtual machine to cross compile FPC

2014-10-28 Thread Hans-Peter Diettrich
Paul Breneman schrieb: I've spent a bit of time during the past 7 years trying to figure out how to simplify things by avoiding cross-compiling. This page has many of the details: http://turbocontrol.com/monitor.htm I think there is a way to simplify cross-compiling. Levinux is a small (~

Re: [fpc-devel] Proof of Concept ARC implementation

2014-10-28 Thread Hans-Peter Diettrich
Boian Mitov schrieb: In general the C/C++ notion of doing as little in the language as possible, and as much in library has worked very well for it over the years. Yes, pluggable languages concept has existed at least since C ;-) . I agree, and as I said has worked well. AFAIR such languages

Re: [fpc-devel] Proof of Concept ARC implementation

2014-10-28 Thread Hans-Peter Diettrich
Sven Barth schrieb: Am 27.10.2014 21:00, schrieb Hans-Peter Diettrich: Sven Barth schrieb: Am 27.10.2014 17:20 schrieb "Hans-Peter Diettrich" mailto:drdiettri...@aol.com>>: > Something like ShortString and AnsiString? With the difference that Short- and AnsiString are assignable to eachot

Re: [fpc-devel] Proof of Concept ARC implementation

2014-10-28 Thread Michael Schnell
On 10/27/2014 07:59 PM, Sven Barth wrote: - in code that does not use ARC ("modeswitch arc off" - the default; or maybe better a local directive) all instance variables are considered "weak" While I do have a vision what "weak" means here, can you give an exact description ? -Michael ___

Re: [fpc-devel] Proof of Concept ARC implementation

2014-10-28 Thread Michael Schnell
On 10/27/2014 05:17 PM, Hans-Peter Diettrich wrote: Something like ShortString and AnsiString? Only that ShortStrings can easily be avoided (AFAIK, no great performance advantage to use them) and hence are seldom used right now. -Michael ___ fpc-de

Re: [fpc-devel] Proof of Concept ARC implementation

2014-10-28 Thread Michael Schnell
On 10/27/2014 10:44 PM, Boian Mitov wrote: In general the C/C++ notion of doing as little in the language as possible, and as much in library has worked very well for it over the years. Yes, pluggable languages concept has existed at least since C ;-) . I agree, and as I said has worked well. I

Re: [fpc-devel] Proof of Concept ARC implementation

2014-10-28 Thread Sven Barth
Am 27.10.2014 23:41 schrieb "Boian Mitov" : > > Well... we may differ on this one. I absolutely love attributes, but I guess that is just me :-D . > I think attributes are the greatest thing that has happened to Delphi ever, I just wish they ware not so limited. Attributes allowed us to cut 3/4 of