Dailydave mailing list archives

Re: It jerked and it berked but the thing really worked!


From: silky <michaelslists () gmail com>
Date: Tue, 24 Feb 2009 10:27:03 +1100

On Tue, Feb 24, 2009 at 8:37 AM, Halvar Flake <halvar () gmx de> wrote:
Hey all,

no offense Dave, but a Java or C# implementation of a hash function is
for most purposes useless. Hash functions are used in a lot of environments where
interpreters for Java or C# are not available (nor desirable), and such
code would make performance evaluations unnecessarily difficult.

I agree, I think having the reference implementations published in a
language closer to what they will (typically) be written in is good
anyway. Consider that had they been written in C#, with no buffer
overflows to worry about, someone will privately convert that to C,
and probably make a mistake. But this time, it won't be public.

At least in the current case, the flaws are public to all and can be
fixed - and known to be fixed - to all. Far more helpful.

Safer to translate from C to C# than the other way round. At least if
you go up you're probably less and less concerned about performance.

-- 
noon silky
http://www.boxofgoodfeelings.com/
_______________________________________________
Dailydave mailing list
Dailydave () lists immunitysec com
http://lists.immunitysec.com/mailman/listinfo/dailydave


Current thread: