3 ms·
> it has, but python being single threaded (until recently) didn't make it an attractive choice for CLI tools. You probably mean GIL, as python has supported m
by ashirviskas 9mo ago
> it has, but python being single threaded (until recently) didn't make it an attractive choice for CLI tools.
You probably mean GIL, as python has supported multi threading for like 20 years.
Idk if ranger is slow because it is written in python. Probably it is the specific implementation.
- behnamoh 9mo agoEven my CC status line script enjoyed a 20x speed improvement when I rewrote it from python to rust.
- foltik 9mo agoIt’s surprising how quickly the bottleneck starts to become python itself in any nontrivial application, unless you’re very careful to write a thin layer that mostly shells out to C modules.
- embedding-shape 9mo ago> You probably mean GIL They also probably mean TUIs, as CLIs don't do the whole "Draw every X" thing (and usually aren't interactive), that's basically what sets them apart from CLIs.