Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-06 Thread Jonas Maebe
On 06 Dec 2012, at 04:16, Nikolay Nikolov wrote: Having a library for arbitrary-precision arithmetic like gmp is a huge advantage in these competitions and making it easy to setup by people who are clueless idiots and know only how to press next, next, next so people who chose to compete

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-06 Thread Marco van de Voort
In our previous episode, Jonas Maebe said: Having a library for arbitrary-precision arithmetic like gmp is a huge advantage in these competitions and making it easy to setup by people who are clueless idiots and know only how to press next, next, next so people who chose to compete

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-06 Thread Alexander Klenin
On Thu, Dec 6, 2012 at 8:29 PM, Jonas Maebe jonas.ma...@elis.ugent.be wrote: If a major problem is really the lack of standard support for arbitrary-precision arithmetic, does that not mean that C and C++ are no longer serious options either? Actually, this is considered a drawback of C++

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-06 Thread Florian Klämpfl
Am 06.12.2012 11:03, schrieb Alexander Klenin: On Thu, Dec 6, 2012 at 8:29 PM, Jonas Maebe jonas.ma...@elis.ugent.be wrote: If a major problem is really the lack of standard support for arbitrary-precision arithmetic, does that not mean that C and C++ are no longer serious options either?

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-06 Thread Hans-Peter Diettrich
Jonas Maebe schrieb: If a major problem is really the lack of standard support for arbitrary-precision arithmetic, does that not mean that C and C++ are no longer serious options either? IMO that leaves the domain of general purpose languages. Here I see the boundary at operator level. A

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-05 Thread Nikolay Nikolov
As an ex-competitive programmer and multiple IOI and BOI medalist, let me try to explain, although I realize it might be difficult for normal programmers to understand, but let's just say that: - the people who setup the programming environment for these competitions are not the same people

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-05 Thread Alexander Klenin
On Thu, Dec 6, 2012 at 2:16 PM, Nikolay Nikolov nick...@users.sourceforge.net wrote: Just to make it clear how these people usually think, I was part of the IOI2009 technical committee and I was responsible for setting up the pascal environment (fpc lazarus under ubuntu) to work. In that year,

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-05 Thread Hans-Peter Diettrich
Nikolay Nikolov schrieb: As an ex-competitive programmer and multiple IOI and BOI medalist, let me try to explain, although I realize it might be difficult for normal programmers to understand, but let's just say that: - the people who setup the programming environment for these competitions

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-03 Thread Craig Peterson
On 12/2/2012 4:31 PM, Hans-Peter Diettrich wrote: I'm not really happy with ports of sophisticated C libraries. When working on the Abbrevia sourcecode I came across a problem in one of the decompression modules. Abbrevia's DEFLATE engine isn't a port of zlib, it's an implementation of RFC

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-03 Thread Hans-Peter Diettrich
Craig Peterson schrieb: On 12/2/2012 4:31 PM, Hans-Peter Diettrich wrote: [...] That's why I think that such libraries should be maintained by their own developers, so that all bug fixes and improvements become available immediately to the FPC users. Zlib is stable, not because it's

[fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-02 Thread Alexander Klenin
In my ongoing efforts to prevent elimination of Pascal/FPC from a set of languages used to teach programming, I have recently encountered another problem: although FPC does include gmp unit for arbitrary-precision calculations, programs compiled with it require gmp dynamic library. This library

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-02 Thread Michael Van Canneyt
On Sun, 2 Dec 2012, Alexander Klenin wrote: In my ongoing efforts to prevent elimination of Pascal/FPC from a set of languages used to teach programming, I have recently encountered another problem: although FPC does include gmp unit for arbitrary-precision calculations, programs compiled

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-02 Thread Alexander Klenin
On Sun, Dec 2, 2012 at 2:02 PM, Sven Barth pascaldra...@googlemail.com wrote: We can not bundle such libaries as different (Linux) distributions will have different dependencies like different versions of the libc and then this library would not load anyway (and Free Pascal would be accused for

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-02 Thread Alexander Klenin
On Sun, Dec 2, 2012 at 2:08 PM, Michael Van Canneyt mich...@freepascal.org wrote: That is a bit of a difficult one. gmp just provides just the interface of an external library. If we do it fo this one, we should do it for all the libraries for which we provide headers. For marketing

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-02 Thread Michael Van Canneyt
On Sun, 2 Dec 2012, Alexander Klenin wrote: On Sun, Dec 2, 2012 at 2:08 PM, Michael Van Canneyt mich...@freepascal.org wrote: That is a bit of a difficult one. gmp just provides just the interface of an external library. If we do it fo this one, we should do it for all the libraries for

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-02 Thread Alexander Klenin
On Sun, Dec 2, 2012 at 2:42 PM, Michael Van Canneyt mich...@freepascal.org wrote: Writing high-quality arbitrary precision arithmetics is hard. The fact that Free Pascal uses GMP instead of homegrown solution has actually earned some praise. Define homegown ? GMP most likely also is

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-02 Thread Tomas Hajny
On Sun, December 2, 2012 13:35, Alexander Klenin wrote: On Sun, Dec 2, 2012 at 2:42 PM, Michael Van Canneyt mich...@freepascal.org wrote: . . In short term, however, adding gmp.dll in 2.6.2 release will make it available at least for upcoming Russian Olympiad in Informatics. Well, 2.6.2 is

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-02 Thread Alexander Klenin
On Sun, Dec 2, 2012 at 4:52 PM, Tomas Hajny xhaj...@hajny.biz wrote: As for fairness, the usual argument is just solve problems in Java/Python, which is exactly what I am trying to prevent :) Who defines what is the right file to choose if there are multiple options? I am not sure which

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-02 Thread Tomas Hajny
On 2 Dec 12, at 16:45, Alexander Klenin wrote: On Sun, Dec 2, 2012 at 4:52 PM, Tomas Hajny xhaj...@hajny.biz wrote: As for fairness, the usual argument is just solve problems in Java/Python, which is exactly what I am trying to prevent :) Who defines what is the right file to choose if

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-02 Thread Alexander Klenin
On Sun, Dec 2, 2012 at 9:47 PM, Tomas Hajny xhaj...@hajny.biz wrote: On 2 Dec 12, at 16:45, Alexander Klenin wrote: I am not sure which options do you mean, I refer to the dll mentioned here: http://wiki.freepascal.org/gmp I meant multiple 2.6.2 installers (in particular, if we as the

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-02 Thread Florian Klämpfl
Am 02.12.2012 19:50, schrieb Alexander Klenin: On Sun, Dec 2, 2012 at 9:47 PM, Tomas Hajny xhaj...@hajny.biz wrote: On 2 Dec 12, at 16:45, Alexander Klenin wrote: I am not sure which options do you mean, I refer to the dll mentioned here: http://wiki.freepascal.org/gmp I meant multiple 2.6.2

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-02 Thread Hans-Peter Diettrich
Michael Van Canneyt schrieb: Is there not a native pascal solution for arbitrary precision math ? I seem to remember that there are several ones floating around, maybe we should simply include one of them. I'm not really happy with ports of sophisticated C libraries. When working on the

Re: [fpc-devel] Please include gmp.dll in Win32 distribution of FPC 2.6.2 and later

2012-12-02 Thread Tomas Hajny
On 2 Dec 12, at 21:50, Alexander Klenin wrote: On Sun, Dec 2, 2012 at 9:47 PM, Tomas Hajny xhaj...@hajny.biz wrote: On 2 Dec 12, at 16:45, Alexander Klenin wrote: I am not sure which options do you mean, I refer to the dll mentioned here: http://wiki.freepascal.org/gmp I meant multiple