Sign in Join

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

Mailing lists / fpc-pascal / 2015-07

Re: fpc-pascal Digest, Vol 133, Issue 4

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

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

Serguei TARASSOV
Show quoted text 11 lines
Date: Thu, 02 Jul 2015 12:13:07 +0200 From: Michael Schnell To: Subject: Re: [fpc-pascal] Delphi mode for new features? Message-ID: Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 07/01/2015 05:40 PM, Serguei TARASSOV wrote: > >Are you agreed that more FPC is compatible with Delphi "by default", > >more users can use it without troubles and learning additional docs? Delphi is getting so horribly expensive (without noticeable benefit) that the user base is going to shrink dramatically. Hopefully some wile come over to fpc.

I would like to believe it but Embarcadero/Delphi announced the growth of users/client base 2 or 3 years ago, aren't they? Clearly, Delphi is more advanced in GUI development (not only for VCL limited by Win32/64 but mostly for new cross-platform projects for mobile devices) and have much more third-party GUI components vendors.

Opposite, I consider that the non-GUI cross-platform development in FPC/Lazarus is similar do is less robust but
the logging is the main approach to debug on server side. The support of Linux is a considerable feature.
So I come to FPC on this side (with hundreds of thousands legacy Delphi code...)

-Michael

Regards,
Serguei

Reply by email

Serguei TARASSOV
Show quoted text 6 lines
Date: Thu, 02 Jul 2015 13:30:07 +0200 From: Jonas Maebe To: FPC-Pascal users discussions Subject: Re: [fpc-pascal] Delphi mode for new features? We can't help that. FPC supported operator overloading long before Delphi did.

Yes, and I consider that it was implemented more clear and properly in FPC than in Delphi.

Show quoted text 8 lines
I still don't understand this argument. If you want to compile a unit both with FPC and Delphi, develop the code in Delphi (so you don't accidentally use FPC-specific routines from the FPC RTL) and use {$mode delphi} to compile it in FPC. Of course you can't use FPC-specific features if you want to compile your code also with Delphi, just like you can't use GCC-specific features if you want to compile your code also with MSVC.

My point is "in the perfect world we don't need to use {$MODE DELPHI} for common use of both compilers and framework cores". So we should use subset of FPC/Delphi languages (in the perfect world Delphi is a subset of FPC).
Every convergence make subset bigger. And vice versa.

There are many years ago I used GCC/MSVC for cross-platform dev and if you follow the standard (with isolating platform-specific code), the problems go away in many cases.

The strong point of C/C++ is the standard.
Maybe will see it for (Object, Free,...) Pascal too.

Regards,
Serguei

Reply by email