companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.3.0 released: https://ocaml.org/releases/5.3.0 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 245 seconds]
Frostillicus has joined #ocaml
<discocaml> <gridbugs> Hey, Alice is my toy project. It's meant to be an experiment with a cargo-style way of building ocaml projects. It's not affiliated with dune (or with Tarides).
Frostillicus has quit [Ping timeout: 276 seconds]
Tuplanolla has quit [Quit: Leaving.]
Frostillicus has joined #ocaml
infinity0 has joined #ocaml
jutty has quit [Ping timeout: 252 seconds]
amadaluzia_ has joined #ocaml
amadaluzia has quit [Ping timeout: 260 seconds]
Frostillicus has quit [Ping timeout: 248 seconds]
Haudegen has joined #ocaml
amadaluzia_ has quit [Quit: ZNC 1.10.1 - https://znc.in]
amadaluzia has joined #ocaml
nirvdrum7410 has joined #ocaml
amadaluzia has quit [Ping timeout: 276 seconds]
amadaluzia has joined #ocaml
Frostillicus has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
Frostillicus has quit [Ping timeout: 276 seconds]
YuGiOhJCJ has joined #ocaml
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 276 seconds]
amadaluzia has quit [Quit: ZNC 1.10.1 - https://znc.in]
amadaluzia has joined #ocaml
euphores has quit [Quit: Leaving.]
euphores has joined #ocaml
bartholin has joined #ocaml
Tuplanolla has joined #ocaml
bartholin has quit [Read error: Connection reset by peer]
bartholin has joined #ocaml
olle has joined #ocaml
Anarchos has joined #ocaml
<discocaml> <solette> Per project local switch or per project global switch? I had an issue with some packages not compiling with local switches. I’m new so I don’t know if this is an actual issue or a skill issue.
bartholin has quit [Read error: Connection reset by peer]
<discocaml> <sim642> That's strange, I don't think I've ever seen that
Frostillicus has joined #ocaml
bartholin has joined #ocaml
itszor has quit [Read error: Connection reset by peer]
zor has joined #ocaml
Frostillicus has quit [Ping timeout: 265 seconds]
bartholin has quit [Read error: Connection reset by peer]
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 276 seconds]
<discocaml> <solette> It’s probably a me issue, but global switches solved the issue. I’ll investigate further
Haudegen has joined #ocaml
bartholin has joined #ocaml
casastorta has quit [Quit: ZNC 1.10.1 - https://znc.in]
casastortaAway has quit [Quit: ZNC 1.10.1 - https://znc.in]
casastorta has joined #ocaml
casastortaAway has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
humasect has joined #ocaml
bartholin has quit [Read error: Connection reset by peer]
toastal has joined #ocaml
olle has quit [Ping timeout: 260 seconds]
Frostillicus has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
humasect_ has joined #ocaml
Haudegen has joined #ocaml
humasect has quit [Ping timeout: 276 seconds]
amadaluzia has quit [Ping timeout: 240 seconds]
amadaluzia_ has joined #ocaml
humasect_ has quit [Quit: Leaving...]
amadaluzia_ has quit [Quit: ZNC 1.10.1 - https://znc.in]
casastortaAway has quit [Quit: ZNC 1.10.1 - https://znc.in]
casastorta has quit [Quit: ZNC 1.10.1 - https://znc.in]
casastorta has joined #ocaml
casastortaAway has joined #ocaml
Frostillicus has quit [Ping timeout: 248 seconds]
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 252 seconds]
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 252 seconds]
Frostillicus has joined #ocaml
luc4 has joined #ocaml
Frostillicus has quit [Read error: Connection reset by peer]
humasect has joined #ocaml
toastal has left #ocaml [#ocaml]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
<discocaml> <froyo> @ilo_kali :
<discocaml> <froyo> > ocaml compiles way too slowly for me
<discocaml> <froyo> This compiler's speed spoils us I swear :P I've yet to see a compiler compile itself _faster_ than OCaml's
<discocaml> <froyo> > i don't think there's any ocaml support for plan 9 at the moment
<discocaml> <froyo> yeah last I checked there was a port of 4.07 and only the bytecode compiler & runtime by Benjamin Purcell (spew)
<discocaml> <froyo> a port to 9front that is
<discocaml> <froyo> though mosml's interpreter (essentially camlrun) has been ported to plan9 before by Russ Cox (rsc)
luc4 has quit [Quit: Konversation terminated!]
<discocaml> <froyo> idk how feasible it is to port a newer version now that the runtime is so different
<discocaml> <froyo> in any case this is port not _sup_port
<discocaml> <froyo> > You can use the system compiler if you don't like compiling the compiler
<discocaml> <froyo> that's what I do
<discocaml> <Kali> it makes my computer unusably slow for the 30-40 minutes it's building, which is enough to severely discourage me from doing it more than i have to
<discocaml> <froyo> I see, yeah 30-40 mins and unusable is unacceptable on those specs for sure, and comparative speed means nothing at that point
<discocaml> <froyo> I remember trying to measure ocaml compile times a couple of years back. I did that on a 2017 dell latitude. version 4.07 took a bit less than minute and a half, and version 5.0 took a bit less than 3 minutes.
<discocaml> <froyo> with those specs, comparative speeds vs other language compilers start to make a big difference in perception
humasect has quit [Ping timeout: 245 seconds]
wickedshell has quit [Ping timeout: 252 seconds]
Anarchos has joined #ocaml
amadaluzia has joined #ocaml
<discocaml> <froyo> (imo support in workflows and design for them _should_ be skewed towards lower specs, more limited ram and storage, more limited internet speed and inconsistent availability, etc.)
<discocaml> <froyo> (a less opinionated goal: reducing unneccessary work)
<discocaml> <shadowkestrel> i remember once on my pentium laptop i tried to build chromium or some fork from source, i dont remember why.
<discocaml> <shadowkestrel> it took several hours, then OOM'd
<discocaml> <froyo> browsers are one of the worst offenders if you're on a source based distro
<discocaml> <froyo> I think I tried it once with firefox and it took all night
<discocaml> <froyo> that was on a laptop with a spinning harddisk
<discocaml> <Kali> i think if i had an SSD it would compile way faster, i think most of the slowdown is from just having a really old hard drive
<discocaml> <dr.shuppet> On my Itanium system, LLVM and Clang are the worst. They don't even support Itanium in the first place, but might be needed for some GPUs
<discocaml> <dr.shuppet> And CMake
<discocaml> <dr.shuppet> In general, the slowest to compile is C++ (and Rust I guess)
<discocaml> <dr.shuppet> OCaml's bytecode interpreter is something I appreciate, since it works everywhere
<discocaml> <dr.shuppet> ```
<discocaml> <dr.shuppet> tglozar@epic-t2 ~ $ uname -m
<discocaml> <dr.shuppet> ia64
<discocaml> <dr.shuppet> tglozar@epic-t2 ~ $ ocaml --version
<discocaml> <dr.shuppet> The OCaml toplevel, version 5.3.0
<discocaml> <dr.shuppet> tglozar@epic-t2 ~ $ rocq --version
<discocaml> <dr.shuppet> The Rocq Prover, version 9.0.0
<discocaml> <dr.shuppet> compiled with OCaml 5.3.0
<discocaml> <dr.shuppet> tglozar@epic-t2 ~ $ dune --version
<discocaml> <dr.shuppet> 3.19.1
<discocaml> <dr.shuppet> ```
Anarchos has quit [Read error: Connection reset by peer]
<discocaml> <shalokshalom> Swift is even worse
Everything has joined #ocaml
gahr has quit [Ping timeout: 276 seconds]
gahr has joined #ocaml
gahr has quit [Ping timeout: 260 seconds]
<discocaml> <youngkhalid> On a M series Macbook you think ?
gahr has joined #ocaml
<discocaml> <shalokshalom> I had it on a 5800U and it was spectacularly slow.
<discocaml> <shalokshalom> It's because of a design issue with the type inference
eilvelia has quit [Read error: Connection reset by peer]
eilvelia has joined #ocaml
jutty has joined #ocaml
jutty has quit [Client Quit]
Everything has quit [Quit: leaving]
jutty has joined #ocaml
euphores has quit [Ping timeout: 272 seconds]
Anarchos has joined #ocaml
<discocaml> <aurelian5014> yes it's terrible
<discocaml> <aurelian5014> worse than rust, which is worse than cpp
<discocaml> <aurelian5014> rust will get a lot better soon - https://blog.rust-lang.org/inside-rust/2025/07/15/call-for-testing-hint-mostly-unused/
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Anarchos has joined #ocaml
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 276 seconds]
Frostillicus has joined #ocaml
Frostillicus has quit [Read error: Connection reset by peer]
Frostillicus has joined #ocaml
Frostillicus has quit [Read error: Connection reset by peer]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
<discocaml> <noahtheduke> is it possible to emit ocaml bytecode at runtime that is loaded and ran? like a dynamicclassloader in java?