I've read through What was Stack Overflow built with? and a few searches but can't find much information about how the team built the revision side to the software.

What libraries or resources were used, if any, to build the revisioning and allow it to recognise HTML and none-HTML changes? Or is that a trade secret?


2 Answers 2


From CodingHorror: Mixing Oil and Water: Authorship in a Wiki World

I played around with Levenshtein for a while, but even optimized implementations are brutally slow as the size of the input increases. I quickly realized that a line-based comparison was the only workable one. We used this C# implementation of An O(ND) Difference Algorithm and its Variations (pdf).


Did a little searching and I bet it is home grown. But there are libraries out there that current do this type of revisions.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .