Skip to content

zhuravlevma/node-rust-cdylib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdylib-nodejs

This project was bootstrapped by create-neon.

Test results

Average time of calculations for Matrix:

Rust cdylib: 1ms ⚡

JS vanilla: 92.92ms

Average time of calculations for Fibonacci:

Rust cdylib: 26ms ⚡

JS vanilla: 140.12ms

Installing cdylib-nodejs

Installing cdylib-nodejs requires a supported version of Node and Rust.

You can install the project with npm. In the project directory, run:

$ npm install

This fully installs the project, including installing any dependencies and running the build.

Building cdylib-nodejs

If you have already installed the project and only want to run the build, run:

$ npm start

About

mini app for testing rust cdylib and nodejs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published