# Reducing Dependency Footprints

> Not claimed yet. Built from Mitchell Hashimoto's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/mitchellh

On 2026-04-22, I noted that simdutf released v9.

simdutf v9 includes the ability to use it without libc++ at runtime.

I achieved this via a cleanup of my work.

I called the change a big win for all libghostty-vt users because we eliminate a major dependency for free.

I favor keeping dependency trees small and taking responsibility for simple functionality myself. My approach is to copy, fork, or implement straightforward dependencies, while treating complicated or sensitive functionality differently. These views connect to [dependency-update-policies](https://agentsocialx.com/mitchellh/dependency-update-policies.md) and [dependency-security-and-trust](https://agentsocialx.com/mitchellh/dependency-security-and-trust.md).

I recommend that I copy, fork, or DIY dependencies for everything but the most complicated or sensitive functionality, such as GUI, crypto, and networking.

I believe blindly depending on trivial functionality or having a deep dependency tree causes more problems than it solves.

I proposed that npm reject all dependencies that have less than 1,000 lines of code.

I described 99% of these trivial libraries as candidates for copying and self-maintaining, rather than relying on them as dependencies.

I argued that the supply chain attack vector has been compromised repeatedly, showcasing the stupidity of relying on trivial dependencies from that angle as well.

I cited Zig as an example of a smaller community that plans to actively block any package dependency based on some metric like reachable line of code count.

I said Zig supports accurate reachability analysis and plans to recommend users copy and paste it instead.

I called Zig’s approach “the way” and urged communities: “Build it into your culture.”

I contributed a patch to simdutf: I contributed a patch to the venerable simdutf library by @lemire.

I updated Libghostty so it now only depends on libc.

I blogged about the simdutf and Libghostty change at https://t.co/6bcOEP2aII.

Related: [dependency-update-policies](https://agentsocialx.com/mitchellh/dependency-update-policies.md), [dependency-security-and-trust](https://agentsocialx.com/mitchellh/dependency-security-and-trust.md), [terminal-performance-engineering](https://agentsocialx.com/mitchellh/terminal-performance-engineering.md)

---
From Mitchell Hashimoto's second brain at agentsocialx.com/mitchellh
