Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Paul Ishenin
05.03.13, 15:57, Michael Van Canneyt wrote: With such an attitude you should remove objfpc (and perhaps all non-delphi modes) alltogether, and rename Free Pascal to Free Delphi. The situation with FPC and Delphi is very like to what had happened with browsers. Every had it own vision of CSS,

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Sven Barth
Am 05.03.2013 07:56, schrieb Paul Ishenin: 05.03.13, 14:10, Sven Barth wrote: ObjFPC mode is not compatible with mode Delphi, because of conscious decisions. Think for example about the @ for procedure variable assignments here or the use of symbolic operator names for overload declarations,

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Michael Van Canneyt
On Tue, 5 Mar 2013, Paul Ishenin wrote: 05.03.13, 15:57, Michael Van Canneyt wrote: With such an attitude you should remove objfpc (and perhaps all non-delphi modes) alltogether, and rename Free Pascal to Free Delphi. The situation with FPC and Delphi is very like to what had happened with

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Michael Van Canneyt
On Tue, 5 Mar 2013, Sven Barth wrote: Am 05.03.2013 07:56, schrieb Paul Ishenin: 05.03.13, 14:10, Sven Barth wrote: ObjFPC mode is not compatible with mode Delphi, because of conscious decisions. Think for example about the @ for procedure variable assignments here or the use of symbolic

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Paul Ishenin
05.03.13, 16:30, Sven Barth wrote: Just to say one thing clear: I will NOT drop FPC's generic implementation and I'll revert every commit that tries to do so, because Sven, relax - FPC is not your own project and not mine. We can't simple commit or revert what we want. not only do we have

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Michael Van Canneyt
On Tue, 5 Mar 2013, Paul Ishenin wrote: 05.03.13, 16:30, Sven Barth wrote: Just to say one thing clear: I will NOT drop FPC's generic implementation and I'll revert every commit that tries to do so, because Sven, relax - FPC is not your own project and not mine. We can't simple commit or

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Sven Barth
Am 05.03.2013 09:59, schrieb Paul Ishenin: Just to say one thing clear: I will NOT drop FPC's generic implementation and I'll revert every commit that tries to do so, because Sven, relax - FPC is not your own project and not mine. We can't simple commit or revert what we want. I'm sorry

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Mark Morgan Lloyd
Marco van de Voort wrote: But even when in theory (which I btw don't even want to consider), you are equivalent to C in this way, it basically means disabling the unit system, and users must start to manual maintain dependencies, and learn to interpretate cryptic errormessages if an incremental

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Graeme Geldenhuys
On 2013-03-04 20:33, Howard Page-Clark wrote: You can simulate this in FPC as well as TP by using a local typed constant. e.g. function GetValue: integer; const value: integer = 0; begin Inc(value); Result:= value; end; I've seen this before, and always been baffled by this.

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Michael Van Canneyt
On Tue, 5 Mar 2013, Graeme Geldenhuys wrote: On 2013-03-04 20:33, Howard Page-Clark wrote: You can simulate this in FPC as well as TP by using a local typed constant. e.g. function GetValue: integer; const value: integer = 0; begin Inc(value); Result:= value; end; I've seen this

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Sven Barth
Am 05.03.2013 10:20, schrieb Graeme Geldenhuys: On 2013-03-04 20:33, Howard Page-Clark wrote: You can simulate this in FPC as well as TP by using a local typed constant. e.g. function GetValue: integer; const value: integer = 0; begin Inc(value); Result:= value; end; I've seen this

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Mark Morgan Lloyd
Sven Barth wrote: Am 05.03.2013 10:14, schrieb Mark Morgan Lloyd: Marco van de Voort wrote: But even when in theory (which I btw don't even want to consider), you are equivalent to C in this way, it basically means disabling the unit system, and users must start to manual maintain

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Paul Ishenin
05.03.13, 17:14, Sven Barth wrote: Just for your information: I will implement generic methods will full requirement for generic and specialize in mode ObjFPC (and no, you can't change my opinion on that). Yes, I didn't expect my mails will suddenly change your opinion. And even if they

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Sven Barth
Am 05.03.2013 10:41, schrieb Paul Ishenin: 05.03.13, 17:14, Sven Barth wrote: Just for your information: I will implement generic methods will full requirement for generic and specialize in mode ObjFPC (and no, you can't change my opinion on that). Yes, I didn't expect my mails will suddenly

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Graeme Geldenhuys
On 2013-03-05 09:12, Michael Van Canneyt wrote: You may think that Delphi is the best thing since sliced bread, but not everyone thinks so. There are several people on the list that do not like what Delphi is doing to the pascal language. +1000 I think Embarcadero is butchering the Object

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Paul Ishenin
05.03.13, 17:12, Michael Van Canneyt wrote: Of course we can, if you violate a basic rule: do not undo other peoples work. Can you imagine me or anybody other in FPC team who do so without total agreement? It does not split. It offers people the choice. Again we see one thing from

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Sven Barth
Am 05.03.2013 10:41, schrieb Mark Morgan Lloyd: Sven Barth wrote: Am 05.03.2013 10:14, schrieb Mark Morgan Lloyd: Marco van de Voort wrote: But even when in theory (which I btw don't even want to consider), you are equivalent to C in this way, it basically means disabling the unit system,

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Michael Van Canneyt
On Tue, 5 Mar 2013, Paul Ishenin wrote: Think about component and applications developers who need to care about FPC and Delphi. Less incompatibilities FPC will have more 3rd party components and applications it will get. For this, mode delphi exists. I remember author of Total

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Sven Barth
Am 05.03.2013 10:53, schrieb Graeme Geldenhuys: On 2013-03-05 09:12, Michael Van Canneyt wrote: You may think that Delphi is the best thing since sliced bread, but not everyone thinks so. There are several people on the list that do not like what Delphi is doing to the pascal language. +1000

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Henry Vermaak
On Tue, Mar 05, 2013 at 09:41:37AM +, Mark Morgan Lloyd wrote: Sven Barth wrote: Am 05.03.2013 10:14, schrieb Mark Morgan Lloyd: But on the other hand, if an application programmer could disable FPC's unit handling and use make -j instead, choosing to pay the price of difficult

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Michael Van Canneyt
On Tue, 5 Mar 2013, Paul Ishenin wrote: 05.03.13, 17:12, Michael Van Canneyt wrote: Of course we can, if you violate a basic rule: do not undo other peoples work. Can you imagine me or anybody other in FPC team who do so without total agreement? I hope not :) It does not split. It

[fpc-devel] STOP OVER QUOTING PLEASE

2013-03-05 Thread Graeme Geldenhuys
Hi, I find it extremely hard to follow conversations in this mailing list lately. Everybody seems to disregard simple netiquette guidelines here. For example: I can't read a message thread any more by just using my up/down arrow keys [jumping from one reply to the next]. I have to constantly

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Sven Barth
Am 05.03.2013 10:58, schrieb Henry Vermaak: On Tue, Mar 05, 2013 at 09:41:37AM +, Mark Morgan Lloyd wrote: Sven Barth wrote: Am 05.03.2013 10:14, schrieb Mark Morgan Lloyd: But on the other hand, if an application programmer could disable FPC's unit handling and use make -j instead,

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Henry Vermaak
On Tue, Mar 05, 2013 at 10:12:04AM +0100, Michael Van Canneyt wrote: You may think that Delphi is the best thing since sliced bread, but not everyone thinks so. And with the attitude of, e.g. Boian, we see that it's simply too hard to please hard-core delphi fanboys. They're all take and no

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Mark Morgan Lloyd
Henry Vermaak wrote: On Tue, Mar 05, 2013 at 09:41:37AM +, Mark Morgan Lloyd wrote: Sven Barth wrote: Am 05.03.2013 10:14, schrieb Mark Morgan Lloyd: But on the other hand, if an application programmer could disable FPC's unit handling and use make -j instead, choosing to pay the price

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Michael Van Canneyt
On Tue, 5 Mar 2013, Sven Barth wrote: Am 05.03.2013 10:58, schrieb Henry Vermaak: On Tue, Mar 05, 2013 at 09:41:37AM +, Mark Morgan Lloyd wrote: Sven Barth wrote: Am 05.03.2013 10:14, schrieb Mark Morgan Lloyd: But on the other hand, if an application programmer could disable FPC's

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Paul Ishenin
05.03.13, 17:55, Sven Barth wrote: @Paul: see? :) I see you, Graeme, Michael and probably some more 5-6 developers. Best regards, Paul Ishenin ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Henry Vermaak
On Tue, Mar 05, 2013 at 11:05:22AM +0100, Sven Barth wrote: Am 05.03.2013 10:58, schrieb Henry Vermaak: On Tue, Mar 05, 2013 at 09:41:37AM +, Mark Morgan Lloyd wrote: Sven Barth wrote: Am 05.03.2013 10:14, schrieb Mark Morgan Lloyd: But on the other hand, if an application programmer

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Mattias Gaertner
Michael Van Canneyt mich...@freepascal.org hat am 5. März 2013 um 11:09 geschrieben: On Tue, 5 Mar 2013, Sven Barth wrote: Am 05.03.2013 10:58, schrieb Henry Vermaak: On Tue, Mar 05, 2013 at 09:41:37AM +, Mark Morgan Lloyd wrote: Sven Barth wrote: Am 05.03.2013 10:14, schrieb Mark

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Henry Vermaak
On Tue, Mar 05, 2013 at 11:09:39AM +0100, Michael Van Canneyt wrote: There is a new tool pas2fpm.pp which can easily be adapted to do this. It already calculates the dependencies, but outputs them in fpmake form. Ah, I remember that fpmake can build with multiple threads, so perhaps this is a

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Michael Van Canneyt
On Tue, 5 Mar 2013, Mattias Gaertner wrote: Michael Van Canneyt mich...@freepascal.org hat am 5. März 2013 um 11:09 geschrieben: On Tue, 5 Mar 2013, Sven Barth wrote: Am 05.03.2013 10:58, schrieb Henry Vermaak: On Tue, Mar 05, 2013 at 09:41:37AM +, Mark Morgan Lloyd wrote: Sven

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Bernd Mueller
Paul Ishenin wrote: I remember author of Total Commander who had failed to port his project to FPC + Laz because of many incompatilities in both projects. IMHO, you are not right. the 64-bit version seems to be written in FPC/Lazarus: The string FPC 2.5.1 [2011/12/03] for x86_64 - Win64

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Sven Barth
Am 05.03.2013 11:05, schrieb Henry Vermaak: On Tue, Mar 05, 2013 at 10:12:04AM +0100, Michael Van Canneyt wrote: You may think that Delphi is the best thing since sliced bread, but not everyone thinks so. And with the attitude of, e.g. Boian, we see that it's simply too hard to please

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Marco van de Voort
In our previous episode, Henry Vermaak said: IMHO a threading clusterfsck is preferable to a forking clusterfck :-) My gut feeling would be that the complexity and potential bugs/races don't make up for the speed, but maybe a threaded compiler gains a lot more than I imagine. Are there any

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Marco van de Voort
In our previous episode, Henry Vermaak said: But on the other hand, if an application programmer could disable FPC's unit handling and use make -j instead, choosing to pay the price of difficult maintenance, it might defuse the criticism coming from certain quarters. Make can not

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Graeme Geldenhuys
On 2013-03-05 10:31, Henry Vermaak wrote: Ah, I remember that fpmake can build with multiple threads, so perhaps this is a better solution than to do it with make. I'll investigate. I've got that option enabled by default for building FPC 2.7.1 and it does shave off a few seconds. I'm also

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Marco van de Voort
In our previous episode, Sven Barth said: when Delphi announced them they had much more (you know of course). That was more a prototype of generics. But inspite of that we did not drop our own implementation. Just to say one thing clear: I will NOT drop FPC's generic implementation and

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Alexander Klenin
On Tue, Mar 5, 2013 at 9:10 PM, Paul Ishenin paul.ishe...@gmail.com wrote: 05.03.13, 17:55, Sven Barth wrote: I see you, Graeme, Michael and probably some more 5-6 developers. The level of Delphi compatibility vs. syntax quality is, as always in engineering, a matter of compromise and

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Alexander Klenin
On Tue, Mar 5, 2013 at 10:24 PM, Marco van de Voort mar...@stack.nl wrote: Just to say one thing clear: I will NOT drop FPC's generic implementation and I'll revert every commit that tries to do so, because not only do we have to keep backwards compatibility, but the Delphi syntax is a

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Marco van de Voort
In our previous episode, Alexander Klenin said: not only do we have to keep backwards compatibility, but the Delphi syntax is a nightmare to parse. But you need to anyway because of mode delphi, so what is the point? It is hard to parse for humans as well as for the compiler. That's a

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Michael Fuchs
Am 05.03.2013 10:25, schrieb Michael Van Canneyt: I've seen this before, and always been baffled by this. How can you increment a constant? If you can, it is then a variable, no? A leftover from the TP days. A typed constant acts as an initialized variable. You can disable this construct

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Henry Vermaak
On Tue, Mar 05, 2013 at 11:44:37AM +0100, Marco van de Voort wrote: In our previous episode, Henry Vermaak said: But on the other hand, if an application programmer could disable FPC's unit handling and use make -j instead, choosing to pay the price of difficult maintenance, it might

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Hans-Peter Diettrich
Henry Vermaak schrieb: I'm trying to ascertain if this is even possible (the c-style, file-at-a-time compilation, using make to handle multiple processes). Do you think it's possible, then? Yes and no. It would mean to create kind of header files for the Pascal units, usable to compile the

[fpc-devel] Pass compiler options to generics [was Delphi anonymous methods]

2013-03-05 Thread ListMember
On 2013-03-05 12:37, Sven Barth wrote: Thanks, I try my best :) I know you do. And, since generics has also been mentioned in this thread, here is something I'd like to table/mention (or, rather, use you as a sounding board, if I may). Sometimes writing generic routines that are truly

[fpc-devel] Unicode String Manager on darwin

2013-03-05 Thread Louis Salkind
With the fpc 2.7.1 trunk, the following simple program does not work under darwin unless I also include the unit cwstring: program project1; {$mode objfpc}{$H+} uses sysutils;// also needs the unit cwstring to work under darwin function toupper(const s: WideString): WideString;

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Michael Fuchs
Am 05.03.2013 11:10, schrieb Paul Ishenin: @Paul: see? :) I see you, Graeme, Michael and probably some more 5-6 developers. That is the problem with mailing lists. Not everybody sends a mail, just saying +1 from me too. And so it could be probably some more 500-600 developers. And btw:

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Marcos Douglas
On Tue, Mar 5, 2013 at 7:10 AM, Paul Ishenin paul.ishe...@gmail.com wrote: 05.03.13, 17:55, Sven Barth wrote: @Paul: see? :) I see you, Graeme, Michael and probably some more 5-6 developers. So now we have 7! ;-) I want to keep the language sane too. Regards, Marcos Douglas

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Sven Barth
Am 05.03.2013 12:44, schrieb Michael Fuchs: Am 05.03.2013 10:25, schrieb Michael Van Canneyt: I've seen this before, and always been baffled by this. How can you increment a constant? If you can, it is then a variable, no? A leftover from the TP days. A typed constant acts as an initialized

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Sven Barth
Am 05.03.2013 12:29, schrieb Alexander Klenin: This is why I propose the following plan: 1) Implement Delphi-like anonymous functions syntax, without closures 2) Implement Delphi-like by-reference closures 3) Implement ObjFPC-specific named closures with explicit by-value/by reference options

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Sven Barth
Am 05.03.2013 12:24, schrieb Marco van de Voort: In our previous episode, Sven Barth said: when Delphi announced them they had much more (you know of course). That was more a prototype of generics. But inspite of that we did not drop our own implementation. Just to say one thing clear: I will

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Alexander Klenin
On Wed, Mar 6, 2013 at 12:16 AM, Sven Barth pascaldra...@googlemail.com wrote: SomeVar := SomeFuncSomething - SomeTypeSomething.SomeMethod * SomeOtherTypeSomething.SomeMethodSomething; === example end === while this will be much easier to implement: === example begin === SomeVar :=

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Sven Barth
Am 05.03.2013 14:23, schrieb Alexander Klenin: On Wed, Mar 6, 2013 at 12:16 AM, Sven Barth pascaldra...@googlemail.com wrote: SomeVar := SomeFuncSomething - SomeTypeSomething.SomeMethod * SomeOtherTypeSomething.SomeMethodSomething; === example end === while this will be much easier to

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Mattias Gaertner
Sven Barth pascaldra...@googlemail.com hat am 5. März 2013 um 14:27 geschrieben: [...] Please note that I wouldn't have choosen round brackets either (potential conflicts with type casting) ? Can you give an example? Mattias ___ fpc-devel maillist

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Alexander Klenin
On Wed, Mar 6, 2013 at 12:27 AM, Sven Barth pascaldra...@googlemail.com wrote: I don't know why the one who first implemented them chose them, but now the reason is backwards compatibility. Please note that I wouldn't have choosen round brackets either (potential conflicts with type casting)

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Sven Barth
Am 05.03.2013 14:50, schrieb Alexander Klenin: On Wed, Mar 6, 2013 at 12:27 AM, Sven Barth pascaldra...@googlemail.com wrote: I don't know why the one who first implemented them chose them, but now the reason is backwards compatibility. Please note that I wouldn't have choosen round brackets

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Sven Barth
Am 05.03.2013 14:41, schrieb Mattias Gaertner: Sven Barth pascaldra...@googlemail.com hat am 5. März 2013 um 14:27 geschrieben: [...] Please note that I wouldn't have choosen round brackets either (potential conflicts with type casting) ? Can you give an example? Forget what I wrote... As I've

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Paul Ishenin
05.03.13, 21:00, Marcos Douglas пишет: So now we have 7! ;-) I want to keep the language sane too. I wrote not about sane/insane. Delphi adds features to pascal the way they want - this is reality. We can't do anything with this. If they add a feature not the sane way we can't undo their

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Florian Klaempfl
Am 05.03.2013 11:10, schrieb Paul Ishenin: 05.03.13, 17:55, Sven Barth wrote: @Paul: see? :) I see you, Graeme, Michael and probably some more 5-6 developers. Even if those are the only ones, from the beginning, FPC tried to support all niches. And if someone maintaines a certain niche,

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Marcos Douglas
On Tue, Mar 5, 2013 at 11:46 AM, Paul Ishenin paul.ishe...@gmail.com wrote: 05.03.13, 21:00, Marcos Douglas пишет: So now we have 7! ;-) I want to keep the language sane too. I wrote not about sane/insane. Delphi adds features to pascal the way they want - this is reality. We can't do

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread waldo kitty
On 3/4/2013 15:33, Howard Page-Clark wrote: On 04/03/13 6:34, waldo kitty wrote: i'm trying to understand what you mean by Pascal don't allows to create static variables inside function like in c-like languages. i've done something that i think is what you speak of but it was in Borland's

Re: [fpc-devel] Pass compiler options to generics [was Delphi anonymous methods]

2013-03-05 Thread Alexander Klenin
On Tue, Mar 5, 2013 at 11:13 PM, ListMember listmem...@letterboxes.org wrote: This brings me to wonder if it would be possible to pass some constant (or set of constants, or something similar) to generic routine such that this/these option(s) would be treated as compiles options within the

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread waldo kitty
On 3/5/2013 05:50, Graeme Geldenhuys wrote: I'm also trying to use fpmake for other hourly build server tasks, where I need to do clean compiles of various independent packages first, then build the test suite that pulls everything together. eg: building Synapse, FBLib, tiOPF, EpikTimer, fpGUI

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Ivanko B
so that compilation could start while the disk is stressed by loading all other PPU files, required for the compilation of units with more dependencies. == Disk I/O is a huge low-down to avoid on any price (like databases do with their indexing). Today me tested building LINUX kernel

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Boian Mitov
Hi Henry, Interesting that you consider me a Delphi fanboy :-D . I don't like it much, but I surely love the anonymous methods :-D . I love the C++11 implementation of anonymous methods more however, but I hate the lack of extensive RTTI in C++ (and FPC). I am hard to please, and no fan of any

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Mark Morgan Lloyd
Ivanko B wrote: so that compilation could start while the disk is stressed by loading all other PPU files, required for the compilation of units with more dependencies. == Disk I/O is a huge low-down to avoid on any price (like databases do with their indexing). Today me tested

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Boian Mitov
Hmm... you are running on the assumptions that humans are parsers. I for one do analyze the logic not the sequence, maybe because I usually write code for parallel execution. Humans do not think and follow code as computers, and often code that is easy to parse is difficult to follow by human

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Daniël Mantione
Op Tue, 5 Mar 2013, schreef Mark Morgan Lloyd: I've not had an opportunity to try this, but my understanding is that on a Sun E10K with something like 256 400MHz processors the Linux kernel built in around 20 seconds. I've had it build in about 3 minutes on a system with 16x 80MHz

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Graeme Geldenhuys
On 2013-03-05 15:24, Marcos Douglas wrote: Why follow the Delphi even knowing that is the wrong way to implement something? Because like the FPC team have said a million times to me because they follow Delphi blindly, and WILL do everything to stay delphi compatible. Good thing is, most

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Graeme Geldenhuys
On 2013-03-05 17:09, waldo kitty wrote: on another system i work with, we use disk-based breadcrumb semaphore files for the different stages and parts of those stages... Thanks for you input. It sounds similar to what I was planning. Simply create an empty file in /tmp when each

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Sven Barth
On 05.03.2013 20:58, Graeme Geldenhuys wrote: On 2013-03-05 17:09, waldo kitty wrote: on another system i work with, we use disk-based breadcrumb semaphore files for the different stages and parts of those stages... Thanks for you input. It sounds similar to what I was planning. Simply

Re: [fpc-devel] fpc 2.7.1 segfault in writestr?

2013-03-05 Thread Jonas Maebe
On 15 Feb 2013, at 23:38, Martin wrote: RTL build with OPT=-gl -gw -godwarfsets -O-1 compiler build with OPT=-gl -O3 -Or -CpPENTIUMM -OpPENTIUMM Lazarus -WC -gh -Criot -gw2 -godwarfsets -O-1 -gt The following line crashes with SigSegV writestr(BaseConf, AType,':', '

Re: [fpc-devel] Failed to compile ios-headers from fpc's trunk

2013-03-05 Thread Jonas Maebe
On 16 Feb 2013, at 15:18, Joost van der Sluis wrote: When I try to parse compile the ios-headers as supplied in cocoaint/utils, I get the following error: NSEnumerator.inc(18,18) Fatal: Syntax error, ; expected but identifier __UNSAFE_UNRETAINEDPTR found The offending code is:

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Henry Vermaak
On Tue, Mar 05, 2013 at 07:26:19PM +0100, Daniël Mantione wrote: Op Tue, 5 Mar 2013, schreef Mark Morgan Lloyd: I've not had an opportunity to try this, but my understanding is that on a Sun E10K with something like 256 400MHz processors the Linux kernel built in around 20 seconds. I've

Re: [fpc-devel] Re: Comparison FPC 2.6.2 - Kylix 3

2013-03-05 Thread Jonas Maebe
On 04 Mar 2013, at 13:38, Daniël Mantione wrote: 2. Layered code generation The split of the code generation in a high-level and low-level layer, means that for every node that is processed, first the high-level virtual method is called, which in turn calls the lower level virtual

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Henry Vermaak
On Tue, Mar 05, 2013 at 09:56:21AM -0800, Boian Mitov wrote: Hi Henry, Interesting that you consider me a Delphi fanboy :-D . I don't like it much, but I surely love the anonymous methods :-D . I love the C++11 implementation of anonymous methods more however, but I hate the lack of

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Boian Mitov
I equally love and hate the tools (spare Scheme and Java) :-D . So hence the smiling faces. I needed the performance boos and speed of development they are giving me. The development before that was way too slow :-( . I have increased the productivity multiple times by doing that. I also did

Re: [fpc-devel] Delphi anonymous methods

2013-03-05 Thread Frank Church
I have observed a lot of Delphi developers who have written code that needs or depends on the features like anonymous methods, generics, RTTI give up porting to FPC because it proved too difficult, but then it turns out those libraries could greatly enhance FPC usage. So I think this bullet must

Re: [fpc-devel] Comparison FPC 2.6.2 - Delphi 7

2013-03-05 Thread Mark Morgan Lloyd
Henry Vermaak wrote: On Tue, Mar 05, 2013 at 07:26:19PM +0100, Daniël Mantione wrote: Op Tue, 5 Mar 2013, schreef Mark Morgan Lloyd: I've not had an opportunity to try this, but my understanding is that on a Sun E10K with something like 256 400MHz processors the Linux kernel built in around