Skip to main content
// JavaScript
function hello() {
  let result = fibonacci(10000);
  console.log(result);
  return result;
}
// Neon
fn hello(mut cx: FunctionContext) -> JsResult<JsNumber> {
  let result = fibonacci(10000);
  println!("{}", result);
  Ok(cx.number(result))
}

[object Object]Simple tooling.

No build scripts. No finicky system dependencies. Just Node and Rust.

[object Object]Guaranteed safety.

If a Neon module compiles, it is guaranteed by the Rust compiler to be memory-safe.

[object Object]Easy parallelism.

Safely run multiple threads—without data races.