<greenbagels>
sim642: how would you use the dumped compiled thing in an ocaml program?
Tuplanolla has quit [Quit: Leaving.]
motherfsck has quit [Ping timeout: 246 seconds]
jao has quit [Ping timeout: 246 seconds]
waleee has quit [Ping timeout: 276 seconds]
Stumpfenstiel has quit [Ping timeout: 255 seconds]
<jedb>
ah, I see where I was going wrong now
<jedb>
the tutorial for using lablgtk is just completely misleading and wrong when it comes to dialog buttons, that's all
<jedb>
not annoying at all
Haudegen has quit [Read error: Connection reset by peer]
Haudegen has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
Haudegen has joined #ocaml
Haudegen has quit [Ping timeout: 255 seconds]
motherfsck has joined #ocaml
chrisz has quit [Ping timeout: 272 seconds]
chrisz has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chroma[m] has quit [Ping timeout: 246 seconds]
mclovin has quit [Ping timeout: 246 seconds]
wagle has quit [Ping timeout: 248 seconds]
Menchers has quit [Read error: Connection reset by peer]
mclovin has joined #ocaml
chroma[m] has joined #ocaml
wagle has joined #ocaml
mbuf has joined #ocaml
calvnce has joined #ocaml
Menchers has joined #ocaml
lucerne has quit [Read error: Connection reset by peer]
motherfsck has quit [Ping timeout: 246 seconds]
motherfsck has joined #ocaml
xd1le has joined #ocaml
chrisz has quit [Ping timeout: 252 seconds]
chrisz has joined #ocaml
troydm has quit [Ping timeout: 248 seconds]
wagle has quit [Ping timeout: 248 seconds]
mbuf has quit [Read error: Connection reset by peer]
mbuf has joined #ocaml
wagle has joined #ocaml
wagle has quit [Ping timeout: 252 seconds]
wagle has joined #ocaml
lucerne has joined #ocaml
motherfsck has quit [Ping timeout: 252 seconds]
motherfsck has joined #ocaml
lucerne has quit [Ping timeout: 255 seconds]
azimut has quit [Ping timeout: 258 seconds]
xd1le_ has joined #ocaml
xd1le has quit [Ping timeout: 252 seconds]
bartholin has joined #ocaml
olle has joined #ocaml
mbuf has quit [Ping timeout: 252 seconds]
wagle has quit [Ping timeout: 252 seconds]
mbuf has joined #ocaml
wagle has joined #ocaml
kakadu has joined #ocaml
bobo_ has joined #ocaml
spip has quit [Ping timeout: 255 seconds]
szkl has quit [Quit: Connection closed for inactivity]
lucerne has joined #ocaml
lucerne has quit [Ping timeout: 252 seconds]
dnh has joined #ocaml
mbuf has quit [Read error: Connection reset by peer]
mbuf has joined #ocaml
wagle has quit [Ping timeout: 252 seconds]
wagle has joined #ocaml
taupiqueur has joined #ocaml
kakadu_ has joined #ocaml
kakadu has quit [Ping timeout: 252 seconds]
Haudegen has joined #ocaml
bartholin has quit [Ping timeout: 255 seconds]
wingsorc has quit [Ping timeout: 276 seconds]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
spip has joined #ocaml
bobo_ has quit [Ping timeout: 248 seconds]
Markus_Elfring_ has joined #ocaml
Markus_Elfring_ has quit [Client Quit]
lucerne has joined #ocaml
szkl has joined #ocaml
Markus_Elfring has joined #ocaml
Markus_Elfring has quit [Client Quit]
xd1le_ has quit [Quit: xd1le_]
Markus_Elfring has joined #ocaml
mbuf has quit [Ping timeout: 252 seconds]
mbuf has joined #ocaml
bobo_ has joined #ocaml
spip has quit [Ping timeout: 255 seconds]
John_Ivan__ has quit [Ping timeout: 255 seconds]
motherfsck has quit [Ping timeout: 272 seconds]
Haudegen has quit [Ping timeout: 252 seconds]
Haudegen has joined #ocaml
motherfsck has joined #ocaml
rgrinberg has joined #ocaml
Markus_Elfring has quit [Quit: Konversation terminated!]
calvnce15 has joined #ocaml
calvnce15 has quit [Client Quit]
calvnce31 has joined #ocaml
calvnce31 has quit [Client Quit]
calvnce36 has joined #ocaml
calvnce56 has joined #ocaml
calvnce36 has quit [Client Quit]
calvnce56 has quit [Client Quit]
calvnce has quit [Ping timeout: 244 seconds]
calvnce has joined #ocaml
bartholin has joined #ocaml
waleee has joined #ocaml
lucerne has quit [Ping timeout: 252 seconds]
John_Ivan__ has joined #ocaml
John_Ivan__ has quit [Read error: Connection reset by peer]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
John_Ivan has joined #ocaml
taupiqueur has quit [Remote host closed the connection]
taupiqueur has joined #ocaml
justache is now known as justPardoned
mro has joined #ocaml
Stumpfenstiel has joined #ocaml
calvnce has quit [Quit: Client closed]
troydm has joined #ocaml
taupiqueur has quit [Remote host closed the connection]
taupiqueur has joined #ocaml
lucerne has joined #ocaml
xgqt has quit [Read error: Connection reset by peer]
xgqt has joined #ocaml
azimut has joined #ocaml
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
troydm has quit [Ping timeout: 248 seconds]
mro has quit [Remote host closed the connection]
<greenbagels>
How common is it for modules to maintain some kind of internal state via a global ref?
<olle>
I think it's frowned upon
<greenbagels>
Say I have a module that reads tokens from a data stream and keeps an internal buffer to hold incomplete tokens
<greenbagels>
olle: I'm assuming it's better to tell the user to make a struct that holds state and pass it around?
<olle>
Ya
<olle>
Especially considering parallelllism
<olle>
-l
<greenbagels>
Something something reentry
<greenbagels>
Yeah
Tuplanolla has joined #ocaml
troydm has joined #ocaml
mbuf has quit [Quit: Leaving]
jao has joined #ocaml
<octachron>
There is also the issue of having different libraries modifying your module state in a non-commutative way. Then the state of your module might depend on the linking order of those libraries.
<octachron>
That sounds like a lot of potential fun debugging time for the downstream user.
Stumpfenstiel has quit [Remote host closed the connection]
Haudegen has quit [Ping timeout: 252 seconds]
Haudegen has joined #ocaml
Stumpfenstiel has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
dnh has joined #ocaml
Serpent7776 has joined #ocaml
gentauro has quit [Ping timeout: 250 seconds]
gentauro has joined #ocaml
bartholin has quit [Quit: Leaving]
Stumpfenstiel has quit [Quit: No Ping reply in 180 seconds.]
Stumpfenstiel has joined #ocaml
Tuplanolla has quit [Ping timeout: 252 seconds]
Tuplanolla has joined #ocaml
zebrag has quit [Ping timeout: 246 seconds]
zebrag has joined #ocaml
troydm has quit [Ping timeout: 252 seconds]
dnh has quit [Ping timeout: 246 seconds]
jao has quit [Ping timeout: 252 seconds]
jao has joined #ocaml
troydm has joined #ocaml
Haudegen has quit [Remote host closed the connection]
Stumpfenstiel has quit [Ping timeout: 252 seconds]
Stumpfenstiel has joined #ocaml
Haudegen has joined #ocaml
<greenbagels>
Oh true
<greenbagels>
I'm also still curious about the earlier suggestion of dumping the result of an Re.compile execution and including that in uncompiled code
mro has joined #ocaml
Anarchos has joined #ocaml
<dh`>
having modules with internal state is normal outside the functional bubble
mro has quit [Read error: Connection reset by peer]
mro_ has joined #ocaml
<dh`>
it's your responsibility as the programmer to make sure that the interfaces and interactions are sane
<greenbagels>
Right, there are examples of normal reentrant code in like glibc i/o functions
<greenbagels>
I mean non reentrant
<companion_cube>
global state is, in most situations, terrible
<companion_cube>
(it's ok for things like having a logging reporter or similar)
mro_ has quit [Read error: Connection reset by peer]
mro has joined #ocaml
Anarchos has quit [Ping timeout: 246 seconds]
spip has joined #ocaml
bobo_ has quit [Ping timeout: 272 seconds]
wingsorc has joined #ocaml
<olle>
Local state, then?
<olle>
Also terrible
<olle>
I'm an anarchist btw
wingsorc has quit [Read error: Connection reset by peer]
mal`` has quit [Quit: Leaving]
zebrag has quit [Ping timeout: 252 seconds]
zebrag has joined #ocaml
olle has quit [Ping timeout: 255 seconds]
jao has quit [Ping timeout: 252 seconds]
jao has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mal`` has joined #ocaml
troydm has quit [Ping timeout: 252 seconds]
troydm has joined #ocaml
Haudegen has quit [Read error: Connection reset by peer]
Stumpfenstiel has quit [Ping timeout: 252 seconds]
Haudegen has joined #ocaml
mro has quit [Quit: Leaving...]
Stumpfenstiel has joined #ocaml
wingsorc has joined #ocaml
lucerne has quit [Read error: Connection reset by peer]
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
Stumpfenstiel has quit [Ping timeout: 252 seconds]
oriba has joined #ocaml
taupiqueur has quit [Remote host closed the connection]