smkl changed the topic of #ocaml to: check logs from http://bespin.org/~nef/logs/ocaml/
malc has quit ["no reason"]
jao has quit [carter.openprojects.net irc.openprojects.net]
scipient has quit [carter.openprojects.net irc.openprojects.net]
scipient has joined #ocaml
jao has joined #ocaml
jemfinch has joined #ocaml
jemfinch has quit [Remote closed the connection]
Cryptor has joined #ocaml
jao has quit [Read error: 113 (No route to host)]
samx has joined #ocaml
Taaus_ has joined #ocaml
Taaus has quit [Read error: 104 (Connection reset by peer)]
samx has quit [Remote closed the connection]
Cryptor has quit [Read error: 110 (Connection timed out)]
gene9 has joined #ocaml
gene9 has quit []
Jiriki has joined #ocaml
jemfinch has joined #ocaml
<scipient> is there anything comparable to CPAN for ocaml?
<scipient> or perhaps i should just ask, how does one find ocaml libs
Yurik has joined #ocaml
malc has joined #ocaml
<Yurik> malc: hi
<malc> Zdorovenki buli
<malc> or something
<Yurik> malc: tak, same zdoroven'ki
<malc> Yurik: uh, moj ukrainskij na etoj fraze sakonchilsja
<Yurik> malc: yasno :-)
<malc> heh ;)
tav has quit [Read error: 104 (Connection reset by peer)]
tav has joined #ocaml
malc has quit ["no reason"]
Taaus_ is now known as Taaus
Submarine has joined #ocaml
Submarine has quit [carter.openprojects.net irc.openprojects.net]
Submarine has joined #ocaml
malc has joined #ocaml
<Submarine> malc: still working on math stuff?
<malc> Submarine: in a way, why?
<Submarine> tried compiling with -O3 and using other GC parameters?
<malc> Submarine: yes, i told you last time, the performance is now on par with C++ version
<malc> im in process of rewriting the stuff in Haskell and type classes drive me nuts.. grr
<malc> Submarine: btw. why have you started mlgmp at all? i mean in presence of Numerix..
<Submarine> mlgmp existed before numerix.
<malc> oh
<malc> i thought the situation was reversed
<Submarine> I just happen to have updated it lately after a long sleep, since I needed it for personal purposes.
<Submarine> mlgmp must date from around 97
<malc> heh. well in any case mlgmp and numerix and C++ perform essentialy the same on my stuff. and -O3 and GC tweaking provded all the needed boost
<Submarine> Talking of this, I think caml is on the average better than C++ since it encourages the use of efficient data structures.
<Submarine> In C++, if you try to do "clever stuff", you end up with segfaults.
<Submarine> Unless you are a god of programming, but who is?
<Submarine> Maybe the STL is a solution. I have not yet used it.
<malc> I rewrote the stuff in C++ only for personal amusement ditto SML'97 and Haskell
<Submarine> I'm tempted of learning Haskell.
<malc> and STL is one big compile time hog
<malc> C++ (4.0.2) bindings for GMP written with expression templates shows that really fast code can be accomplished with C++, for a price:
<malc> other$ ls -l /net/include/gmpxx.h
<malc> -rw-r--r-- 1 malc malc 185315 Feb 20 18:31 /net/include/gmpxx.h
<malc> other$ wc -l /net/include/gmpxx.h
<malc> 5132 /net/include/gmpxx.h
<malc> 190K just for wrappers.. sigh!
<Submarine> expression templates?
<malc> lemme find a link for you
<Submarine> Oh, like Blitz++?
<malc> ET's(among many other things) are used in Blitz++(which im unfamiliar with)
* Submarine is testing ocaml compiled with icc
<malc> Submarine: heh. took my hint? ;)
* malc food
<Submarine> except that make opt.opt does not work
<malc> im not terribly surprised
gl has joined #ocaml
owll has joined #ocaml
jao has joined #ocaml
Submarine has quit [Remote closed the connection]
jao has quit [Read error: 113 (No route to host)]
gl has quit ["Sic transit gloria mundi"]
<scipient> does anyone know of any ocaml crypto libs besides the blowfish/des one?
<scipient> and also, which of the big number libs would be best for doing crypto?
<scipient> (which is all integers)
<malc> dont know about interfaces to crypto libs
<malc> but for Integers you have 3 options a) Big_int(Num) b) GMP c) Numerix
<scipient> why so much duplication?
<malc> there is no duplications
<malc> Big_int uses Inria's library
<malc> Mlgmp is based on GMP
<malc> Numerix has 5 integer classes (one based on Big_int, one on GMP, 3 others are selfmade)
<malc> so they are all quite unique
<scipient> okay
<scipient> are there any performance comparisons that you know of?
<malc> my own, but its not very representative
<malc> talk to Submarine when he is around, he is author of Mlgmp
<scipient> okay, thanks for the advice
<malc> n/p
<scipient> i don't suppose you've heard of any embedded db projects for ocaml? simple key/value filesystem-in-a-file kind of thing?
<malc> i used hash/set marshalling for this purpose works like sharm
<malc> charm
<scipient> hm. i need to have an (encrypted) file that stores files inside it, with values up to a few hundred megs or even on the order of 1 gig
<malc> the topic of persistent large datastructures poped up on the mailing list some time ago, but iirc there was no consensus.. and your case is complicated with encryption
<malc> i guess you have to figure it all out yourself
<scipient> w00p!
<scipient> i'm considering just doing it in C or C++
<scipient> not that there's really much available under a license i can stomach
<malc> few hundred megs of what btw? key->val pairs?
<scipient> each value might be a few hundred megs in length
<scipient> it's basically a simple encrypted filesystem that i need
<malc> you can go with Bigarray here (memory mapped files), but maybe it is indeed easier to implement this stuff in lower level languages
<scipient> hm, interesting idea
<scipient> i need a good balance b/t memory efficiency and access speed.. the total size of the filesystem could be several gigs
<malc> your case is very specialized, you will have to figure out the gory details by yourself
<scipient> understood :)
malc has quit ["no reason"]
Yurik has quit ["will be back soon"]
Yurik has joined #ocaml
<Yurik> re
<owll> wb
jao has joined #ocaml
Yurik has quit [Remote closed the connection]
gene9 has joined #ocaml
gene9 has quit []
owll has quit ["Client Exiting"]
owll has joined #ocaml
owll has quit ["Client Exiting"]