sweatylobster has quit [Ping timeout: 260 seconds]
<discocaml>
<dreamfigurine> I was wondering if anyone could help confirm some things for me about OCaml. I'm typically using rust to do dev, but I was curious to know a few things about OCaml. Namely, 1. can I build binaries that can be easily distributed with it? 2. are there any nice tools for making desktop applications/guis? I saw ReasonML which looks like it can compile to native code but I know nothing else about it. Thank you
<discocaml>
<Kali> ocaml compiles to native code
<discocaml>
<Kali> or bytecode
<discocaml>
<Kali> or can be interpreted
<discocaml>
<Kali> or js- or wasm-transpiled
<discocaml>
<Kali> so yes definitely you can distribute it in many formats
<discocaml>
<dreamfigurine> super cool and great news 🙂
<discocaml>
<Kali> as for 2, there's bogue, raylib, and brr that come to mind
<discocaml>
<Kali> although brr is a browser-based one
<discocaml>
<dreamfigurine> Thank you Kali those are all very interesting 🙂
<discocaml>
<dreamfigurine> yawaramin gtk is interesting I always worry about the C++ FFI libraries in languages like these because of the lack of inheritence. But its definitely worth looking into especially if others are using it to good effect.
<discocaml>
<yawaramin> Gtk+ is a C library
<discocaml>
<dreamfigurine> Well that settles that concern 😄
sweatylobster has joined #ocaml
sweatylobster has quit [Ping timeout: 252 seconds]
sweatylobster has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
sweatylobster has quit [Ping timeout: 276 seconds]
sweatylobster has joined #ocaml
tomku has quit [Ping timeout: 272 seconds]
tomku has joined #ocaml
amirouche has quit [Remote host closed the connection]
amirouche has joined #ocaml
Humean has quit [Read error: Connection reset by peer]
sweatylobster has quit [Ping timeout: 252 seconds]
sweatylobster has joined #ocaml
sweatylobster has quit [Remote host closed the connection]
sweatylobster has joined #ocaml
sweatylobster has quit [Ping timeout: 252 seconds]
Humean has joined #ocaml
sweatylobster has joined #ocaml
sweatylobster has quit [Ping timeout: 248 seconds]
Phandal has joined #ocaml
Phandal has quit [Client Quit]
sweatylobster has joined #ocaml
YuGiOhJCJ has joined #ocaml
pi3ce has joined #ocaml
Humean has quit [Ping timeout: 252 seconds]
sweatylobster has quit [Remote host closed the connection]
<discocaml>
<rhomoney> Thanks, do you know if there is a way to use ctypes or is that just calling C from ocaml?
chrisz has quit [Ping timeout: 252 seconds]
chrisz has joined #ocaml
dhil has quit [Ping timeout: 248 seconds]
<discocaml>
<cod1r> ctypes repo details how to use it so that you don't have to write c stub code
<discocaml>
<cod1r> that page is really only necessary if you want to write C
<discocaml>
<lukstafi> Can one use ctypes to bind a statically linked library without C stubs?
<discocaml>
<poselsky> You'll need to write what functions you need exported with ctypes ppx.
<discocaml>
<rhomoney> Yeah i think they don't give an example of how to create a shared library so languages like Go can call it via cgo
<qu1j0t3>
cgo cult
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
kathryn1024_ has joined #ocaml
remexre has quit [Remote host closed the connection]
bartholin has quit [Quit: Leaving]
Humean has joined #ocaml
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]