3 ms·
My day job combines assembly and XSL (GPU dev work can be weird). I have a soft spot for XSL; but, at this point, the combination of Python 3's performance stor
by thechao 3y ago
My day job combines assembly and XSL (GPU dev work can be weird). I have a soft spot for XSL; but, at this point, the combination of Python 3's performance story (concurrency, threading, multiprocessing), ElementTree, and itertools... I just don't see it anymore. Especially since any new hire has Python experience due to the current ML summer. I've been porting all my XSL to Python, and I couldn't be happier.
- billywhizz 3y agoyeah, making XML/XSLT fast is definitely a hard problem. still in pretty wide use in enterprise systems where correctness and interop are bigger priorities. i did quite a lot of work with shipping api's recently and you would be surprised how many of them are still XML and even SOAP based. i'm intrigued by the combination of Assembly and XSL - any pointers to what you use those for?
- thechao 3y agoHardware specs are written in docbook in a lot of places. On the flip side, new HW won't have good C compilers for a while.
- riedel 3y agoI still find it hard to write transformations nicely in normal programming languages. I actually even used it to transform structured formats and always am quite happy (using [0]). Also generated spreadsheets and docs (actually via markdown and pandoc) just 2 days ago. xsltproc is for me the awk/sed of structured. [0] http://www.ananas.org/xi/ http://www.ananas.org/xi/
- fijiaarone 3y agoNow that computers have more than 640kb of memory, it’s much easier to parse a document tree into a data structure and output exactly what you want.