5 ms·
Nice. I wonder if anyone tried doing the same in rust?
by webaholic 9y ago
Nice. I wonder if anyone tried doing the same in rust?
- acqq 9y agoI 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.
- saghm 9y agoI'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?
- acqq 9y agoIn 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.
- deleted 9y ago[deleted]
- steveklabnik 9y agohttps://github.com/libgit2/libgit2/pull/3540 https://github.com/libgit2/libgit2/pull/3540 might be of interest (note that it's over a year old at this point)