LisPi on Nostr: Did anyone ever ask Linus why #Git uses the filesystem directly for its key-value ...
Did anyone ever ask Linus why #Git uses the filesystem directly for its key-value store instead of using something properly transactional that's crash-safe?
Berkeley DB already supported transactions at the time and was available under BSD & Sleepy Cat licenses, so there wasn't even a need to reinvent the wheel.
Published at
2024-07-14 09:20:11Event JSON
{
"id": "632041df31a6a65c1ba38dc3baa25cd52f986dcf74b84aebe47bb7c607c59bef",
"pubkey": "c72a3d0565a87f8b46ac5b8ab88a45f56cf67de2398a8cba8c6855cb3a39b0ea",
"created_at": 1720948811,
"kind": 1,
"tags": [
[
"t",
"git"
],
[
"proxy",
"https://udongein.xyz/objects/3f9db491-e20c-4bf5-878c-807fbd1560e9",
"activitypub"
]
],
"content": "Did anyone ever ask Linus why #Git uses the filesystem directly for its key-value store instead of using something properly transactional that's crash-safe?\n\nBerkeley DB already supported transactions at the time and was available under BSD \u0026 Sleepy Cat licenses, so there wasn't even a need to reinvent the wheel.",
"sig": "c7889ef5d244f382d5b7e8e50fd39e88c00feca78945a69e1944f0f109f9b5fbd646e4743189f32f20c9d7ab93e370f635fad00c59e9993bac0099487fb8699d"
}