Nan Boxing

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
  1. WebKit

    Home of the WebKit project, the browser engine used by Safari, Mail, App Store and many other applications on macOS, iOS and Linux.

    v8 does not use NaN-boxes; instead they use the low bit to distinguish between a 31-bit small integer ("smi") or a pointer. Doubles are additionally sometimes stored inline ("double field unboxing") I'm not sure how this works exactly. Other times they are heap-allocated. I am not sure if there is a specialized double-allocator, I'd like to know.

    JavaScriptCore uses a tweaked NaN-box [1]: values are stored via a NaN box minus a constant, which avoids requiring a mask when chasing pointers. This makes pointers cheaper but floating point operations more expensive.

    SpiderMonkey and Hermes both use straight NaN-boxing to my knowledge.

    https://github.com/WebKit/WebKit/blob/ec6b5337e777f9b460ec6b...

  2. Nutrient

    Nutrient - The #1 PDF SDK Library. Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.

    Nutrient logo
  3. Duktape

    Duktape - embeddable Javascript engine with a focus on portability and compact footprint

  4. rust

    Empowering everyone to build reliable and efficient software.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Sprout: my submission for GitHub Copilot Challenge

    2 projects | dev.to | 20 Jan 2025
  • Version 1.1.7 of Rspack has been compromised

    1 project | news.ycombinator.com | 19 Dec 2024
  • Implementing Webpack from Scratch, But in Rust - [3] Using NAPI-RS to Create Node.js Addons

    1 project | dev.to | 30 Oct 2024
  • Farm: Fast vite compatible build tool written in Rust

    9 projects | news.ycombinator.com | 21 Jun 2024
  • Dealing with Unicode string, done right and better.

    8 projects | dev.to | 15 Jun 2024

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?