Re:Littlefs – a little fail-safe filesystem designed for mic...
by SV_BubbleTime on Monday December 11, 2023 @01:23AM
(#38598133)
I can tell you take offense to the questionable casting… but did you discover anywhere it made mistakes and failed - or you just didn’t like it?
[ Parent
| on HN ]
Re:Littlefs – a little fail-safe filesystem designed for mic...
by dnedic on Monday December 11, 2023 @04:42AM
(#38599059)
Undefined behavior will bite you eventually. Updated the compiler? You have no idea what to expect. Changed lines of code related to that part of code? Again, no idea what to expect.
Re:Littlefs – a little fail-safe filesystem designed for mic...
by jay-barronville on Monday December 11, 2023 @05:14AM
(#38599203)
While I agree that undefined behavior should be avoided, it’s not as rigid as you put it. Just because something is undefined behavior by specification (or lack thereof) doesn’t mean it’s undefined behavior in practice. As a general rule though, I do agree with you.