Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use powerline-shell in zshell, and was also extremely annoyed by the delay.

So, I decided to rewrite https://github.com/banga/powerline-shell in go, and the performance is amazing.

The latency went down from several seconds to 200µs (except when git is used, then it’s ~4ms), and it’s fast enough.

The repo is at https://github.com/justjanne/powerline-go. Here’s a small video showing just how different the latency is: https://s3.kuschku.de/public/2017-08-21_16-43-41.mp4. Disclaimer: Although the original was MIT, I licensed my rewrite under GPLv3.

Improving the latency of software is just such an amazing quality-of-life improvement, it was well worth those 10 hours of work.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: