▲ | kstrauser 3 days ago | ||||||||||||||||||||||||||||||||||||||||
One argument from the git devs is that it’s very hard to implement smarter algorithms in C, though. For example, it uses arrays in places where a higher level language would use a hash, because the C version of that is harder to write, maintain, and debug. It’s also much easier to write correct threaded code in Rust than C. Between those 2 alone, using a more robust language could make it straightforward to add performance gains that benefit everyone. | |||||||||||||||||||||||||||||||||||||||||
▲ | delusional 3 days ago | parent [-] | ||||||||||||||||||||||||||||||||||||||||
That's a one time gain though. There's no reason for every platform to check the validity of some hash table implementation when that implementation is identical on all of them. In my opinion, the verification of the implementation should be separate from the task of translating that implementation to bytecode. This leaves you with a simple compiler that is easy to implement but still with a strong verifier that is harder to implement, but optional. | |||||||||||||||||||||||||||||||||||||||||
|