News for hackers. Stuff that matters.
Re:Dark side of ergonomics in Rust by emn13 on Saturday April 14, 2018 @01:10PM (#16838244)
So, that's the bad-stuff perspective. But transactions in actual DB's show it doesn't have to be that way, and transaction isolation is likely to be easier in a language than a DB because you typically communicate via a fairly narrow, well-defined channel, and not via a morass of side-effects.

Another good-stuff perspective are processes or equivalents (e.g. erlang's internal processes or docker containers). Happy-path code can ignore errors; sufficiently serious errors tear down the "process" and the calling code can decide how to deal with that (ideally without cleanup responsibilities).

As long as indirect effects are well-contained, there's nothing necessarily wrong with ignoring errors. Especially when fine-grained error handling simply isn't interesting, it can be a relief simply to ignore errors. E.g. DB style fine-grained locking is really only possible because you don't need to manually deal with each and every possible failure moment (because there are unbelievably many).

Re:Dark side of ergonomics in Rust by ben0x539 on Sunday April 15, 2018 @08:37AM (#16842406)
yeah i agree that seems like a generally desirable state of affairs.

not sure if i'd sign the statement "you typically communicate via a fairly narrow, well-defined channel, and not via a morass of side-effects" though ;)

Re:Dark side of ergonomics in Rust by emn13 on Sunday April 15, 2018 @02:26PM (#16844073)
Hey, it's aspirational ;-).