Hacker News new | ask | show | jobs
by meragrin_ 1994 days ago
Aren't checksums for error detection and not error correction? As I understand it, error correction is having enough information to correct the error while error detection is only knowing an error has occurred.
3 comments

Error correction only makes sense if the latency of the read/write is long(i.e. spinning physical medium, co-sharrd radio channels).

FEC isn't free(~2x overhead per bit recovery if I remember right) so if your error rates are infrequent then it's worse to use FEC over just resend/reread.

I guess checksums are ok for many applications if USB implements resending of data at the protocol level. For high-speed cameras it might be problematic though.
reed-solomon is most likely used here. It’s the tech in CDs and ECC RAM. Checksums that also have enough data for recovery.