caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Suggestion for Int32.rotate
@ 2002-02-04 23:06 Berke Durak
  2002-02-06 18:01 ` Xavier Leroy
  2002-02-07  1:15 ` Gerd Stolpmann
  0 siblings, 2 replies; 14+ messages in thread
From: Berke Durak @ 2002-02-04 23:06 UTC (permalink / raw)
  To: caml-list

Hello,

I was attempting to implement some block ciphers, and I missed the following :

1) An Int32.rotate function that generates data-dependent
hardware rotates whenever possible (i.e. things like rol.l d0,d1)

2) A syntax extension (or extension to the standard syntax) for
entering Int32 and Int64 constants. 

3) A hack into Printf to remove the need to use Int32.format

I.e. better support for int32's. I understand that the Caml team does
not want people to use int32's (or int64's) by default. However a lot
of coding/crypto stuff, deserving to be ported to Caml, works with
32-bit ints and it would be good to be able to use them at full speed.

For example, the MD5 routine used in Digest.string could be efficiently
rewritten in Caml.
--
Berke


-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2002-02-07 16:32 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-04 23:06 [Caml-list] Suggestion for Int32.rotate Berke Durak
2002-02-06 18:01 ` Xavier Leroy
2002-02-06 20:08   ` Daniel de Rauglaudre
2002-02-06 20:43     ` Frederic van der Plancke
2002-02-06 22:40       ` Chris Hecker
2002-02-07  1:07       ` Gerd Stolpmann
2002-02-07  3:05         ` Brian Rogoff
2002-02-07  3:25         ` Eric C. Cooper
2002-02-07 13:49         ` Thorsten Ohl
2002-02-07 13:55           ` Remi VANICAT
2002-02-07 16:32             ` [Caml-list] More syntax: _ in numbers, backquote infix op's Christian Lindig
2002-02-06 21:02   ` [Caml-list] integer types and their literals james woodyatt
2002-02-06 21:36   ` [Caml-list] Suggestion for Int32.rotate Berke Durak
2002-02-07  1:15 ` Gerd Stolpmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).