- 13 Posts
- 7 Comments
Joined 2 years 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.
- Serpent7776@programming.devOPtocommandline@programming.dev•crawlio: Tool that slows down I/O operationsEnglish1·10 months ago
There is?
- Serpent7776@programming.devOPtocommandline@programming.dev•I used hyperfine CLI tool to measure startup and shutdown times of several code interpretersEnglish1·2 years ago
I added bun and deno. Updated results are on the github page. Deno is similar to node, bun takes much less time.
- Serpent7776@programming.devOPtoC++@programming.dev•Index arrays with ordinals instead of integers with custom literalsEnglish2·2 years ago
It 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).
- Serpent7776@programming.devOPtoC++@programming.dev•Index arrays with ordinals instead of integers with custom literalsEnglish10·2 years ago
Yeah, that was basically it.
- Serpent7776@programming.devOPtoC++@programming.dev•Index arrays with ordinals instead of integers with custom literalsEnglish14·2 years ago
There’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.