<zeenix>
yeah that went down while i was reading it :)
<zeenix>
thanks
Axioplas1_ has quit [Quit: Reconnecting]
Axioplase_ has joined #ocaml
zzz_ has quit [Ping timeout: 240 seconds]
myu2 has quit [Remote host closed the connection]
zeenix has left #ocaml []
smerz has quit [Quit: Ex-Chat]
mnabil_ has quit [Ping timeout: 255 seconds]
ccasin has quit [Ping timeout: 240 seconds]
mnabil_ has joined #ocaml
Edward__ has quit []
mnabil_ has quit [Ping timeout: 240 seconds]
mnabil_ has joined #ocaml
zzz_ has joined #ocaml
ftrvxmtrx has joined #ocaml
alexyk has quit [Quit: alexyk]
alexyk has joined #ocaml
myu2 has joined #ocaml
opla2 has joined #ocaml
_unK has quit [Remote host closed the connection]
alexyk has quit [Quit: alexyk]
alexyk has joined #ocaml
Amorphous has quit [Ping timeout: 272 seconds]
Amorphous has joined #ocaml
<alexyk>
when I'm already in Enum.fold ... e, is there a simpler way to refer to Enum.peek e?
<mrvn>
carry one in the accumulator and do the last one seperately.
<mrvn>
or: let fold2 f acc list = match list with [] -> acc | x::xs -> let rec loop acc x = function [] -> f acc x None | y::ys -> loop (f acc x (Some y)) y ys in loop acc x xs
<mrvn>
rewritten to enums instead of list
banisterfiend has joined #ocaml
khia0 has joined #ocaml
khia0 has left #ocaml []
myu2 has quit [Read error: No route to host]
myu2_ has joined #ocaml
banisterfiend has quit [Read error: Connection reset by peer]
alexyk has quit [Quit: alexyk]
banisterfiend has joined #ocaml
ulfdoz has joined #ocaml
alexyk has joined #ocaml
opla2 has quit [Ping timeout: 272 seconds]
opla2 has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
Yoric has joined #ocaml
opla2 has quit [Ping timeout: 240 seconds]
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
ulfdoz has quit [Ping timeout: 240 seconds]
mnabil_ has quit [Ping timeout: 240 seconds]
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
alexyk has joined #ocaml
alexyk has quit [Client Quit]
banisterfiend has quit [Ping timeout: 255 seconds]
banisterfiend has joined #ocaml
ygrek has joined #ocaml
ttamttam has joined #ocaml
avsm has quit [Quit: Leaving.]
Yoric has quit [Quit: Yoric]
almaisan-away is now known as al-maisan
ftrvxmtrx has quit [Quit: Leaving]
avsm has joined #ocaml
edwin has joined #ocaml
groves has quit [*.net *.split]
al-maisan has quit [*.net *.split]
f[x] has quit [*.net *.split]
nimred has quit [*.net *.split]
alpounet has quit [*.net *.split]
albacker has quit [*.net *.split]
flux has quit [*.net *.split]
julm has quit [*.net *.split]
snarkyboojum has quit [*.net *.split]
haelix has quit [*.net *.split]
fraggle_ has quit [*.net *.split]
rixed has quit [*.net *.split]
nejimban has quit [*.net *.split]
hyperboreean has quit [*.net *.split]
Obfuscate has quit [*.net *.split]
mikemc has quit [*.net *.split]
mcclurmc has quit [*.net *.split]
mrvn has quit [*.net *.split]
svenl has quit [*.net *.split]
adrien has quit [*.net *.split]
jlouis has quit [*.net *.split]
emias has quit [*.net *.split]
explodus has quit [*.net *.split]
kerneis_ has quit [*.net *.split]
jonafan has quit [*.net *.split]
coucou747 has quit [*.net *.split]
rks has quit [*.net *.split]
joewilliams has quit [*.net *.split]
theDroggl has quit [*.net *.split]
banisterfiend has quit [*.net *.split]
caligula_ has quit [*.net *.split]
mbac has quit [*.net *.split]
pheredhel has quit [*.net *.split]
Modius has quit [*.net *.split]
bacam has quit [*.net *.split]
unkanon2 has quit [*.net *.split]
cods has quit [*.net *.split]
mnabil has quit [*.net *.split]
cthuluh has quit [*.net *.split]
kaustuv has quit [*.net *.split]
bzzbzz has quit [*.net *.split]
Pepe_ has quit [*.net *.split]
rossberg_ has quit [*.net *.split]
__marius__ has quit [*.net *.split]
kerneis_ has joined #ocaml
jonafan has joined #ocaml
emias has joined #ocaml
explodus has joined #ocaml
fraggle_ has joined #ocaml
jlouis has joined #ocaml
adrien has joined #ocaml
svenl has joined #ocaml
mikemc has joined #ocaml
mcclurmc has joined #ocaml
Obfuscate has joined #ocaml
hyperboreean has joined #ocaml
mrvn has joined #ocaml
nejimban has joined #ocaml
rixed has joined #ocaml
coucou747 has joined #ocaml
rks has joined #ocaml
joewilliams has joined #ocaml
theDroggl has joined #ocaml
banisterfiend has joined #ocaml
caligula_ has joined #ocaml
mbac has joined #ocaml
pheredhel has joined #ocaml
Modius has joined #ocaml
bacam has joined #ocaml
unkanon2 has joined #ocaml
cods has joined #ocaml
mnabil has joined #ocaml
cthuluh has joined #ocaml
kaustuv has joined #ocaml
bzzbzz has joined #ocaml
Pepe_ has joined #ocaml
rossberg_ has joined #ocaml
__marius__ has joined #ocaml
<kaustuv>
If I want to share a bigarray of, say, 3 million integers between two processes using map_file, what is the best way to ensure that writes to the array are non-interfering? Is it generally recommended to structure the processes so that only one of them writes to the array?
groves has joined #ocaml
albacker has joined #ocaml
al-maisan has joined #ocaml
f[x] has joined #ocaml
nimred has joined #ocaml
alpounet has joined #ocaml
flux has joined #ocaml
julm has joined #ocaml
snarkyboojum has joined #ocaml
haelix has joined #ocaml
ikaros has joined #ocaml
patronus has quit [Read error: Connection reset by peer]
<mrvn>
kaustuv: totaly depends on what fits best
Snark has joined #ocaml
<mrvn>
also don't forget that just one process writing might not be enough. you still can get race conditions in there when the other process is reading while the other is writing.
<mrvn>
s/the other/one/
ygrek has quit [Ping timeout: 240 seconds]
myu2_ has quit [Remote host closed the connection]
patronus has joined #ocaml
Yoric has joined #ocaml
ftrvxmtrx has joined #ocaml
ygrek has joined #ocaml
rwmjones_afk is now known as rwmjones
_andre has joined #ocaml
ygrek has quit [Ping timeout: 240 seconds]
mcclurmc has quit [Quit: Leaving]
banisterfiend has quit [Ping timeout: 276 seconds]
banisterfiend has joined #ocaml
myu2 has joined #ocaml
al-maisan is now known as almaisan-away
hto has quit [Quit: Lost terminal]
mnabil has quit [Read error: Connection reset by peer]
mnabil has joined #ocaml
Pepe_ has quit [Ping timeout: 260 seconds]
Pepe_ has joined #ocaml
Yoric_ has joined #ocaml
Yoric has quit [Read error: Connection reset by peer]
Yoric_ is now known as Yoric
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
alexyk has joined #ocaml
Pepe_ has quit [Ping timeout: 246 seconds]
alexyk has quit [Client Quit]
Pepe_ has joined #ocaml
hto has joined #ocaml
hto has quit [Client Quit]
hto has joined #ocaml
Yoric has quit [Quit: Yoric]
Yoric has joined #ocaml
alexyk has joined #ocaml
almaisan-away is now known as al-maisan
alexyk has quit [Read error: Connection reset by peer]
jm_ocaml has joined #ocaml
alexyk has joined #ocaml
banisterfiend has quit [Ping timeout: 240 seconds]
Tianon has quit [Read error: Operation timed out]
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
drunK has joined #ocaml
ygrek has joined #ocaml
smerz has joined #ocaml
WonTu has joined #ocaml
WonTu has left #ocaml []
init1 has joined #ocaml
ccasin has joined #ocaml
younder has joined #ocaml
younder has left #ocaml []
al-maisan is now known as almaisan-away
drunK has quit [Remote host closed the connection]
ttamttam has quit [Remote host closed the connection]
ftrvxmtrx has quit [Quit: Leaving]
lamawithonel has joined #ocaml
avsm has quit [Quit: Leaving.]
Yoric has quit [Ping timeout: 255 seconds]
ftrvxmtrx has joined #ocaml
rixed_ has joined #ocaml
ulfdoz has joined #ocaml
_andre has quit [Quit: leaving]
ftrvxmtrx has quit [Quit: Leaving]
fraggle_ has quit [Remote host closed the connection]
rixed_ has quit [Ping timeout: 246 seconds]
alexyk has quit [Quit: alexyk]
alexyk has joined #ocaml
alexyk has quit [Client Quit]
alexyk has joined #ocaml
willb has joined #ocaml
willb has quit [Remote host closed the connection]
willb has joined #ocaml
alexyk has left #ocaml []
zak1 has joined #ocaml
Snark has quit [Ping timeout: 272 seconds]
ygrek has quit [Ping timeout: 240 seconds]
Edward__ has joined #ocaml
init1 has quit [Quit: Quitte]
edwin has quit [Remote host closed the connection]
edwin has joined #ocaml
zak1 has left #ocaml []
xxb has joined #ocaml
edwin has quit [Remote host closed the connection]
zzz_ has quit [Quit: Bye]
zzz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 255 seconds]
<adrien>
if I build SWIG with ocaml 3.11 and use it with ocaml 3.12, will the earth explode?
<adrien>
in other words: is swig an executable or does it have ocaml libraries?
<hcarty>
adrien: Both, I believe
<hcarty>
So to answer your first question - yes. Please use caution.
<hcarty>
:-)
<hcarty>
I think all of the C.* wrappers and casts used by SWIG require a run-time library
<hcarty>
adrien: I may be wrong about that though. The necessary components may be included in the output generated by SWIG
<adrien>
well, I'll try tomorrow maybe to see in which way it fails ;-) , and will probably try Joel's patch(es) this weekend
fraggle_ has joined #ocaml
smerz has quit [Ping timeout: 264 seconds]
jm_ocaml has quit [Remote host closed the connection]
smerz has joined #ocaml
ftrvxmtrx has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]