Comment

Comment by josephg

Right; because in zig the default behaviour is to leak memory. Rust adds an invisible free() call. Leaking is something you have to do explicitly.

I understand zig's philosophy here. But I prefer rust's default behaviour.

parent josephg 6 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton