Elektrine lite

← Feed

@mitchellh@hachyderm.io

Post #1343969

2026-04-15 18:43 UTC

I've contributed a patch to the venerable simdutf library by @lemire so that it can now be used with no dependency on libc++ at all. Libghostty is already updated so it now only depends on libc. I blogged about it here: https://mitchellh.com/writing/simdutf-no-libcxx

Replies (6)

  • @andrewrk@mastodon.social 2026-04-15 19:27

    @mitchellh @lemire nice! libc++ is such a nasty dependency

    Open ##1555894

  • @adrianco@mastodon.social 2026-04-15 19:32

    @mitchellh @lemire Thanks @lemire for speeding up a bunch of libraries that are very broadly used. It’s saving a lot energy….

    Open ##1555897

  • @tarxz@mstdn.social 2026-04-15 19:47

    @mitchellh Wish your blog had a RSS feed, would make it easier to keep up with your writing

    Open ##1555898

  • @manski@hachyderm.io 2026-04-16 03:08

    @mitchellh Small typo in PR: „if you disable our SIMD features, it has on dependencies at all“. Should probably be „no dependencies“.

    Open ##1555900

  • @maghoff@mas.to 2026-04-16 07:14

    @mitchellh Cool! And good writing. Having never heard of Simdutf before, I kept reading it as Sim-dutf, and it made no sense. An improvement you could make to the blog post for uninitiated readers like myself would be to include a short description of simdutf at the start, like "simdutf, the ultra-fast UTF-8 library based on SIMD, …"

    Open ##1555901

  • @dolmen@mamot.fr 2026-04-18 07:02

    @mitchellh @lemire Amazing to see both of you building on each other's work, as I'm used to following you independently.

    Open ##1555902