trillion_exabyte has quit [Ping timeout: 276 seconds]
trillion_exabyte has joined #ocaml
Everything has joined #ocaml
bgs has quit [Remote host closed the connection]
czy has quit [Remote host closed the connection]
czy has joined #ocaml
bartholin has joined #ocaml
<discocaml>
<Bluddy> I'd be very surprised if that were true. Taking over preemptive scheduling for native code means 1. Not using OS threads but rolling your own and 2. Taking over basic functionality of the processor which requires permissions usually reserved for the OS.
<discocaml>
<Armael> Not necessarily, you can preempt goroutines by having the compiler insert poll points in the generated code
<discocaml>
<Armael> The ocaml compiler also inserts poll points (for other reasons, to process signals in particular); I wonder if those could be used to "preempt" fibers, eg by performing an effect at polls?
<discocaml>
<Armael> (that would be handled by the scheduler)
trillion_exabyte has quit [Ping timeout: 265 seconds]
trillion_exabyte has joined #ocaml
<discocaml>
<beajeanm> Afaik go doesn't offer access to native threads. The scheduler execute goroutines on multiple OS threads, but they is no way for the app developper to interact with that directly. And the recent versions preempt any goroutine that has been running for more than 10ms
olle has joined #ocaml
bartholin has quit [Quit: Leaving]
spip has joined #ocaml
<discocaml>
<antron> Going to stream Dream development and general OCaml office hours at 14:00 at https://www.twitch.tv/antron_ML, in 2.5 hours. I'm going to eventually start announcing this only in #webdev or #share, but I wanted to ping a wider group of people (and IRC) a few more times first!
<discocaml>
<Bluddy> That's very interesting @beajeanm. I guess they have constant polling points where a goroutine looks for preemption signals or checks on a timer and cooperatively switches to waiting.
Haudegen has quit [Quit: Bin weg.]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
<companion_cube>
I think they added more preemption points in the last few years, but it used to be that a tight loop could peg a goroutine
<companion_cube>
(i think)
Haudegen has joined #ocaml
Everything has quit [Quit: leaving]
amk has quit [Ping timeout: 255 seconds]
amk has joined #ocaml
alexherbo2 has joined #ocaml
Techcable has quit [Ping timeout: 255 seconds]
<adrien>
is it possible to get a TLS server's ciphersuites when connecting with tls-lwt? I'm under the impression this isn't easily possible
Haudegen has quit [Quit: Bin weg.]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
Johann has quit [Ping timeout: 265 seconds]
hrberg has joined #ocaml
Haudegen has joined #ocaml
bartholin has joined #ocaml
gentauro has quit [Read error: Connection reset by peer]