There is?
- 9 Posts
- 7 Comments
Joined 1 year ago
Cake day: January 20th, 2024
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
Serpent7776OPto commandline•I used hyperfine CLI tool to measure startup and shutdown times of several code interpretersEnglish1·1 year agoI added bun and deno. Updated results are on the github page. Deno is similar to node, bun takes much less time.
Serpent7776OPto C++•Index arrays with ordinals instead of integers with custom literalsEnglish2·1 year agoIt should be easy to edit the existing code to add support for i18n, but there’s probably no way to make in generic (except for macros).
Serpent7776OPto C++•Index arrays with ordinals instead of integers with custom literalsEnglish10·1 year agoYeah, that was basically it.
Serpent7776OPto C++•Index arrays with ordinals instead of integers with custom literalsEnglish14·1 year agoThere’s no purpose really. It was more of “wonder if I can” and also nice way to learn custom literals.
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.