Can a Light Typing Discipline Be Compatible with an Efficient Implementation of Finite Fields Inversion?
Academic Article
Publication Date:
2014
abstract:
We focus on the fragment TFA of lambda-calculus. It contains terms which normalize in polynomial time only. Inside TFA we translated BEA, a well known, imperative and fast algorithm which calculates the multiplicative inverse of binary finite fields. The translation suggests how to categorize the operations of BEA in sets which drive the design of a variant that we called DCEA. On several common architectures we show that these two algorithms have comparable performances, while on UltraSPARC and ARM architectures the variant we synthesized from a purely functional source can go considerably faster than BEA.
Iris type:
01.01 Articolo in rivista
Keywords:
Functional Programming; Finite Field Arithmetics; Implicit Computational Complexity
List of contributors: