New Ghostscript PDF interpreter
ghostscript.com
New Ghostscript PDF interpreter
1–10 of 98 posts
Re: New Ghostscript PDF interpreter
#2Re: New Ghostscript PDF interpreter
#3Re: New Ghostscript PDF interpreter
#4Re: New Ghostscript PDF interpreter
#5The post has no explananation of this choice. Does anyone know?
Re: New Ghostscript PDF interpreter
#6They seem to be the kings of working with PDFs. I’ve not really looked at the Ghostscript code (and I’m surprised to hear their interpreter was still in postscript), but I’ve looked through the mupdf code and what I saw was really nice.
In any case, I appreciate the work they’ve done in providing fantastic tools to the world for decades now.
Re: New Ghostscript PDF interpreter
#7While progress is always nice to see - I am also pleased that we don't necessarily need to update all the scripts that depend on ghostscript at once but can keep them running in their current state.
Re: New Ghostscript PDF interpreter
#8Given the mention of security issues in their custom PostScript extensions, and that PDF files are often malformed, I wonder why they chose C as the language for the new interpreter. I don't want to write a typical HN comment ( cough use Rust for everything :)) but surely there is _some_ better language for entirely new development of a secure and fast parser in 2022. The post has no explananation of this choice. Doe…
Re: New Ghostscript PDF interpreter
#9Given the mention of security issues in their custom PostScript extensions, and that PDF files are often malformed, I wonder why they chose C as the language for the new interpreter. I don't want to write a typical HN comment ( cough use Rust for everything :)) but surely there is _some_ better language for entirely new development of a secure and fast parser in 2022. The post has no explananation of this choice. Doe…
For all of C++’s faults, at least it’s possible to use a map (or unordered_set or whatever) and mostly avoid encoding the fact that it’s anything other than an associative container of some sort at the call sites. This is especially true in C++11 or newer with auto.
Re: New Ghostscript PDF interpreter
#10Most important part of the announcement - you can still revert back to the former interpreter by setting the `-dNEWPDF=false` flag. While progress is always nice to see - I am also pleased that we don't necessarily need to update all the scripts that depend on ghostscript at once but can keep them running in their current state.