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

Nice. I wonder if anyone tried doing the same in rust?


https://github.com/libgit2/libgit2/pull/3540 might be of interest (note that it's over a year old at this point)


I don't think it would be of any strategic advantage? The promise of Rust is to be once better than C not better than Python. Nit to mention all the needed libraries.


I'm a bit confused by this logic; git is written in C, so if Rust is supposed to be "better then C", then wouldn't it make perfect sense to write it in Rust?


In general yes, it would benefit Rust, long term. But for the purpose of this article, no. The result would at this moment be much bigger than 500 lines, which wouldn't have any power of a short example.




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

Search: