companion_cube changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.11 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.11/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
mxns has joined #ocaml
smazga has quit [Ping timeout: 260 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 240 seconds]
mxns has quit [Ping timeout: 260 seconds]
smazga has joined #ocaml
amiloradovsky has quit [Ping timeout: 260 seconds]
cantstanya has quit [Ping timeout: 240 seconds]
smazga has quit [Ping timeout: 256 seconds]
cantstanya has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
mxns has joined #ocaml
mxns has quit [Ping timeout: 246 seconds]
smazga has joined #ocaml
<d_bot> <rgrinberg> > hmm. i've seen mentioned in a few places that cohttp is slow, but. what makes it slower? i'm suddenly self-conscious of this because i have a web service written in cohttp and wonder if i could be saving tens of cpu credits a day
<d_bot> <rgrinberg> @mbacarella cohttp naively assumes syscalls have no cost, and doesn't reuse any io buffers. That is its main issue
<d_bot> <rgrinberg> @tmattio does spin have a template for ctypes projects?
<d_bot> <mbacarella> ah, interesting
smazga has quit [Ping timeout: 260 seconds]
Haudegen has joined #ocaml
Haudegen has quit [Ping timeout: 240 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 272 seconds]
<d_bot> <gar> I have a Bazel build command using `ocamlfind ocamlopt` that works on MacOS but fails on Linux with `stderr exceeds maximum size of 1048576 bytes;` Unfortunately I don't know if the message is coming from Bazel or from ocamlfind. Anybody ever encounter this with ocamlfind?
<companion_cube> most people here will be using dune, I'm afraid
<companion_cube> never seen ocamlfind produce that much output though
<d_bot> <gar> yeah, nothing even close to that on MacOS, I don't see how ocamlfind could be responsible, but maybe there's something in the Linux environment that affects the process. I've asked on the bazel discuss list too.
nullcone has quit [Quit: Connection closed for inactivity]
nullcone has joined #ocaml
smazga has joined #ocaml
<d_bot> <gar> looks like its a message from bazel, still not clear how its related to ocamlfind...
smazga has quit [Ping timeout: 272 seconds]
smazga has joined #ocaml
mxns has joined #ocaml
smazga has quit [Ping timeout: 258 seconds]
visage_ has quit [Quit: Textual IRC Client: www.textualapp.com]
djellemah has quit [Ping timeout: 260 seconds]
<d_bot> <gar> fyi it turned out to be unrelated to ocamlfind. the command was lacking `-cclib -lstdc++`, which generated gobs of error msgs.
mxns has quit [Ping timeout: 260 seconds]
mbuf has joined #ocaml
smazga has joined #ocaml
<d_bot> <rgrinberg> Eventually we'd like to generate bazel files in dune. In the meanwhile, we apologize you must go through this 🙂
aaaaaa has quit [Quit: leaving]
mxns has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
<d_bot> <gar> No need to apologize! It's been loads of fun (for a geek), and what better way to learn the ins and outs of the OCaml ecosystem than to write Bazel rules for it? I've learned tons of stuff from Dune, and I've got a tool that does a pretty good job of converting dune files to BUILD.bazel files, at least the limited set I'm working with. Doesn't handle `rule` or C/C++ interop stuff, but does ok with plain old libraries, executables,
smazga has quit [Ping timeout: 240 seconds]
mxns has joined #ocaml
<d_bot> <rgrinberg> 80% of the complexity in dune is in build rules for OCaml 🙂
<d_bot> <rgrinberg> We think of a way to reuse this core.
mxns has quit [Ping timeout: 246 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 260 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 260 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 240 seconds]
reynir has quit [Ping timeout: 264 seconds]
narimiran has joined #ocaml
reynir has joined #ocaml
smazga has joined #ocaml
nullcone has quit [Quit: Connection closed for inactivity]
smazga has quit [Ping timeout: 260 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 260 seconds]
<vsiles> theblatte: you look into _build/default or _build/.dune/default ?
<vsiles> hmm no, there was some trick
<vsiles> like running the ppx by hand
Serpent7776 has joined #ocaml
reynir has quit [Quit: WeeChat 2.3]
reynir has joined #ocaml
<d_bot> <ostera> @gar are you collecting the .ml files and calling ocamlopt once?
reynir has quit [Client Quit]
reynir has joined #ocaml
EduardoRFS has joined #ocaml
smazga has joined #ocaml
smazga has quit [Ping timeout: 258 seconds]
smazga has joined #ocaml
webshinra has quit [Remote host closed the connection]
nullcone has joined #ocaml
<d_bot> <tmattio> > @tmattio does spin have a template for ctypes projects?
<d_bot> <tmattio> @rgrinberg not yet, but definitely something I'd like to have as an official template.
mxns has joined #ocaml
smazga has quit [Ping timeout: 258 seconds]
mxns has quit [Ping timeout: 246 seconds]
yomimono has quit [Ping timeout: 256 seconds]
smazga has joined #ocaml
EduardoRFS has quit [Ping timeout: 272 seconds]
smazga has quit [Ping timeout: 258 seconds]
foocraft has joined #ocaml
ewanas has quit [Ping timeout: 258 seconds]
<d_bot> <beheddard> I actually ran in to the lstdc++ thing tonight but fortunately I came across an c++ issue that mentioned it pretty quickly when I started googling what the compiler told me I was missing
<d_bot> <beheddard> Now the ctubs compile and link 🙂
<d_bot> <beheddard> Feels good to be over the first hump
amiloradovsky has joined #ocaml
smazga has joined #ocaml
smazga has quit [Ping timeout: 258 seconds]
tmhoang has quit [Quit: Ping timeout (120 seconds)]
tmhoang has joined #ocaml
orbifx has joined #ocaml
smazga has joined #ocaml
smazga has quit [Ping timeout: 265 seconds]
malc_ has joined #ocaml
olle has joined #ocaml
mbuf has quit [Ping timeout: 272 seconds]
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
smazga has joined #ocaml
smazga has quit [Ping timeout: 256 seconds]
aecepoglu[m] has quit [Quit: Idle for 30+ days]
nullcone has quit [Quit: Connection closed for inactivity]
Haudegen has joined #ocaml
smazga has joined #ocaml
smazga has quit [Ping timeout: 256 seconds]
smazga has joined #ocaml
mxns has joined #ocaml
smazga has quit [Ping timeout: 240 seconds]
mxns has quit [Ping timeout: 272 seconds]
mbuf has joined #ocaml
foocraft has quit [Ping timeout: 258 seconds]
bartholin has joined #ocaml
smazga has joined #ocaml
smazga has quit [Ping timeout: 256 seconds]
labor[m] has quit [Quit: killed]
BitPuffin has quit [Quit: killed]
aterius has quit [Quit: killed]
dash has quit [Quit: killed]
_whitelogger has joined #ocaml
lnxw37d4 has joined #ocaml
smazga has quit [Ping timeout: 272 seconds]
bartholin has quit [Quit: Leaving]
dhil has joined #ocaml
smazga has joined #ocaml
smazga has quit [Ping timeout: 240 seconds]
Manis[m] has joined #ocaml
aspiwack[m] has joined #ocaml
flux has joined #ocaml
aterius has joined #ocaml
bglm[m] has joined #ocaml
dash has joined #ocaml
ansiwen[m] has joined #ocaml
ptival[m] has joined #ocaml
jimt[m] has joined #ocaml
peddie has joined #ocaml
pqwy[m] has joined #ocaml
labor[m] has joined #ocaml
BitPuffin has joined #ocaml
xzax_[m]1 has joined #ocaml
quizzop[m] has joined #ocaml
talyian[m] has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
webshinra has joined #ocaml
djellemah has joined #ocaml
smazga has joined #ocaml
smazga has quit [Ping timeout: 272 seconds]
Haudegen has quit [Quit: Bin weg.]
ggole has joined #ocaml
malc_ has quit [Ping timeout: 272 seconds]
smazga has joined #ocaml
emias has quit [Quit: WeeChat 2.3]
orbifx has quit [Ping timeout: 260 seconds]
smazga has quit [Ping timeout: 264 seconds]
mxns has joined #ocaml
Haudegen has joined #ocaml
mxns has quit [Ping timeout: 244 seconds]
emias has joined #ocaml
mxns has joined #ocaml
EduardoRFS has joined #ocaml
smazga has joined #ocaml
mbuf has quit [Ping timeout: 256 seconds]
narimiran has quit [Ping timeout: 265 seconds]
narimiran has joined #ocaml
mxns has quit [Quit: ZNC 1.8.2 - https://znc.in]
mxns has joined #ocaml
smazga has quit [Ping timeout: 272 seconds]
clockish_ has joined #ocaml
clockish has quit [Quit: bye]
bytesighs has quit [Ping timeout: 260 seconds]
clockish_ is now known as clockish
dan64 has quit [Quit: ZNC - http://znc.in]
bytesighs has joined #ocaml
dan64 has joined #ocaml
orbifx has joined #ocaml
orbifx has quit [Client Quit]
mxns has quit [Ping timeout: 272 seconds]
mxns has joined #ocaml
vicfred has quit [Ping timeout: 264 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 256 seconds]
dhil has quit [Ping timeout: 260 seconds]
smazga has joined #ocaml
dhil has joined #ocaml
smazga has quit [Ping timeout: 240 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 265 seconds]
<d_bot> <gar> @ostera One `ocaml_module` per .ml, one `ocaml_interface` per .mli.
<d_bot> <gar> I tried implementing a batch UI when I first started, allowing multiple .ml files per build target, but dependency management (ordering) quickly became a problem so I dropped that, it's something that can be added later.
smazga has joined #ocaml
<d_bot> <ostera> Okay! If it helps, I ended up adding a `_ocamldep` like this: https://github.com/ostera/rules_reason/blob/master/reason/private/ocaml/ocaml_module.bzl#L52-L53
malc_ has joined #ocaml
vicfred has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
mxns has joined #ocaml
narimiran has quit [Quit: leaving]
olle has quit [Ping timeout: 260 seconds]
hnOsmium0001 has joined #ocaml
ansiwen[m] has quit [Quit: Idle for 30+ days]
Haudegen has quit [Quit: Bin weg.]
smazga has quit [Ping timeout: 260 seconds]
reynir has quit [Ping timeout: 264 seconds]
reynir has joined #ocaml
Tuplanolla has joined #ocaml
nullcone has joined #ocaml
smazga has joined #ocaml
chewbranca_ has joined #ocaml
kevinsjoberg_ has joined #ocaml
breitenj- has joined #ocaml
smazga has quit [Ping timeout: 264 seconds]
heredoc has joined #ocaml
nkly_ has joined #ocaml
xzax_[m]1 has quit [*.net *.split]
pqwy[m] has quit [*.net *.split]
labor[m] has quit [*.net *.split]
chewbranca has quit [*.net *.split]
kevinsjoberg has quit [*.net *.split]
nkly has quit [*.net *.split]
heredoc_ has quit [*.net *.split]
breitenj has quit [*.net *.split]
cantstanya has quit [*.net *.split]
andreas303 has quit [*.net *.split]
nicoo has quit [*.net *.split]
kevinsjoberg_ is now known as kevinsjoberg
chewbranca_ is now known as chewbranca
smazga has joined #ocaml
pqwy[m] has joined #ocaml
labor[m] has joined #ocaml
xzax_[m]1 has joined #ocaml
malc_ has quit [Remote host closed the connection]
<d_bot> <gar> Thanks! I believe you mentioned this not too long ago, I completely forgot about it (I'm just now getting ready to tackle the Javascript part of OCaml support). I'll definitely look closely at it, maybe we can collaborate in some way - I'd love to avoid having to write rules for reason/rescript from scratch. Regarding deps: I do use ocamldep, but only for discovering dependencies on "peer" modules, those defined in the same directo
smazga has quit [Ping timeout: 260 seconds]
Haudegen has joined #ocaml
aaaaaa has joined #ocaml
rpcope has quit [Ping timeout: 256 seconds]
rpcope has joined #ocaml
smazga has joined #ocaml
smazga has quit [Ping timeout: 265 seconds]
smazga has joined #ocaml
cantstanya has joined #ocaml
andreas303 has joined #ocaml
smazga has quit [Ping timeout: 265 seconds]
raver has quit [Read error: Connection reset by peer]
dhil has quit [Ping timeout: 260 seconds]
nicoo has joined #ocaml
decentpenguin has quit [Quit: ZNC crashed or something]
decentpenguin has joined #ocaml
smazga has joined #ocaml
tane has joined #ocaml
smazga has quit [Ping timeout: 260 seconds]
smazga has joined #ocaml
mxns has quit [Ping timeout: 256 seconds]
mxns has joined #ocaml
smazga has quit [Ping timeout: 265 seconds]
smazga has joined #ocaml
berberman has joined #ocaml
berberman_ has quit [Ping timeout: 260 seconds]
raver has joined #ocaml
ggole has quit [Quit: Leaving]
yomimono has joined #ocaml
vesper has joined #ocaml
smazga has quit [Ping timeout: 265 seconds]
rpcope has quit [*.net *.split]
tmhoang has quit [*.net *.split]
toppler has quit [*.net *.split]
vesper11 has quit [*.net *.split]
motherfsck has quit [*.net *.split]
johnel has quit [*.net *.split]
rpcope has joined #ocaml
johnel has joined #ocaml
tmhoang has joined #ocaml
motherfsck has joined #ocaml
smazga has joined #ocaml
Yagotzirck has joined #ocaml
sm2n_ is now known as sm2n
tane has quit [Quit: Leaving]
Yagotzirck has quit [Quit: Leaving]
yomimono_ has joined #ocaml
yomimono has quit [Ping timeout: 260 seconds]
jbrown has quit [Ping timeout: 272 seconds]
reynir has quit [Ping timeout: 260 seconds]
reynir has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]