News for hackers. Stuff that matters.
Re:Parsing XML at the Speed of Light (2012) by jarym on Tuesday July 19, 2022 @05:10AM (#32149209)
XML was and remains amazing - I write XSLT for bulk data transforms every now and then and it is super performant. Even querying JSON is fast via XPath - https://www.defiantjs.com/

It’s downfall was really how broad it ended up being with way too many ways to represent data structures - JSON was refreshing with it’s limited vocabulary.

Re:Parsing XML at the Speed of Light (2012) by planede on Tuesday July 19, 2022 @05:18AM (#32149266)
What do you use to evaluate XSLT to perceive it as "super performant"? I had the misfortune to deal with XSLT and I failed to perceive it as fast. In fact we had a lot of performance issues with XSLT processing. I wouldn't describe XPath as fast either.
Re:Parsing XML at the Speed of Light (2012) by jarym on Tuesday July 19, 2022 @06:54AM (#32149822)
The last time I used XSLT was in a Microsoft SSIS package to decode XML payloads into database rows that could be merged into SQL server tables.

Before I did this the previous engineer had written a bunch of stored procedures to do this that was both brittle and slow (processing time was 11 hours) but the SQL was fairly decent.

Once I used XSLT to do this the task ran in under 90 minutes and it was far easier to maintain (new fields, changing columns, etc).

Re:Parsing XML at the Speed of Light (2012) by yobbo on Tuesday July 19, 2022 @05:43AM (#32149402)
Rather, it's your computer that is performant.