<samth>
ffi/unsafe/os-thread is an unsafe interface to what are effectively pthreads with no support from the runtime for not messing up
Avichi has joined #racket
<tonyg>
I'd probably say it's not really the same thing, rather than really not the same thing. iirc ocaml's gc was the showstopper for quite a while there; from the lack of gc-related fussing in the docs, it seems like racket-on-chez's gc is already where it needs to be for pthreadlike parallelism
<tonyg>
but also yes, i should be clear that i was mostly joking
<tonyg>
i'm actually really stoked that os-level pthreadlike threads exist.
<tonyg>
weird they've been around since 6.9 but I hadn't noticed! I guess I've been away from Racket for too long
<samth>
tonyg: no, the GC is not at all where it needs to be
<tonyg>
oh.
<samth>
if you use os-threads and both threads GC you get to keep both pieces
<tonyg>
wow!
<samth>
it's unsafe!
Avichi has quit [Ping timeout: 252 seconds]
<tonyg>
there is... no mention of this on the page
<samth>
it's not remotely a user-facing feature
<tonyg>
i did get that it was unsafe (atomic mode) but not that it was gc-unsafe
<amirouche>
what does GC unsafe means?
<tonyg>
amirouche i'm not using it with any rigor; I mean the idea that gc/memory-safety invariants might end up being broken
<amirouche>
I will look into racket code base, I assume it is used somewhere
<samth>
tonyg: also, 6.90 is a pre-7.0 number, not the same as 6.9
<amirouche>
fwiw, my motivation is not only about os-threads; I read the book 'don't teach programming until you read this book', and a publication about how htdp is improving upon sicp; also the availability of a lively package manager , a community, events, comes to mind as stuff that I miss in CS
<amirouche>
also: another adventure!
<amirouche>
First, I will try to contribute to existing projects (that is mostly new for me, I mostly built my own stuff)
<amirouche>
If you have ideas about what issue I can fix, let me know.
<tonyg>
samth: ah good to hear the gc isn't a problem!
ttree has joined #racket
ec has quit [Ping timeout: 240 seconds]
ec has joined #racket
ur5us has joined #racket
gproto23 has quit [Remote host closed the connection]
szkl has joined #racket
bremner has quit [Remote host closed the connection]
bremner has joined #racket
xgqt has quit [Ping timeout: 246 seconds]
xgqt has joined #racket
monkey_ has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 244 seconds]
Vaelatern has quit [Ping timeout: 240 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
morte_ has joined #racket
morte_ has quit [Remote host closed the connection]
morte_ has joined #racket
morte_ has quit [Remote host closed the connection]
badkins has joined #racket
szkl has quit [Quit: Connection closed for inactivity]