Closed GretaCB closed 7 years ago
Per chat with @springmeyer when running through https://github.com/mapbox/node-cpp-skel/pull/51, I plan to:
/docs/*.md
: Info about C++ best practices, add-on conventions, explanation of files, and general 101README.md
: The main README will be a great template README that developers can use for their own add-ons when using the skel as a baseline (how to install, run tests, build, publish, etc)API.md
is up to dateBuild ^^ items into the cpp glossary (@GretaCB first pass)
https://github.com/mapbox/cpp/commit/92af06817b7f7df1506fdd696b6359e95e3fc476 and https://github.com/mapbox/cpp/commit/beb75bfde7ead41aab53d0520cd53ab1c27729b6
@GretaCB thanks for catching up on skel today voice. To help get to the finish line for this phase I've reviewed all open issues and commented on ones that I think are actionable. Of those that are actionable I think these are the priority things to finish before you move along:
woot @GretaCB - everything above is checked. Shall we close?
Per discussion with @springmeyer , outlining possible next steps for node-cpp-skel and capturing best practices to document and integrate into the skel design.
Questions to answer
What does it look like to have the variable that represents an instance of a class accessible in the threadpool?
What is the role of a singleton and how is it related to other design patterns for sync/async?
When passing data to thread pool, the data needs to be a type that is safe to pass into the thread pool. What makes a type safe to pass into the thread pool?
Designing skel:
Goal 1)
Goal 2)
Preliminary conclusion: object-sync is caught between these worlds
Terms to learn
Standard C++
static
keyword&
mean?)V8
Nan::Persistent
(which is reallyv8::Persistent
)v8::FunctionTemplate
andv8::Function
Nan::ObjectWrap
Possible next steps:
shave
function access Filters as an argument