3 ms·
It's not at all difficult (https://pandoc.org/ https://pandoc.org/). However, I'd hazard a guess that pandoc written in Rust or C (with idioms appropriate to th
by sidlls 4y ago
It's not at all difficult (https://pandoc.org/ https://pandoc.org/). However, I'd hazard a guess that pandoc written in Rust or C (with idioms appropriate to those languages) would be much more performant.
- kaba0 4y agoI’m not as sure, several optimizations are only possible if we know that they can’t/won’t have side effects, and while the compiler can see it after inlining, having it part of the signature does help. Haskell is quite impressive on the performance front.