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

I'm not sure if it's really a problem for ncdu use case, but in Golang all the file I/O operations consume threads (in contrast with network ones), so is not easy to parallelize them: https://github.com/golang/go/issues/6817

Btw, you forgot Rust :)



In Rust, it's easy: https://github.com/bootandy/dust/blob/master/src/dir_walker....

(Dust is "du + rust").




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

Search: