HackerTrans
TopNewTrendsCommentsPastAskShowJobs

a_rustacean

no profile record

comments

a_rustacean
·5 лет назад·discuss
Open-source maintainers should merge everything that _I_ consider reasonable, because _I_ know better than them!

If they don't, I'll call it a tragedy.
a_rustacean
·5 лет назад·discuss
It's easier to understand the future consequences and limitations of code you wrote yourself.

The main challenge in open-source is communication.
a_rustacean
·5 лет назад·discuss
`Rc` freezes the value as long as it's shared unless you use interior mutability. It's fine when you want to share immutable data, but if you ever need to mutate its contents you will have to deal with awkward cases and situations, and at runtime!

Wrapping everything in `Rc` is not a good default strategy. Instead figure out an architecture that works well with the borrow checker! This normally means thinking hard about your data structures and the ownership model of your application.

I love Rust precisely because of this. You can leverage the compiler to drive your development and design. If it's hard, then it's probably wrong!
a_rustacean
·5 лет назад·discuss
"I don't understand it, therefore there is something suspicious about it" is a very dangerous way of reasoning.

We burned innocent people because of this not long ago.

Anyways, I find the Bitcoin paper very approachable. You may need to read it a bunch of times until everything clicks into place. But it's all there, in just 8 pages.