Wuffs: Wrangling Untrusted File Formats Safely
1–10 of 73 posts
Re: Wuffs: Wrangling Untrusted File Formats Safely
#2Wuffs the Language - https://news.ycombinator.com/item?id=26731305 - April 2021 (75 comments)
Wuffs’ PNG image decoder - https://news.ycombinator.com/item?id=26714831 - April 2021 (138 comments)
Re: Wuffs: Wrangling Untrusted File Formats Safely
#3Re: Wuffs: Wrangling Untrusted File Formats Safely
#4Re: Wuffs: Wrangling Untrusted File Formats Safely
#5Does anyone know of a tool that can do this for PDFs instead?
Re: Wuffs: Wrangling Untrusted File Formats Safely
#6Re: Wuffs: Wrangling Untrusted File Formats Safely
#7This is one of my favorite attempts at better programming language safety, because it compiles down to C that can then be shipped like normal C, so you don't get the ecosystem friction like with ex. Rust.
Re: Wuffs: Wrangling Untrusted File Formats Safely
#8Does anyone know of a tool that can do this for PDFs instead?
As soon as someone writes a Javascript interpreter in Wuffs..
I understand PDF has a bunch of limbs, but I always assumed the JS stuff was at least separate from the parsing. (I am familiar with the PDF format at a lower level but I never touched any of the weird features.)
Re: Wuffs: Wrangling Untrusted File Formats Safely
#9Does anyone know of a tool that can do this for PDFs instead?
Note this does not prevent unscrupulous companies abusing dominant market positions to voluntarily embed machine and serial hash watermarks.
To be clear: formats like pdf, ps, webp, svg, and tiff are so badly implemented in some ecosystems... they can't _ever_ be assumed safe input formats. Thus, at some point people need to spin up an actual VM to transcode a "web" version, and scrub each stage of the rendering pipeline like a virus or header injection is already present.
"I never play where nice things are, and don't break things" (Eliza Mowry Blven, The Humanitarian Review, Volume 3, March, 1905)
Cheers =3
Re: Wuffs: Wrangling Untrusted File Formats Safely
#10This is one of my favorite attempts at better programming language safety, because it compiles down to C that can then be shipped like normal C, so you don't get the ecosystem friction like with ex. Rust.
It’s an interesting idea for sure but it isn’t a general purpose language, so the problem domains it can solve is very very different vs what Rust is trying to do.
Today C makes most sense given the WUFFS language is still in flux.
[Edited to fix a serious typo]