Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2007-08

Delphi's generics syntax

8 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt
to Inoussa OUEDRAOGO
Inoussa OUEDRAOGO wrote
Hi I just saw this blog about upcoming Delphi's generic syntax at this address http://www.bobswart.nl/Weblog/Blog.aspx?RootId=5:1498

They of course had to do it different from FPC, once more. I suppose their operator overloading will also be different again.

They're not being very cooperative once again.

All Delphi owners on the list should NOW complain, saying that they want it compatible to FPC's implementation :-)

Michael.

Reply by email

Vincent Snijders
to Michael Van Canneyt
Michael Van Canneyt wrote 9 lines
On Tue, 21 Aug 2007, Inoussa OUEDRAOGO wrote: > Hi > > I just saw this blog about upcoming Delphi's generic syntax at this > address http://www.bobswart.nl/Weblog/Blog.aspx?RootId=5:1498 They of course had to do it different from FPC, once more.

What are the differences? Maybe good to document them (after their release).

Show quoted text 6 lines
I suppose their operator overloading will also be different again. They're not being very cooperative once again. All Delphi owners on the list should NOW complain, saying that they want it compatible to FPC's implementation :-)

Why didn't the fpc team give Bob Swart permission to blog about the generics syntax in the upcoming fpc 2.2? :-)

Vincent

Reply by email

Jonas Maebe
to Michael Van Canneyt: They of course had to do it different from FPC, once more. I suppose their operator…
Michael Van Canneyt wrote
> I just saw this blog about upcoming Delphi's generic syntax at this > address http://www.bobswart.nl/Weblog/Blog.aspx?RootId=5:1498 They of course had to do it different from FPC, once more.

It wouldn't surprise me if their actual implementation (or at least design) predates FPC's. I doubt they just thought this up quickly since FPC 2.1.2 was released.

Jonas

Reply by email

Michael Van Canneyt
to Vincent Snijders: What are the differences? Maybe good to document them (after their release). Why didn't…
Vincent Snijders wrote 12 lines
Michael Van Canneyt schreef: > > On Tue, 21 Aug 2007, Inoussa OUEDRAOGO wrote: > > > Hi > > > > I just saw this blog about upcoming Delphi's generic syntax at this > > address http://www.bobswart.nl/Weblog/Blog.aspx?RootId=5:1498 > > They of course had to do it different from FPC, once more. What are the differences? Maybe good to document them (after their release).

Just look at the page above and compare with the FPC manual.

Show quoted text 10 lines
> I suppose their operator overloading will also be different again. > > They're not being very cooperative once again. > > All Delphi owners on the list should NOW complain, saying that > they want it compatible to FPC's implementation :-) Why didn't the fpc team give Bob Swart permission to blog about the generics syntax in the upcoming fpc 2.2? :-)

I'm not sure he would even want permission. I think if he started to look at FPC he would loose his status as "highly appreciated" Delphi guru :-)

Seriously: Borland has never been very cooperative. When lazarus was started there was a radio broadcast with Michael Hess and Michael Swindell from Borland. Big words about the "big happy Pascal family", but unfortunately we've seen very little action to back up these words...

Ah well, look where Lazarus is now... :-)

Michael.

Reply by email

Daniël Mantione
to Michael Van Canneyt: They of course had to do it different from FPC, once more. I suppose their operator…

Op Tue, 21 Aug 2007, schreef Michael Van Canneyt:

Show quoted text 16 lines
On Tue, 21 Aug 2007, Inoussa OUEDRAOGO wrote: > Hi > > I just saw this blog about upcoming Delphi's generic syntax at this > address http://www.bobswart.nl/Weblog/Blog.aspx?RootId=5:1498 They of course had to do it different from FPC, once more. I suppose their operator overloading will also be different again. They're not being very cooperative once again. All Delphi owners on the list should NOW complain, saying that they want it compatible to FPC's implementation :-)

One argument is that Andreas Hausladen's generics implementation for Delphi *is* mostly FPC compatible. So they hurt their own customers who currently writing generics code using Andreas his solution.

I spent some efforts a while back on the non-tech newsgroup regarding compatibility for 64-bit issues; everyone needing Win64 is currently using FPC, and many component writers are porting. When Borland will release their win64 compiler in 2010 all 64-bit code will be using FPC facilities like ptruint, hopefully for Borland with Delphi-compatibility ifdefs still there. It is in their own interrest that they can compile the code then that is being written now.

Daniël

Reply by email