News for hackers. Stuff that matters.
Re:Wuffs’ PNG image decoder by pipeep on Tuesday April 06, 2021 @06:20PM (#26718091)
> Rust could add a `#![forbid(alloc)]` declaration and achieve the same effect.

Isn't that pretty much what `#![no_std]` is for? You can still use an allocator with no_std, but you have to explicitly import it.

https://docs.rust-embedded.org/book/intro/no-std.html

Re:Wuffs’ PNG image decoder by saagarjha on Tuesday April 06, 2021 @08:36PM (#26719137)
It seeems like Wuffs is not really designed to support dynamic memory allocation at all, which is typical for usecases like oneshot parsers.