Skip to content

arupadhy/basic-c-addon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo illustrates multiplication of a number by 17( mimicing CPU intensive operation) in C world from javascript and get eh result back at event-loop layer Here are the pre-requisite to run this simple add on

Must have node >= 10 installed on local Must have node-gyp installed (npm i -g node-gyp)

from the cloed repo folder, run

  1. node-gyp configure build
  2. node index.js

About

Illustration of doing cpu intensive work via C native add on in node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published