companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.0 released(!!1!): https://ocaml.org/releases/5.0.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alexherbo2 has quit [Ping timeout: 250 seconds]
azimut has quit [Ping timeout: 240 seconds]
neiluj has quit [Quit: Client closed]
gentauro has quit [Quit: leaving]
trev has joined #ocaml
wingsorc has quit [Quit: Leaving]
gentauro has joined #ocaml
szkl has joined #ocaml
<discocaml> <darrenldl> greenbagels: what kind of tasks are you tackling
gentauro has quit [Ping timeout: 255 seconds]
<dh`> pcre is not a regular expression library; pcre has the same relation to a regular expression library that C++ has to pascal
sagax has joined #ocaml
azimut has joined #ocaml
waleee has joined #ocaml
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
bartholin has joined #ocaml
Serpent7776 has joined #ocaml
neiluj has joined #ocaml
neiluj has quit [Ping timeout: 250 seconds]
waleee has quit [Ping timeout: 264 seconds]
szkl has quit [Quit: Connection closed for inactivity]
bartholin has quit [Quit: Leaving]
dnh has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xd1le has joined #ocaml
trev has quit [Read error: Connection reset by peer]
trev has joined #ocaml
alexherbo2 has joined #ocaml
rito has joined #ocaml
gentauro has joined #ocaml
dnh has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alexherbo2 has quit [Remote host closed the connection]
Anarchos has joined #ocaml
kurfen has quit [Ping timeout: 255 seconds]
kurfen has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
szkl has joined #ocaml
dnh has joined #ocaml
fweht has joined #ocaml
noscript has joined #ocaml
azimut has quit [Ping timeout: 240 seconds]
azimut has joined #ocaml
azimut has quit [Ping timeout: 240 seconds]
azimut has joined #ocaml
kurfen has quit [Ping timeout: 245 seconds]
kurfen has joined #ocaml
bartholin has joined #ocaml
waleee has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
kurfen has quit [Ping timeout: 256 seconds]
chrisz has quit [Ping timeout: 268 seconds]
chrisz has joined #ocaml
kurfen has joined #ocaml
<companion_cube> anyone knows how to test for 32 bits on a 64 bits linux machine? with qemu perhaps
waleee has quit [Ping timeout: 240 seconds]
<octachron> "/proc/cpuinfo"?
<discocaml> <undu> `uname -a` should be enough
<discocaml> <undu> but that's the kernel, not what the hardware supports
<companion_cube> no I mean, run tests for a package but on 32 bits
<companion_cube> I thought I had something like that in a past project but I'm failing to find it :(
<octachron> There is the option to run a test in node + js_of_ocaml if you want to test int-size independency.
<zozozo> companion_cube: you have compiler variants with a +32bit on opam, which iirc install a compiler that compiles down to 32-bit native code (using the 32-bits instructions of your proc i think)
<companion_cube> that'd do x86_32 but not, like, 3386
<companion_cube> i386
<zozozo> indeed
<companion_cube> octachron: no, I have native code, thank you very much :p
<zozozo> but it can catch compiler errors specirfic to 32-bit compilation (such as too big constants, etc..)
<companion_cube> yeah here it's because of opam-CI segfaults :)
<zozozo> oh....
<companion_cube> (which occur, on, like ppc64 and a bunch of 32-bit archs)
sagax has quit [Quit: Konversation terminated!]
rage has joined #ocaml
<discocaml> <undu> If it's a one-off thing you could spin up qemu with a particular architecture and point it to a live ISO that supports booting in that arch. If you need it for CI, the it's time to start thinking about disk images / virtual disks, similar to containers
dhil has joined #ocaml
<companion_cube> idk about CI but at least to work on the thing locally
kurfen has quit [Ping timeout: 252 seconds]
kurfen has joined #ocaml
kurfen_ has joined #ocaml
kurfen has quit [Ping timeout: 245 seconds]
dhil has quit [Ping timeout: 240 seconds]
dhil has joined #ocaml
fweht has quit [Quit: Connection closed for inactivity]
kurfen_ has quit [Ping timeout: 245 seconds]
kurfen has joined #ocaml
trev has quit [Quit: trev]
waleee has joined #ocaml
rito has quit [Ping timeout: 268 seconds]
rito has joined #ocaml
Anarchos has joined #ocaml
dhil has quit [Ping timeout: 256 seconds]
ania123 has joined #ocaml
ania123 has quit [Quit: Client closed]
ania123 has joined #ocaml
boozec has joined #ocaml
boozec_ has joined #ocaml
boozec has quit [Ping timeout: 268 seconds]
szkl has joined #ocaml
boozec_ has quit [Quit: boozec_]
ania123 has quit [Quit: Client closed]
Serpent7776 has quit [Ping timeout: 255 seconds]
rito has quit [Quit: Leaving]
aztex has joined #ocaml
<aztex> hello does OCaml have a foreign export feature
<aztex> specifically I have a legacy dune project and I am wondering if I can export a couple of functions from the project such that they can be called from C
<aztex> this does not talk about dune though
aztex has quit [Quit: Client closed]
Inline has quit [Quit: Leaving]
bartholin has quit [Quit: Leaving]
<companion_cube> It's not going to be great for that tbh
<companion_cube> I think you can call ocaml from C this way, but you can only do it with one ocaml program at a time, in a way, because the runtime is global
<discocaml> <curzon5298> Random question but how are people talking through the CCBot?
<discocaml> <Kali> see the channel description:
<discocaml> <Kali> > bridges to #ocaml on libera
<discocaml> <Kali> libera being https://en.wikipedia.org/wiki/Libera_Chat
Anarchos has quit [Quit: Vision[]: i've been blurred!]
szkl has quit [Quit: Connection closed for inactivity]
darchitect has joined #ocaml
<darchitect> hey guys, has anyone tried to do anything with language models and type theory ? What can be done? Are there any interesting research going in tihs direction? Would this help research in programming language design ? P.S. I am a noob in PL research.
<companion_cube> I personally hope that the fad around LLMs calms down so we can see what they're useful for :p
<companion_cube> Type theory, idk, I have my doubts