<companion_cube>
I pushed a change that should improve inlining
ostera1974 has joined #ocaml
ostera1974 has quit [Ping timeout: 245 seconds]
dtornabene2 has quit [Ping timeout: 272 seconds]
JimmyRcom has quit [Ping timeout: 245 seconds]
gravicappa has joined #ocaml
jao has quit [Ping timeout: 250 seconds]
kvda has joined #ocaml
sagotch has joined #ocaml
nicoo has quit [Remote host closed the connection]
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
nicoo has joined #ocaml
ostera1974 has joined #ocaml
FreeBirdLjj has joined #ocaml
ostera1974 has quit [Ping timeout: 250 seconds]
FreeBirdLjj has quit [Ping timeout: 250 seconds]
gravicappa has quit [Ping timeout: 245 seconds]
sagotch has quit [Read error: Connection timed out]
ostera1974 has joined #ocaml
ostera1974 has quit [Ping timeout: 246 seconds]
gravicappa has joined #ocaml
dtornabene has quit [Ping timeout: 240 seconds]
sagotch has joined #ocaml
ostera1974 has joined #ocaml
shmibs has quit [Quit: leaving =o]
rymdhund has joined #ocaml
recj has quit [Read error: Connection reset by peer]
shmibs has joined #ocaml
shmibs has quit [Quit: leaving =o]
rymdhund has quit [Ping timeout: 244 seconds]
sagotch has quit [Quit: Leaving.]
shmibs has joined #ocaml
shmibs has quit [Client Quit]
shmibs has joined #ocaml
zmt01 has joined #ocaml
recj has joined #ocaml
zmt00 has quit [Ping timeout: 240 seconds]
Spetznaz_ has quit [Ping timeout: 240 seconds]
ostera1974 has quit [Ping timeout: 268 seconds]
sagotch has joined #ocaml
cobreadmonster has quit [Quit: Connection closed for inactivity]
dtornabene3 has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
sagotch has quit [Quit: Leaving.]
dtornabene3 has quit [Remote host closed the connection]
dtornabene has joined #ocaml
ostera1974 has joined #ocaml
dtornabene2 has joined #ocaml
sagotch has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
freyr69 has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ostera1974 has quit [Ping timeout: 246 seconds]
ostera1974 has joined #ocaml
Haudegen has joined #ocaml
ostera1974 has quit [Ping timeout: 244 seconds]
ollehar has joined #ocaml
b0rg has joined #ocaml
b0rg has quit [Client Quit]
lorp has joined #ocaml
<lorp>
hi OCaml people! i'm very new to the language, so bare with me, question: i'm using dune for building my project, and would like to add a C file to an exe build, could you point me in a direction explaining how to do that?
<lorp>
sorry for spam, got it working... anyway sticking around :)
<lorp>
haesbaert, thank you! i managed to get it working, my mistake was trying to use `c_names` in an executable definition ; extracting to a library with no modules made it work :)
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbifx has joined #ocaml
<Leonidas>
cemerick: I don't know if you have the time, but maybe it would be cool to document your findings on performance somewhere.
<cemerick>
Leonidas: you mean related to the monomorphic float stuff?
<Leonidas>
cemerick: lots of the manual is "append-only". I think there was an effort recently to incorporate some of the new features into the proper sections where they make sense.
<Leonidas>
cemerick: yes, exactly.
<cemerick>
or that contrived benchmark I posted on the discuss?
<cemerick>
yeah, maybe
<cemerick>
there's honestly not a lot to talk about, I don't think? I just happen to be using floats heavily/exclusively, and am keeping tabs on timings, etc.
<Leonidas>
now that I skimmed the docs; core_benchmark is surprisingly comprehensive when it comes to analytics, one might even think JST uses it a lot
<companion_cube>
I wonder, iirc Bunzli's jsonm's docs mention that yojson doesn't validate strings
<Leonidas>
json is also a pretty terrible format
<companion_cube>
yes, but one that everybody uses, so…
<cemerick>
pity me with a hard node.js dependency then :-P
<companion_cube>
I still should take time and write ppx_deriving_bencode, but well, it won't make it more popular :D
<Leonidas>
aren't there at least 3 bencode-variants?
<companion_cube>
I'm not aware of that
<companion_cube>
bencode is extremely simple and, afaik, stable (as used by bittorrent)
<Leonidas>
ah, no, must've mixed it up with something else.
<Leonidas>
maybe base64
<Armael>
companion_cube: and also nobody uses it? :p
<companion_cube>
yeah, I know
<companion_cube>
it's incredibly better than json for binary content, though
<Armael>
sounds familiar
<companion_cube>
(no esscaping)
<Leonidas>
hey, if your criterion is nobody uses it, I have the perfect format for you :D
<Drup>
but json is not made for binary content to begin with, and there are already tons of option for that in ocaml :p
<Drup>
(binprot, capnp, protobuf ...)
<Drup>
(biniou, ...)
<companion_cube>
I mean, when you want a simple format and still want to put arbitrary content inside
<companion_cube>
(which is the use case for bencode anyway)
<Armael>
what's "arbitrary content"? bytes?
<companion_cube>
yep
<Leonidas>
Drup: msgpack!
<Drup>
ah, that one as well
<Leonidas>
except msgpack manages to combine bad things from json and binary formats
<Drup>
truly a crowded space
<Drup>
obviously, everyone rolls it's own new format anyway
<Leonidas>
also everyone rolls their own compression lately
<Drup>
everyone ? I only know of dinosaure
<Armael>
well for sure if you just want to send a fixed amount of bytes it's not very hard to come up with a "custom" format
<Drup>
but he's slightly crazy that way
<companion_cube>
well bencode is just a richer version of netstrings anyway
ravenousmoose[aw has quit [Quit: Taking a quick nap...ZZzzz]
<companion_cube>
something that you can parse without becoming mad, and can safely contain arbitrary content (unlike json where you ± have to use base64 or such)
Serpent7776 has quit [Quit: leaving]
<Leonidas>
Drup: not in ocaml specifically, but in tech in general. to me it seems that the linux kernel has been gobbling up more compression algorithms that filesystems lately, which is out of character ;-)
<Drup>
oh, right, I do not follow that particular domain with great attention
<Leonidas>
companion_cube: base64 encoded binary in json, please shoot me
<companion_cube>
well how else do you put arbitrary stuff in strings? :D
<Leonidas>
yeah, I can't think of another way
<companion_cube>
anyway, the PR looks even better now
<companion_cube>
maybe mjambon will have something to say
Denommus has joined #ocaml
Spetznaz_ has joined #ocaml
spew has quit [Quit: going home]
Denommus has quit [Read error: Connection reset by peer]
omarramo has joined #ocaml
jnavila has quit [Remote host closed the connection]
Schroeder has quit [Remote host closed the connection]
bartholin has quit [Remote host closed the connection]
bartholin has joined #ocaml
asymptotically has quit [Quit: Leaving]
ravenousmoose has joined #ocaml
ravenousmoose has quit [Client Quit]
nikivi has quit [Ping timeout: 240 seconds]
igitoor has quit [Ping timeout: 250 seconds]
kvda has joined #ocaml
igitoor has joined #ocaml
nikivi has joined #ocaml
igitoor has quit [Changing host]
igitoor has joined #ocaml
iovec has quit [Quit: Connection closed for inactivity]
ravenousmoose has joined #ocaml
ravenousmoose has quit [Client Quit]
bartholin has quit [Remote host closed the connection]
twopoint718 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kakadu has quit [Remote host closed the connection]
assemblyman has joined #ocaml
cmk_zzz has joined #ocaml
<cmk_zzz>
Pretty new to ocaml. Looking to write a curses like interface to a few json backends. Have researched a few libraries needed and just doing a sanity check that they are considered OK or if I should look elsewhere. build: dune, curses: lambda-term, http client: cohttp, json: adbgen (or perhaps yojson)
<companion_cube>
atdgen, you mean? it uses yojson anyway
<companion_cube>
that sounds good, although lambda_term might be a bit scary for a newcomer
omarramo has quit [Ping timeout: 268 seconds]
<cmk_zzz>
companion_cube: yes, atdgen. Are there any alternatives to lambda-term (which I think looked OK from doing the examples). I guess an ncurses c library wrapper?
<companion_cube>
nothing as modern or nice, no (assuming you want multiline stuff and all, not just a readline)
<companion_cube>
lambda-term is fine, it's what powers utop after all