Lumor on Nostr: The borrow checker is unfortunately complicated. It forces code to be written in ...
The borrow checker is unfortunately complicated. It forces code to be written in certain ways and not in others. C++ is the fad language used for Bitcoin Core. By its own it enforces simpler programs, I think it's more general programming fads that make the code hard to read.
Maybe C++ and Rust are geared toward large-scale systems with many developers of differing experience and knowledge about the systems. Totally overkill for smaller self-contained codebases, or larger with senior devs.
Agree Rust is overly complicated, would love to see a flavour without async and with fast compilation as a top priority.
GC like async is out of the question for me when it comes to systems programming.
Respect your work.
Published at
2023-08-01 21:02:36Event JSON
{
"id": "55dffdfcad1f9c8154eab1b1b1b9aae088bfbd17b681cf20307dd026c452ebd7",
"pubkey": "1be2d85b2797c7fb4fb51923ce9254565e11a08f8ecfaa0132a55ec688c587b2",
"created_at": 1690923756,
"kind": 1,
"tags": [
[
"e",
"e296a25755dbb765e6a167f91090a03312c462d1320e7c23691ea69800188cac",
"",
"root"
],
[
"e",
"bf67564a171cf95bf285e9702b1e40ba6d5ea506b029533ce82dc6f26c7f95fe",
"",
"reply"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"3628e6a5764cacab310474c9f9c588657989c74b5ef0718c7e6e0e53a2a1f773"
]
],
"content": "The borrow checker is unfortunately complicated. It forces code to be written in certain ways and not in others. C++ is the fad language used for Bitcoin Core. By its own it enforces simpler programs, I think it's more general programming fads that make the code hard to read.\n\nMaybe C++ and Rust are geared toward large-scale systems with many developers of differing experience and knowledge about the systems. Totally overkill for smaller self-contained codebases, or larger with senior devs.\n\nAgree Rust is overly complicated, would love to see a flavour without async and with fast compilation as a top priority.\n\nGC like async is out of the question for me when it comes to systems programming.\n\nRespect your work.",
"sig": "680b4420e87d0d70d3e34ba84c091caa1ce09d7510ea0edacd7e47e009518c612ff90af8be995c1ae34622bdd9422355908852b4562366cf25c2d6f593e2a341"
}