News for hackers. Stuff that matters.
Re:I rewrote Firefox's BMP decoder by pcwalton on Friday November 06, 2015 @06:13PM (#10522678)
I agree with you on the probable time frame here.

I guess I had an implicit assumption—which may be wildly false—that maintaining the old BMP decoder wouldn't be too much of a burden. If it is a huge burden, then it would make sense to rewrite it now in C++. Otherwise, thinking long-term, I think it would make sense to rewrite in Rust, trading short-term bug fixes for improved memory safety in the future and less work overall (since you save one rewrite).

(Again, though, since we're talking 1,000 lines of code of something that's probably line-for-line-translatable either way; I don't think it's a big deal.)

There are no comments on this comment yet.