

11·
18 days agoThere is?
There is?
I added bun and deno. Updated results are on the github page. Deno is similar to node, bun takes much less time.
I can actually define this in TCL:
% proc ifn't {cond cmds} {if {!$cond} {uplevel $cmds}}
% ifn't false {puts 12}
12
% ifn't true {puts 12}
%
AFAIK you can’t do this with BPF as it doesn’t have any kind of sleep functionality. I’m also not sure how would you achive this using cgroup, which are about quotas AFAIK.