r/ProgrammingLanguages • u/mttd • Jul 21 '26
Panbench: A Comparative Benchmarking Tool for Dependently-Typed Languages
https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ITP.2026.17
24
Upvotes
11
u/wk_end Jul 21 '26 edited Jul 21 '26
I'm always happy to see dependently-typed languages getting attention, but this really doesn't seem to be benchmarking anything all that interesting. I think most programmers don't really care if their compiler slows down (by seconds) when they hand it identifiers that are tens of thousands of characters long, for instance.
7
u/gasche Jul 21 '26
A somewhat weird paper, in a good way. "We benchmarked which proof assistant scales to input files 107 empty lines. To do this, we reimplemented a Nix-like package management system on top of Shake, with a hybrid-hermetic approach." Wow!
I encountered this system myself, and designed an overkill solution to this problem: command-usage-runner. This is a small program that adds a level of indirection: instead of execve-ing directly the program you want to run, you can excve into command-usage-runner, and it will collect resource usage data (without pollution from other child processes, as it has none) and report them back to the parent process.
(Warning: I have not actually used this in production yet, this is part of a hobby project that is currently paused.)