Sign in Join

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

Mailing lists / fpc-pascal / 2008-06

code speed and size on various platforms

11 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

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

Mattias Gaertner

I would like to create a shot overview of the code quality of FPC. Please help to complete the list:

Under i386 code size and speed is similar to Delphi and gcc (except for some synthetic benchmarks).

Under x86_64 pentium code size and speed is similar to gcc (exc...).

Under x86_64 amd code size and speed is similar to D and not that far away from gcc (exc...).

Under arm code size and speed is similar to ? (exc...).

Under powerpc code size and speed is similar to ? (exc...).

Under sparc code size and speed is similar to ? (exc...).

Mattias

Reply by email

Lourival Mendes
to Mattias Gaertner

Dear all users,

I'm looking for an unity for calculus of some more complex functions in Pascal than those avaiable in the Delphi math.pas unity. For a more specific case I would like to calculate FFT and IFFT of some signal data. Does the FPC has some? Is it possible to use it in Delphi ? Does someone knows if there is the translation of numerical recipes from C to Pascal??

Thanks

Lourival

Reply by email

Paul Nicholls
to Lourival Mendes

"Lourival Mendes"
wrote in message

Show quoted text 13 lines
Dear all users, I'm looking for an unity for calculus of some more complex functions in Pascal than those avaiable in the Delphi math.pas unity. For a more specific case I would like to calculate FFT and IFFT of some signal data. Does the FPC has some? Is it possible to use it in Delphi ? Does someone knows if there is the translation of numerical recipes from C to Pascal?? Thanks Lourival _______________________________________________

Hi Lourival,
perhaps this link below will help. It is a free Delphi/Pascal implementation (source included) for a complext FFT and inverse FFT released under the Mozilla Public License Version 1.1.

http://www.simdesign.nl/fft.html

cheers,
Paul

Reply by email

Lourival Mendes
to Paul Nicholls

Thanks Paul

2008/6/17 Paul Nicholls :

Show quoted text 31 lines
"Lourival Mendes" wrote in message > > Dear all users, > > I'm looking for an unity for calculus of some more complex > functions in Pascal than those avaiable in the Delphi math.pas unity. > For a more specific case I would like to calculate FFT and IFFT of > some signal data. Does the FPC has some? Is it possible to use it in > Delphi ? Does someone knows if there is the translation of numerical > recipes from C to Pascal?? > > Thanks > > Lourival > _______________________________________________ Hi Lourival, perhaps this link below will help. It is a free Delphi/Pascal implementation (source included) for a complext FFT and inverse FFT released under the Mozilla Public License Version 1.1. http://www.simdesign.nl/fft.html cheers, Paul _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Lourival J. Mendes Neto

Reply by email

Michael Van Canneyt
to Lourival Mendes: I'm looking for an unity for calculus of some more complex functions in Pascal than those…
Lourival Mendes wrote 8 lines
Dear all users, I'm looking for an unity for calculus of some more complex functions in Pascal than those avaiable in the Delphi math.pas unity. For a more specific case I would like to calculate FFT and IFFT of some signal data. Does the FPC has some? Is it possible to use it in Delphi ? Does someone knows if there is the translation of numerical recipes from C to Pascal??

The numerical recipes exist in a pascal version. They should be compilable with FPC without problems.

Michael.

Reply by email

Lourival Mendes
to Michael Van Canneyt

But is it free avaiable? Or only in the book??

2008/6/18, Michael Van Canneyt :

Show quoted text 21 lines
On Tue, 17 Jun 2008, Lourival Mendes wrote: > Dear all users, > > I'm looking for an unity for calculus of some more complex > functions in Pascal than those avaiable in the Delphi math.pas unity. > For a more specific case I would like to calculate FFT and IFFT of > some signal data. Does the FPC has some? Is it possible to use it in > Delphi ? Does someone knows if there is the translation of numerical > recipes from C to Pascal?? The numerical recipes exist in a pascal version. They should be compilable with FPC without problems. Michael. _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Lourival J. Mendes Neto

Reply by email

Mark Morgan Lloyd
to Mattias Gaertner: I would like to create a shot overview of the code quality of FPC. Please help to…
Mattias Gaertner wrote 16 lines
I would like to create a shot overview of the code quality of FPC. Please help to complete the list: Under i386 code size and speed is similar to Delphi and gcc (except for some synthetic benchmarks). Under x86_64 pentium code size and speed is similar to gcc (exc...). Under x86_64 amd code size and speed is similar to D and not that far away from gcc (exc...). Under arm code size and speed is similar to ? (exc...). Under powerpc code size and speed is similar to ? (exc...). Under sparc code size and speed is similar to ? (exc...).

I'm running i386 and SPARC, but in general am not being particularly thorough in removing symbols etc.

Do you have a specific test project to use as a benchmark, i.e. that I can compile and report it takes X bytes on disc and ps/top reports Y/Z about it?

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Lourival Mendes
to Michael Van Canneyt: I have the sources. If you have a license for the C version, then I can try to send them…

Unfortunately I don't have the license for C version or anyone.

Is there any other source?? I would like to create or have a Math.pas unity complete for scientific reasons...

2008/6/18, Michael Van Canneyt :

Show quoted text 14 lines
On Wed, 18 Jun 2008, Lourival Mendes wrote: > But is it free avaiable? Or only in the book?? I have the sources. If you have a license for the C version, then I can try to send them to you. Michael. _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Lourival J. Mendes Neto

Reply by email

Michael Van Canneyt
to Lourival Mendes
Lourival Mendes wrote
Unfortunately I don't have the license for C version or anyone. Is there any other source?? I would like to create or have a Math.pas unity complete for scientific reasons...

Maybe Jedi-math has what you need ?

Michael.

Show quoted text 26 lines
2008/6/18, Michael Van Canneyt : > > > On Wed, 18 Jun 2008, Lourival Mendes wrote: > > > But is it free avaiable? Or only in the book?? > > I have the sources. > If you have a license for the C version, then I can try to send them to you. > > Michael. > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > -- Lourival J. Mendes Neto _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Marco van de Voort
to Michael Van Canneyt
Show quoted text 6 lines
On Wed, 18 Jun 2008, Lourival Mendes wrote: > > Is there any other source?? I would like to create or have a Math.pas > unity complete for scientific reasons... Maybe Jedi-math has what you need ?

And there is also numlib, though docs are lacking.

Reply by email