← Back to context

Comment by phlakaton

8 hours ago

Unless you are compiling really large systems of DSL specification, speed of parsing is not the operation you want to be optimizing. XML for this use case, even if you DOM it, is plenty fast.

What are more concerning are the issues that result in unbounded parses – but there are several ways to control for this.

> XML for this use case, even if you DOM it, is plenty fast.

This mindset is why we have computers now that are three+ orders of magnitude faster than a C64 but yet have worse latency.

  • Interesting you should complain about that with a legacy technology that's almost 30 years old (or 50 years old if you count SGML). In particular, XML has gotten no more complex or slow than it was 20 years ago, when development largely stopped.

    For this application it's plenty fast. Even if you've got a Pentium machine.