Mehdi Akiki

Posts tagged "javascript"

  • Published on
    Follow a Next.js client import into static report data, move that work to the server, and compare browser JavaScript, RSC payload, and interaction.
  • Published on
    Find npm lifecycle programs in CI logs, inspect their exact package versions, and compare installs with scripts disabled before granting credentials.
  • Published on
    Generate and validate note tags with a pinned WebLLM model, handle loading failures, and offer a clear choice before sending text to a server.
  • Published on

    Investigation · Part 9 of 10 · Types under the hood

    Runtime Type Tags: What Dynamic Languages Keep That Static Ones Throw Away

    A Python integer with the value 1 takes 28 bytes, and a million of them cost 36 MB where Rust would use 4. I expected mixed arrays to be slow in V8 and they were not. The cost that did show up was object shape, and it arrives as a cliff at the fifth shape.