├── .gitignore ├── cpp ├── lib4ffi │ ├── binding.gyp │ ├── package.json │ ├── primeapi.cpp │ └── primeapi.h ├── nodeprime │ ├── addon.cpp │ ├── binding.gyp │ └── package.json ├── nodeprime_sync │ ├── addon.cpp │ ├── binding.gyp │ └── package.json ├── original │ └── prime_sieve.c ├── prime4lib │ ├── c_exchange.h │ ├── exchange.cpp │ ├── exchange.h │ ├── prime_sieve.c │ └── prime_sieve.h ├── prime4standalone │ ├── prime_sieve.c │ └── prime_sieve.h ├── standalone_flex_file │ ├── binding.gyp │ ├── main.cpp │ └── package.json ├── standalone_stdio │ ├── binding.gyp │ ├── main.cpp │ └── package.json └── standalone_usr │ ├── binding.gyp │ ├── main.cpp │ └── package.json ├── readme.md └── web ├── Gruntfile.js ├── index.js ├── package.json ├── routes ├── addon.js ├── addonsync.js ├── ffi.js ├── pure_node.js ├── standalone_args.js ├── standalone_file.js └── standalone_usr.js └── views ├── index.jade └── primes.jade /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/.gitignore -------------------------------------------------------------------------------- /cpp/lib4ffi/binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/lib4ffi/binding.gyp -------------------------------------------------------------------------------- /cpp/lib4ffi/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/lib4ffi/package.json -------------------------------------------------------------------------------- /cpp/lib4ffi/primeapi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/lib4ffi/primeapi.cpp -------------------------------------------------------------------------------- /cpp/lib4ffi/primeapi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/lib4ffi/primeapi.h -------------------------------------------------------------------------------- /cpp/nodeprime/addon.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/nodeprime/addon.cpp -------------------------------------------------------------------------------- /cpp/nodeprime/binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/nodeprime/binding.gyp -------------------------------------------------------------------------------- /cpp/nodeprime/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/nodeprime/package.json -------------------------------------------------------------------------------- /cpp/nodeprime_sync/addon.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/nodeprime_sync/addon.cpp -------------------------------------------------------------------------------- /cpp/nodeprime_sync/binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/nodeprime_sync/binding.gyp -------------------------------------------------------------------------------- /cpp/nodeprime_sync/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/nodeprime_sync/package.json -------------------------------------------------------------------------------- /cpp/original/prime_sieve.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/original/prime_sieve.c -------------------------------------------------------------------------------- /cpp/prime4lib/c_exchange.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/prime4lib/c_exchange.h -------------------------------------------------------------------------------- /cpp/prime4lib/exchange.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/prime4lib/exchange.cpp -------------------------------------------------------------------------------- /cpp/prime4lib/exchange.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/prime4lib/exchange.h -------------------------------------------------------------------------------- /cpp/prime4lib/prime_sieve.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/prime4lib/prime_sieve.c -------------------------------------------------------------------------------- /cpp/prime4lib/prime_sieve.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/prime4lib/prime_sieve.h -------------------------------------------------------------------------------- /cpp/prime4standalone/prime_sieve.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/prime4standalone/prime_sieve.c -------------------------------------------------------------------------------- /cpp/prime4standalone/prime_sieve.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/prime4standalone/prime_sieve.h -------------------------------------------------------------------------------- /cpp/standalone_flex_file/binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/standalone_flex_file/binding.gyp -------------------------------------------------------------------------------- /cpp/standalone_flex_file/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/standalone_flex_file/main.cpp -------------------------------------------------------------------------------- /cpp/standalone_flex_file/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/standalone_flex_file/package.json -------------------------------------------------------------------------------- /cpp/standalone_stdio/binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/standalone_stdio/binding.gyp -------------------------------------------------------------------------------- /cpp/standalone_stdio/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/standalone_stdio/main.cpp -------------------------------------------------------------------------------- /cpp/standalone_stdio/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/standalone_stdio/package.json -------------------------------------------------------------------------------- /cpp/standalone_usr/binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/standalone_usr/binding.gyp -------------------------------------------------------------------------------- /cpp/standalone_usr/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/standalone_usr/main.cpp -------------------------------------------------------------------------------- /cpp/standalone_usr/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/cpp/standalone_usr/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/readme.md -------------------------------------------------------------------------------- /web/Gruntfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/web/Gruntfile.js -------------------------------------------------------------------------------- /web/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/web/index.js -------------------------------------------------------------------------------- /web/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/web/package.json -------------------------------------------------------------------------------- /web/routes/addon.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/web/routes/addon.js -------------------------------------------------------------------------------- /web/routes/addonsync.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/web/routes/addonsync.js -------------------------------------------------------------------------------- /web/routes/ffi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/web/routes/ffi.js -------------------------------------------------------------------------------- /web/routes/pure_node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/web/routes/pure_node.js -------------------------------------------------------------------------------- /web/routes/standalone_args.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/web/routes/standalone_args.js -------------------------------------------------------------------------------- /web/routes/standalone_file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/web/routes/standalone_file.js -------------------------------------------------------------------------------- /web/routes/standalone_usr.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/web/routes/standalone_usr.js -------------------------------------------------------------------------------- /web/views/index.jade: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/web/views/index.jade -------------------------------------------------------------------------------- /web/views/primes.jade: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freezer333/cppwebify-tutorial/HEAD/web/views/primes.jade --------------------------------------------------------------------------------