Author: Mathius Buus

  • Structs in JavaScript

    Sharing structs between JavaScript and native code

    Structuring Data Using Structs When writing native modules in C/C++, it is often useful to structure data using something called structs. A struct is a low level data schema you can use in C/C++. They basically act as an encoding/decoding scheme, similar to protocol-buffers and many others data encoding schemes, to read/write the properties specified…

    Mathius Buus
    | 24th September 2018
  • Wormholes in JavaScript

    Wormholes in JavaScript Computers are interesting machines. From a theoretical point of view, we tend to think of them as automated mathematicians, or put another way, just really good at adding, multiplying, and working with numbers in general. The automated mathematician, however, is a deceptive abstraction. It turns out the computer is much faster at…

    Mathius Buus
    | 3rd September 2018
  • The Future of Native Modules in Node.js

    N-api and prebuilt native modules are ready for prime time.

    Mathius Buus
  • Top