<twittard>
I read that on a blog and wanted to find out more about it
<twittard>
Anyone have some RTFM's / "yes/no"'s for me, maybe?
<thelema>
bobry: interesting... got me.
<thelema>
twittard: yes, there's a global interpreter lock, I don't think there's much documentation for it - the source is well written, so may be readable enough for you
<bobry>
twittard: GIL sounds like a natural solution for an interpreted language
<twittard>
Doesn't OCaml compile into native code, also?
<thelema>
twittard: yes, byte and native
<twittard>
I imagine the native code also has a GIL? Sorry for the pedantic questioning.
<twittard>
I like the OCaml language. The lack of parallelism is disheartening, though :(
<thelema>
well, maybe GIL isn't the right term - the GC is non-concurrent, so all threads must stop when it runs a major collection
<_habnabit>
there's always Unix.fork and MPI
<twittard>
ahh
<thelema>
there's some good libraries that allow one a shared memory segment between multiple processes
<twittard>
Hmm, ok. Thank you :). I'll keep trucking along with OCaml.
<_habnabit>
oh hey there's even MPI bindings for ocaml
<thelema>
yes, those have been around forever
<thelema>
written by Xavier Leroy, iirc
<thelema>
does anyone know how to put text (labels) onto archimedes plots?
<thelema>
aha, Viewport.text
tnguyen12 has quit [Ping timeout: 240 seconds]
edwin has quit [Remote host closed the connection]
ikaros has quit [Quit: Ex-Chat]
probst has quit [Quit: probst]
sepp2k has quit [Quit: Leaving.]
<bobry>
how should i compare two maps? simply m1 = m2?
<thelema>
no
<bobry>
why? it seems to work on simple examples
<thelema>
Map.compare
<thelema>
Map uses balanced binary trees to store the keys and values
<thelema>
these trees can be constructed differently for the same set of keys and values
<thelema>
So sometimes, (=) will return false, when the maps are actually equal
<bobry>
randomized binary trees?
<thelema>
not randomized - if the order of insertion is the same, the trees will be the same
<bobry>
ah, right
<thelema>
but if the order of insertion is different, the tree structure can be different
<bobry>
yup, thank you once again :)
twittard has quit [Quit: twittard]
Morphous_ has quit [Ping timeout: 240 seconds]
<Drakken>
thelema what are you doing with archimedes text?
<Drakken>
is it on the bench plot?
<thelema>
yes
<thelema>
I think it's pushed to github
<thelema>
Here's an example of what I'm outputting:
<thelema>
It looks like godi is trying to install conf-tk, which is a virtual package that just checks whether tcl/tk is installed. I guess it's possible that ekstrand messed up making the godiva file, but I'd double check user error first (or get rid of godi and use odb)
<thelema>
(odb with ocamlbrew)
Drup has quit [Quit: Leaving.]
<Drakken>
thelema nevermind, it's installed. I deselected all the selected packages and re-selected batteries. It worked fine.
<Drakken>
thelema godi seems to be the best way to get ocamlnet and (maybe) yojson.
<Drakken>
I have no idea why conf-tk was selected (if it was; i didn't check).
ulfdoz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 260 seconds]
ulfdoz_ is now known as ulfdoz
<Drakken>
thelema would you like a separate color key for benchplot, or are you happy with your end labels?