News for hackers. Stuff that matters.
Re:Show HN: PlutoFilter- A single-header, zero-allocation im... by ephou7 on Thursday July 17, 2025 @04:11PM (#44597638)
I'm not sure why single-header is an advantage over powerful libraries such as GEGL.
Re:Show HN: PlutoFilter- A single-header, zero-allocation im... by malkia on Thursday July 17, 2025 @04:27PM (#44597801)
or ImageMagick, or plenty of others, with SIMD, GPU, etc. support.
Re:Show HN: PlutoFilter- A single-header, zero-allocation im... by Calavar on Thursday July 17, 2025 @04:46PM (#44598011)
It fills the lightweight niche. You can build it on Windows without needing to drag in all of msys. I can see this as really useful for toy projects and demos.
Re:Show HN: PlutoFilter- A single-header, zero-allocation im... by majorchord on Thursday July 17, 2025 @05:06PM (#44598219)
I'm not sure why walking is an advantage over a hot air balloon. /s

Try to understand that "advantage" can mean different things to different people. Your perspective and usecases might be totally opposite from someone else, and that doesn't mean either of you are wrong.

Re:Show HN: PlutoFilter- A single-header, zero-allocation im... by im_down_w_otp on Thursday July 17, 2025 @05:13PM (#44598290)
Both the single header and the zero-allocation callouts can be desirable qualities for something used in an embedded (as in classical MCU-shaped) context.

edit: Seeing that it's also C99 makes me think that embedded applications might be what this was geared toward.

Re:Show HN: PlutoFilter- A single-header, zero-allocation im... by gregschlom on Thursday July 17, 2025 @06:12PM (#44598835)
The benefit of single-header, specifically, is that it's super easy to integrate with any project. You don't need to mess with your build system, or the library's build system, just include the file and you're good to go.

No allocation is useful for embedded / resource constrained targets.

Re:Show HN: PlutoFilter- A single-header, zero-allocation im... by mrheosuper on Thursday July 17, 2025 @11:09PM (#44600823)
easy to test and integrate to your project.
Re:Show HN: PlutoFilter- A single-header, zero-allocation im... by vouaobrasil on Friday July 18, 2025 @12:19AM (#44601165)
It's sort of like how a clean organized desk is an advantage to some but a hindrance to others....