<d_bot>
<Curzon> I wonder when OCaml will have built-in cross compilation
<d_bot>
<Curzon> A lot of other languages like Rust, Go, etc have some sort of cross compilation or their interpreter is cross-platform
<d_bot>
<Curzon> I know the `opam-cross-windows` but that only worked for one ocaml version lol, other versions would error. It wouldn't work in WSL either, it just wouldn't work, some assembly error or something I don't remember.
<d_bot>
<Curzon> I don't get why OCaml has no cross-compilation, though?
<d_bot>
<Curzon> Oh wait yeah, because it only generates assembly for linux and mac?
<d_bot>
<Curzon> And that unix is also required (for now)
<d_bot>
<Curzon> I really like OCaml, but I just don't want to be relying on js_of_ocaml for cross-platform stuff yk
<d_bot>
<Curzon> Excuse my complaining, I just hoped that one day ocaml has built-in cross compilation, all im asking for 🙂
sagax has quit [Read error: Connection reset by peer]
<d_bot>
<Curzon> >
<d_bot>
<Curzon> > According to The great computer language shootout, (see also the newer Computer language shootout benchmarks) Ocaml is the second fastest language - slower than C, but faster than C++.
<d_bot>
<Curzon> lol this is so funny
<d_bot>
<Curzon> Ocaml is faster than C++ 😂
<d_bot>
<mk-fg> Did you try it with modern WSL (WSL2)?
<d_bot>
<Curzon> yeah
<d_bot>
<mk-fg> Huh, weird, iirc it should be just a linux vm, strange why linux stuff won't just work there
<d_bot>
<mk-fg> Older one iirc was an incomplete api emulation layer on top of windows kernel, so there it'd be understandable
cedric has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
sagax has joined #ocaml
mro has joined #ocaml
Serpent7776 has joined #ocaml
average has joined #ocaml
olle has joined #ocaml
olle has quit [Ping timeout: 268 seconds]
Haudegen has joined #ocaml
bartholin has joined #ocaml
mro has quit [Remote host closed the connection]
Colt has quit [Quit: Leaving]
Colt has joined #ocaml
waleee has joined #ocaml
olle has joined #ocaml
<d_bot>
<Bluddy> cross-compilation requires several things. you need to track the host and target separately, and generate different assembly for them. then you also need to build the C runtime files with the appropriate target compiler. It's not a ton of work, but the compiler wasn't built with it in mind.
mro has joined #ocaml
spip has joined #ocaml
bobo_ has quit [Ping timeout: 250 seconds]
rond_ has joined #ocaml
rond_ has quit [Client Quit]
rond_ has joined #ocaml
Haudegen has quit [Read error: Connection reset by peer]
Haudegen has joined #ocaml
cedric has quit [Quit: Konversation terminated!]
mro has quit [Remote host closed the connection]
tengu1 has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
xiongxin has joined #ocaml
mro has quit [Read error: Connection reset by peer]
<companion_cube>
@Curzon that's pretty bad benchmarking :s
mro has joined #ocaml
rgrinberg has joined #ocaml
rond_ has joined #ocaml
Haudegen has joined #ocaml
rond_ has quit [Quit: Client closed]
xd1le has quit [Quit: xd1le]
mro has quit [Remote host closed the connection]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mro has joined #ocaml
<d_bot>
<mbacarella> is there a way to swap updated TLS certificates into a running cohttp server?
mro has quit [Remote host closed the connection]
mro has joined #ocaml
<d_bot>
<undu> I doubt it
<d_bot>
<undu> I think I looked into that last year and coldn't find it
<d_bot>
<mbacarella> i guess i could have the server re-exec itself once a week. might only cause downtime alerts a few times a year
<d_bot>
<lotia> Greetings all. Utter noob here. If this is the correct place to ask OPAM packaging questions, I was wondering if someone could please point me at docs on how to test a package file change locally before I open a pull request on Github
average has quit [Quit: Connection closed for inactivity]
mro has quit [Remote host closed the connection]
<d_bot>
<undu> there's the #opam channel, this one can help as well
tengu1 has quit [Quit: Client closed]
<d_bot>
<lotia> thank you @undu
bobo_ has joined #ocaml
bartholin has quit [Quit: Leaving]
bartholin has joined #ocaml
spip has quit [Ping timeout: 265 seconds]
mro has joined #ocaml
spip has joined #ocaml
bobo_ has quit [Ping timeout: 250 seconds]
xiongxin has quit [Quit: xiongxin]
mro has quit [Ping timeout: 250 seconds]
<d_bot>
<mbacarella> separate question. is there a pure ocaml time sync client? i notice zero ocaml code on github that calls the `adjtime` syscall so i'm guessing no