FastCode
An editor has nominated this article for deletion. You are welcome to participate in the deletion discussion, which will decide whether or not to retain it. |
![]() | This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
No issues specified. Please specify issues, or remove this template. |
FastCode is programming contest aimed at providing enhanced runtime library routines for Embarcadero Delphi. It was started in 2003 by Dennis Kjaer Christensen and at first it was hosted on Robert Lee's OptimalCode site.
The current project home is at http://fastcode.sourceforge.net/
The project is organized as a competition divided into challenges. Each challenge takes one function and optimizes it against a number of target (10-16). The project provides tools for benchmarking and validating each function contribution. 1 point is given for a contribution (maximally one function per target is given points) and 10 points are given for a target winner. A list with all contributors and their scores are maintained and at the end of each year a winner is celebrated. Borland/Codegear etc... have sponsored prizes.
The project enjoys the support of Embarcadero who recognizes the contributions of the FastCode team and incorporates their code into the codebase for Delphi[1].
List of Challenges
The FastCode project has run these challenges:
AES Ansi StringReplace, ArcCos, ArcSin, Ceil32, Ceil64, CharPos, CharPosIEx, CharPosEy, CharPosRev, CompareMem, ComnpareStr, CompareText, Polar Complex Number Addition ,Polar Complex Number Subtraction .............
http://fastcode.sourceforge.net/
Contributions to Delphi RTL
FastCode functions included in the Delphi RTL:
Delphi 2005: CompareText, Int64Div and FillChar
Delphi 2006: CompareText, Int64Div and FillChar, New Memory Manager (FastMM4) [2]
Delphi 2007: ArcCos, ArcSin, Power, PosEx, Move, Memory Manager, FillChar, Pos, __lldiv, LowerCase, UpperCase, CompareStr, CompareMem, CompareText, StrLen, StrCopy, StrComp. [3]
Delphi 2009: ArcCos, ArcSin, Power, PosEx, Move, Memory Manager, FillChar, Pos, __lldiv, LowerCase, UpperCase, CompareStr, CompareMem, CompareText, StrLen, StrCopy, StrComp.
Delphi 2010: ArcCos, ArcSin, Power, PosEx, Move, Memory Manager, FillChar, Pos, __lldiv, LowerCase, UpperCase, CompareStr, CompareMem, CompareText, StrLen, StrCopy, StrComp.
Delphi XE: ArcCos, ArcSin, Power, PosEx, Move, Memory Manager, FillChar, Pos, __lldiv, LowerCase, UpperCase, CompareStr, CompareMem, CompareText, StrLen, StrCopy, StrComp.
The FastCode Library
All the challenge winners are included in the FastCode library (http://fastcode.sourceforge.net/challenge_content/rtl_replcmnt_pkg.html). This library is open source released under the MPL license.
Contributors
John O'Harrow, Pierre le Riche, Aleksandr Sharahov, Dennis Kjaer Christensen, Lars Bloch Gravengaard, Hagen Reddmann, Eric Grange, Robert Lee, Eric W. Carman, Avatar Zondertau, Robert Houdart.....