News for hackers. Stuff that matters.
Re:The Hardest Program I've Ever Written (2015) by mikeday on Saturday November 01, 2025 @09:34PM (#45787129)
We've spent twenty years working on HTML to PDF conversion and I expect we could easily spend another twenty years, so feel free to give Prince a try if you would rather avoid the headache :)
Re:The Hardest Program I've Ever Written (2015) by twotwotwo on Sunday November 02, 2025 @01:58AM (#45788355)
Awesome. From curiosity: is Prince's core still written in Mercury? (Looked at old comments.)
Re:The Hardest Program I've Ever Written (2015) by mikeday on Sunday November 02, 2025 @03:39AM (#45788783)
Absolutely! The CSS support, layout engine, PDF output, and JavaScript interpreter are all written in Mercury, while the font support that was originally a mix of Mercury and C has now been rewritten as a standalone Rust project, Allsorts.
Re:The Hardest Program I've Ever Written (2015) by PaulKeeble on Sunday November 02, 2025 @07:34AM (#45789849)
Normally when we are nearly there we say its 95% done and only 95% of the work remains. If your feeling is you are half done I suspect more than 50% of the work remains!

What I know having done a lot in this space is we aren't close!

Re:The Hardest Program I've Ever Written (2015) by mikeday on Sunday November 02, 2025 @03:35PM (#45793191)
yeah, we often refer to the first 90% of the work and the second 90% of the work lol.