Elektrine lite

← Feed

@sarahjamielewis@mastodon.social

Post #4025863

2026-07-23 02:53 UTC

This evening I spent some time going through the latest firefox HEAD, with the idea being to catalog how many files/lines of code could be removed solely on the basis that they only exist to power the built in llm / chat / local ai stuff. I am currently at 136000 lines of code, a number so absurd that I have forced myself to triple check it - and I'm pretty sure I'm barely half way through this patch. The security auditor in me weeps.

Replies (5)

  • @c0dec0dec0de@hachyderm.io 2026-07-23 02:57

    @sarahjamielewis@mastodon.social gah!

    Open ##4146003

  • @tknarr@mstdn.social 2026-07-23 03:23

    @sarahjamielewis@mastodon.social I'd love it if the codebase was modular enough that we could extract the mechanics (HTML rendering, JS and CSS engines, network communications, that sort of thing) from the browser itself, then see how much AI was integrated into the mechanics and how much was just a part of the browser wrapped around the mechanics.

    Open ##4146005

  • @pseudonym@mastodon.online 2026-07-23 05:23

    @sarahjamielewis@mastodon.social You are doing important work. Thank you.

    Open ##4146011

  • @oblomov@sociale.network 2026-07-23 05:51

    @sarahjamielewis@mastodon.social I wonder if it might just be easier to hard fork before the whole slopware support thing started, and hen transplant any still relevant bugfixes (esp. security one). Reading these numbers really makes me angry, because of how much they crippled web standards support on the basis that it would be too costly. 8-(

    Open ##4146015

  • @ariarhythmic@ohai.social 2026-07-23 10:39

    @sarahjamielewis@mastodon.social Be sure not to include local translation in the count, it's not generative AI, and making requests to a remote service for the same thing isn't any better.

    Open ##4146020