<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]
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
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