Re: [fpc-devel] Generics Basics

2005-11-10 Thread Micha Nelissen
John Briggs wrote: The one thing that does concern me is why implement generics if you fail to implement the late binding of the objects which to me is the greatest gain of generic programming. Speed. What is "late binding" exactly ? What are you binding ? Micha

Re: [fpc-devel] Generics Basics

2005-11-10 Thread Jonas Maebe
On 10 Nov 2005, at 10:24, John Briggs wrote: To me generics should essentially make FPC a typeless language. i.e. everthing is an object and you just pass messages between objects, ala Smalltalk. How it is implemented is a moot point because at the top level you shouldn't be able to see t

Re: [fpc-devel] Generics Basics

2005-11-10 Thread John Briggs
On Tue, Nov 08, 2005 at 10:00:49PM +0100, dannym wrote: > Hi, > > Am Dienstag, den 08.11.2005, 18:10 -0200 schrieb Felipe Monteiro de > Carvalho: > > Hello, > > > > I am trying to understand what exactly generics are. I read the wiki > > page, but there are lot's of code examples and very few exp

Re: [fpc-devel] GetAppConfigDir under Unices

2005-11-10 Thread Michael Van Canneyt
On Thu, 10 Nov 2005, Michalis Kamburelis wrote: > Hi > > I had some time today and I decided to write a simple patch that fixes > GetAppConfigDir, adhering to basedir-spec. > > The arguments after adhering to basedir-spec are: > - The idea to place things within .config/ seems sensible. > - On

Re: [fpc-devel] GetAppConfigDir under Unices

2005-11-10 Thread Michalis Kamburelis
Hi I had some time today and I decided to write a simple patch that fixes GetAppConfigDir, adhering to basedir-spec. The arguments after adhering to basedir-spec are: - The idea to place things within .config/ seems sensible. - On my system (Debian testing) I see two things that adhere to it (xf

[fpc-devel] gettext patch

2005-11-10 Thread Vincent Snijders
Hi, Attached patch removes the dos unit from the uses clause of the gettext unit. Patch is created in fpc/fixes/fcl. Regards, Vincent. Index: inc/gettext.pp === --- inc/gettext.pp (revision 1444) +++ inc/gettext.pp (wor

Re: [fpc-devel] Templates / Generics; Vote

2005-11-10 Thread listmember
As far as voting goes, personally, I prefer something like this: GList = generic class(T) And, are we going to have non-class rotines, such as event declarations; i.e. TGenericCallback = generic function(AValue1: TGenericValue; AValue2: TGenericValue): Integer; TSomeGenericEvent = generic

Re: [fpc-devel] Generics Basics

2005-11-10 Thread Peter Vreman
>> There's a big risk involved with templates; code bloat. Namely, with >> templates, you can instantiate classes without realising that you are >> adding tens of kilobytes of code. >> >> I.e. in C++ if you instantiate a vector, vector, >> vector, you have three implementations of the vector in you

Re[2]: [fpc-devel] License of RTL

2005-11-10 Thread Pavel V. Ozerski
Hello Marco, Thursday, November 10, 2005, 10:53:09 AM, you wrote: >> Some files of RTL core are under the "full" GPL license, not a LGPL. Is it >> a new politics of FPC? MvdV> No. Must have been an oversight/bad copy/paste. MvdV> If you have more files, don't hesitate to name them. The syscall

Re: [fpc-devel] CrossFPC article (in german)

2005-11-10 Thread Michael Van Canneyt
On Wed, 9 Nov 2005, [EMAIL PROTECTED] wrote: http://www.toolbox-mag.de/data/tx62005artikel1.pdf Well, I didn't know it was being put online... Nice. Michael. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/ma