Goodme Frontend Team
Goodme Frontend Team
Dec 16, 2024 · Backend Development

Understanding N-API vs ABI: Build Efficient Node.js Native Addons with Rust

This article demystifies the relationship between Node.js's N‑API and the underlying Application Binary Interface (ABI), explaining their definitions, comparing their abstraction levels, cross‑platform compatibility, memory management, and performance, and provides concrete Rust code examples for both raw ABI and N‑API implementations.

FFIN-APIRust
0 likes · 8 min read
Understanding N-API vs ABI: Build Efficient Node.js Native Addons with Rust
ByteFE
ByteFE
May 31, 2021 · Information Security

How to Harden Electron Apps with V8 Bytecode and Native Addons

This article explains how to protect Electron desktop applications from unpacking, tampering, and repackaging by comparing common obfuscation methods, introducing V8 bytecode compilation, embedding it in a Rust‑based Node Addon using N‑API, and detailing the build process, performance impact, and limitations.

ElectronN-APINode Addon
0 likes · 20 min read
How to Harden Electron Apps with V8 Bytecode and Native Addons
Node Underground
Node Underground
Dec 3, 2020 · Backend Development

Why N-API Is Revolutionizing Node.js Add‑On Development

This article explains how N‑API provides an ABI‑stable, cross‑version add‑on API for Node.js, outlines recent multithreading, worker‑thread, and helper function enhancements, discusses build tooling options, and offers resources for getting started and contributing to the ecosystem.

C++N-APINode.js
0 likes · 14 min read
Why N-API Is Revolutionizing Node.js Add‑On Development
Node Underground
Node Underground
Aug 18, 2017 · Backend Development

How to Build a C/C++ Node.js Add-on with N-API: A Step-by-Step Guide

Learn how to create a C/C++ extension for Node.js using the stable N-API ABI, covering environment setup with node-gyp, writing the module code for a simple multiply-by-two function, building the add-on, and running it across platforms with minimal compilation hassle.

C++N-APINode.js
0 likes · 3 min read
How to Build a C/C++ Node.js Add-on with N-API: A Step-by-Step Guide