logoalt Hacker News

ashirviskastoday at 2:15 AM2 repliesview on HN

> 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.


Replies

embedding-shapetoday at 9:12 AM

> 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.

behnamohtoday at 3:48 AM

Even my CC status line script enjoyed a 20x speed improvement when I rewrote it from python to rust.

show 1 reply