Skip to content

Comment on Go vs. Rust: Writing a CLI Toolparent

Comments

The “anyhow” and “thiserror” crates remove a lot of boilerplate, too. I hope something like that gets merged into std.

Wanna know a quick way to reduce your compile time by several seconds? Skip proc macros that you can impl manually. The Error trait is one such case where the boilerplate impl is worth it.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.