germ has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
f[x] has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 252 seconds]
gdiazlo_caml has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 252 seconds]
germ has joined #ocaml
gdiazlo_caml has joined #ocaml
germ has quit [Remote host closed the connection]
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
troydm has joined #ocaml
germ has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 248 seconds]
gdiazlo_caml has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 252 seconds]
waleee has quit [Ping timeout: 252 seconds]
gdiazlo_caml has joined #ocaml
germ has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
germ has joined #ocaml
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
troydm has joined #ocaml
germ has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
germ has joined #ocaml
tomku has quit [Ping timeout: 246 seconds]
tomku has joined #ocaml
f[x] has quit [Remote host closed the connection]
mbuf has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 252 seconds]
gdiazlo_caml has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 248 seconds]
gdiazlo_caml has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 272 seconds]
gdiazlo_caml has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 252 seconds]
bartholin has joined #ocaml
bartholin has quit [Client Quit]
bartholin has joined #ocaml
gdiazlo_caml has joined #ocaml
tomku has quit [Ping timeout: 246 seconds]
tomku has joined #ocaml
bartholin has quit [Ping timeout: 246 seconds]
bartholin has joined #ocaml
toastal has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 246 seconds]
gdiazlo_caml has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 255 seconds]
gdiazlo_caml has joined #ocaml
toastal has quit [Ping timeout: 272 seconds]
gdiazlo_caml has quit [Ping timeout: 252 seconds]
gdiazlo_caml has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 252 seconds]
gdiazlo_caml has joined #ocaml
pi3ce has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 255 seconds]
Tuplanolla has joined #ocaml
alexherbo2 has joined #ocaml
Serpent7776 has joined #ocaml
tomku has quit [Ping timeout: 248 seconds]
tomku has joined #ocaml
gdiazlo_caml has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 248 seconds]
gdiazlo_caml has joined #ocaml
<adrien>
I'm making some code parallel with ocaml 5 and I'd like to share a value between threads
<adrien>
I need three arrays as work space and they're expensive to build and cannot be share between threads so I'd like to only create as many as I have threads running rather than re-create them for every loop iteration
euphores has quit [Quit: Leaving.]
euphores has joined #ocaml
<adrien>
hmmm, right now I have: T.run pool (fun () -> T.parallel_for pool
<adrien>
shall I insert that before T.parallel_for ? (the fact that parallel_for has to be inside run is pretty weird, at least at first)
dawids has joined #ocaml
dawids has quit [Remote host closed the connection]
gdiazlo_caml has quit [Ping timeout: 255 seconds]
<adrien>
oh, great, my current code is nested for loops and if I move the loop content to a dedicated function, I get a > 5x slowdown
<adrien>
and since I have to do that for domainslib....
gdiazlo_caml has joined #ocaml
tomku has quit [Ping timeout: 272 seconds]
tomku has joined #ocaml
neiluj has joined #ocaml
germ has quit [Ping timeout: 246 seconds]
<neiluj>
hey! do you know functional languages that are suited to numerical computing, with a "flat" memory model to avoid indirections, some kind of linear types, in-place updates?
<neiluj>
I often find myself do literal translation of ocaml code to C to obtain 2-4x speedups, but these algorithms are best expressed functionally as it's more readable
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
gdiazlo_caml has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
gdiazlo_caml has quit [Remote host closed the connection]
gdiazlo_caml has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
bartholin has quit [Quit: Leaving]
Guest75 has quit [Quit: Client closed]
tomku has quit [Ping timeout: 252 seconds]
tomku has joined #ocaml
waleee has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 260 seconds]
Guest75 has joined #ocaml
gdiazlo_caml has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 252 seconds]
gdiazlo_caml has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 246 seconds]
Guest75 has quit [Quit: Client closed]
Guest75 has joined #ocaml
Guest47 has joined #ocaml
Guest63 has joined #ocaml
Guest63 has quit [Client Quit]
Guest75 has quit [Ping timeout: 256 seconds]
Guest72 has joined #ocaml
Guest47 has quit [Ping timeout: 256 seconds]
Guest32 has joined #ocaml
gdiazlo_caml has joined #ocaml
Guest75 has joined #ocaml
Guest72 has quit [Ping timeout: 256 seconds]
troydm has joined #ocaml
Guest32 has quit [Ping timeout: 256 seconds]
Guest75 has quit [Quit: Client closed]
waleee has quit [Ping timeout: 264 seconds]
Guest53 has joined #ocaml
neiluj has quit [Ping timeout: 272 seconds]
Guest53 has quit [Quit: Client closed]
Guest75 has joined #ocaml
Guest75 has quit [Write error: Broken pipe]
Guest31 has joined #ocaml
Guest31 has quit [Killed (ozone (No Spam))]
Guest75 has joined #ocaml
Guest75 has quit [Client Quit]
neiluj has joined #ocaml
cr1901 has quit [Read error: Connection reset by peer]
gdiazlo_caml has quit [Ping timeout: 272 seconds]
cr1901 has joined #ocaml
gdiazlo_caml has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 246 seconds]
gdiazlo_caml has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 255 seconds]
gdiazlo_caml has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 244 seconds]
gdiazlo_caml has joined #ocaml
mbuf has quit [Quit: Leaving]
neiluj has quit [Ping timeout: 244 seconds]
neiluj has joined #ocaml
waleee has joined #ocaml
Guest75 has joined #ocaml
Guest3 has joined #ocaml
Guest3 has quit [Client Quit]
Guest75 has quit [Client Quit]
gdiazlo_caml has quit [Ping timeout: 252 seconds]
neiluj has quit [Ping timeout: 265 seconds]
Guest75 has joined #ocaml
Guest75 has quit [Quit: Client closed]
germ has quit [Remote host closed the connection]
Guest20 has joined #ocaml
germ has joined #ocaml
Guest20 has quit [Write error: Broken pipe]
Guest75 has joined #ocaml
germ has quit [Read error: Connection reset by peer]
Guest59 has joined #ocaml
bhoot has joined #ocaml
germ has joined #ocaml
bartholin has joined #ocaml
Guest75 has quit [Quit: Client closed]
gdiazlo_caml has joined #ocaml
Guest75 has joined #ocaml
Guest75 has quit [Write error: Broken pipe]
Guest11 has joined #ocaml
Guest11 has quit [Client Quit]
Guest75 has joined #ocaml
Guest75 has quit [Client Quit]
alexherbo2 has joined #ocaml
Guest77 has joined #ocaml
masterbuilder has joined #ocaml
Guest77 has quit [Quit: Client closed]
bhoot has quit [Remote host closed the connection]
Guest25 has joined #ocaml
Guest25 has quit [Client Quit]
Guest75 has joined #ocaml
Guest75 has quit [Client Quit]
Anarchos has joined #ocaml
Guest75 has joined #ocaml
Guest59 has quit [Quit: Client closed]
Guest75 has quit [Quit: Client closed]
bartholin has quit [Ping timeout: 248 seconds]
bartholin has joined #ocaml
germ has quit [Read error: Connection reset by peer]
neiluj has joined #ocaml
germ has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 252 seconds]
gdiazlo_caml has joined #ocaml
germ has quit [Remote host closed the connection]
gdiazlo_caml has quit [Ping timeout: 248 seconds]
germ has joined #ocaml
germ has quit [Read error: Connection reset by peer]
germ has joined #ocaml
gdiazlo_caml has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 272 seconds]
gdiazlo_caml has joined #ocaml
Guest75 has joined #ocaml
gdiazlo_caml has quit [Ping timeout: 252 seconds]
gentauro has quit [Read error: Connection reset by peer]
germ has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
<discocaml>
<barconstruction> I've written some algorithms in futhark if you want to discuss it
<discocaml>
<barconstruction> I like it a lot.
gentauro has joined #ocaml
<discocaml>
<barconstruction> There is also the MLton compiler which has all numerical values unboxed if you need a general purpose language. Futhark is very restrictive, it can only be used for Fortran style array programming. So you would normally call it from another language such as OCaml
gdiazlo_caml has joined #ocaml
<discocaml>
<barconstruction> (I haven't used MLton just read a bit on it)
germ has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
<discocaml>
<barconstruction> Futhark has a discussion group on gitter