[fpc-pascal] Origin of FPC features

Florian Klaempfl florian at freepascal.org
Tue Feb 10 08:09:07 CET 2009


leledumbo schrieb:
> I'm writing a paper about FPC and I need references where each language
> feature comes from. So far, these are my what I know (some are guessing
> though):
> 
> Feature 	Original Dialect 	Additional Information
> Separate compilation 	UCSD Pascal 	Unit based, not module (like Extended
> Pascal)
> Primitive OOP 	Turbo Pascal 	C++ like
> Modern OOP (including exceptions) 	Delphi 	Java like, though FPC was
> born before Java ;-)

Class like OOP: Delphi and the draft Object Pascal standard; exceptions: C++

> Assembler integration 	UCSD? Turbo? 	AT&T and Intel
> External references 	UCSD? Turbo? 	-
> Operator overloading 	Pascal-XSC 	-

Ideas from C++

> Function / Procedure overloading 	Delphi 	-

Ideas from C++ (FPC had it long before Delphi)

> Dynamic arrays 	Delphi 	-
> Variants 	Delphi 	-
> Arrays as parameter enhancements 	Delphi 	Open arrays, partial arrays

This was already available in TP

> Bitpacked Structures 	Native FPC 	-

Mac Pascal dialects

> Generics 	Native FPC 	-

Ideas from C++

> Thread Programming 	Native FPC? Delphi? 	Bringing threads to language level
> 
> 
> In case I miss something that you know, please add. Note that these
> features are related with language construct, not technical one (i.e.
> compiling speed, makefiles).
> ------------------------------------------------------------------------
> View this message in context: Origin of FPC features
> <http://www.nabble.com/Origin-of-FPC-features-tp21927731p21927731.html>
> Sent from the Free Pascal - General mailing list archive
> <http://www.nabble.com/Free-Pascal---General-f683.html> at Nabble.com.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list