On Fri, Dec 4, 2015, at 06:53 AM, Henri Sivonen wrote: > Hi, > > I have written a proposal to a) rewrite Gecko's encoding converters > and b) to do it in Rust: > https://docs.google.com/document/d/13GCbdvKi83a77ZcKOxaEteXp1SOGZ_9Fmztb9iX22v0/edit > > I'd appreciate comments--especially from the owners of the uconv > module and from people who have worked on encoding-related Rust code > and on Rust code that needs encoding converters and is on track to be > included in Gecko.
I don't really know anything about our encoding story, so I'll leave that to others, but I'm generally in favor of writing new code in Rust and replacing bits of Gecko with new Rust implementations. I don't know that we've worked out all the kinks in including Rust code in Gecko yet[1], but we're getting pretty close. I have two questions: 1) What does Servo do, just use rust-encoding directly? 2) Instead of a clean-room implementation, would it be possible to fix the problems you see with rust-encoding so that it's suitable for our use? Especially if Servo is already using it, it would be a shame to wind up with two separate implementations. -Ted 1. https://bugzilla.mozilla.org/show_bug.cgi?id=oxidation _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform