Mehdi Akiki

Posts tagged "javascript"

  • 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.
  • Published on
    How I built a custom code execution engine backed by a Rust/Axum microservice, embedded directly in blog articles. Covers the security model, subprocess isolation with setrlimit, HMAC request signing, and the tradeoffs behind every decision.
  • Published on
    Deep dive into JavaScript ES Modules (ESM) - the modern standard for organizing and sharing code in JavaScript applications, replacing CommonJS with better static analysis and tree-shaking capabilities.
  • Published on
    Mastering JavaScript's async/await syntax and advanced patterns - from basic usage to complex error handling, parallel execution, and performance optimization techniques.