IRC channel logs

2024-03-23.log

back to list of logs

<Aurora_v_kosmose>How does the Fibers preemption work? It seems to be based around interrupts and continuations, but wouldn't that make the presence of side-effects in affected code a problem?
<Aurora_v_kosmose>With sub-preemption runtimes being cooperatively suspended instead, so those would be fine.
<Aurora_v_kosmose>Ah. Section 3.1 of the manual does suggest that it is in fact cooperative multitasking.
<Aurora_v_kosmose>Yeah. Those are some pretty harsh limitations.
<Aurora_v_kosmose>I'd been hoping it'd be more like Erlang's processes than that.
<freakingpenguin>Sanity checking, cut can't sub in the same argument multiple times, right? e.g. ((cut list <> 2 <1>) 7) => '(7 2 7). There's not a better way to express that besides a lambda is there?
<glenneth>morning Folx o/
<wingo>Aurora_v_kosmose: the manual is out of date; by default it uses sigitimer / sigprof
<wingo>so it is preemptive by default
<wingo>you can make it fully cooperative tho