News for hackers. Stuff that matters.
Re:CLI: Improved by vram22 on Thursday August 30, 2018 @05:51PM (#17881121)
Have you done any comparison (even informal) of similar tools written in Rust and Go?
Re:CLI: Improved by bostonvaulter2 on Thursday August 30, 2018 @10:32PM (#17882453)
A very informal analysis of bat and ccat is that ccat (written in Go) has choked on large files multiple times (which resulted in panics), while bat hasn't crashed on me yet. Of course I've only tried bat on two files so far ;)
Re:CLI: Improved by vram22 on Thursday August 30, 2018 @08:02PM (#17881887)
I'm asking because although I know Rust is likely to be faster than Go, I'm interested in the amount of difference.
Re:CLI: Improved by burntsushi on Thursday August 30, 2018 @08:13PM (#17881936)
You might be interested in Ben Boyter's journey to write a source code line counter:

https://boyter.org/posts/sloc-cloc-code/

https://boyter.org/posts/why-count-lines-of-code/

Re:CLI: Improved by vram22 on Friday August 31, 2018 @02:19PM (#17887737)
Thanks, will take a look at those.