├── .gitignore ├── LICENSE ├── README.md ├── addons ├── binding.gyp ├── build │ ├── Makefile │ ├── Release │ │ ├── .deps │ │ │ └── Release │ │ │ │ ├── addon.node.d │ │ │ │ └── obj.target │ │ │ │ └── addon │ │ │ │ └── hello.o.d │ │ ├── addon.node │ │ └── obj.target │ │ │ └── addon │ │ │ └── hello.o │ ├── addon.target.mk │ ├── binding.Makefile │ ├── config.gypi │ └── gyp-mac-tool └── hello.cc ├── demo_NAPI_MODULE_INIT.cc ├── demo_NODE_C_CTOR.cpp ├── demo_NODE_MODULE_INITIALIZER.cc ├── grpc ├── .gitignore ├── README.md ├── helloworld.proto ├── helloworld │ ├── greeter_client.js │ └── greeter_server.js ├── helloworld_client_stream.proto ├── helloworld_client_stream │ ├── greeter_client.js │ └── greeter_server.js ├── helloworld_server_stream.proto ├── helloworld_server_stream │ ├── greeter_client.js │ └── greeter_server.js ├── helloworld_static │ ├── greeter_client.js │ ├── greeter_server.js.js │ ├── helloworld_grpc_pb.js │ └── helloworld_pb.js ├── helloworld_stream.proto ├── helloworld_stream │ ├── greeter_client.js │ └── greeter_server.js ├── package.json ├── route_guide.proto ├── route_guide │ ├── route_guide_client.js │ ├── route_guide_db.json │ └── route_guide_server.js └── yarn.lock ├── introduction_to_grpc_basics.md ├── node_javascript.cc ├── node_trace.1.log ├── tini ├── binding.gyp ├── main.js ├── make_zombie.js ├── package.json ├── tini.cc └── yarn.lock └── v8 └── hello-world.cc /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/README.md -------------------------------------------------------------------------------- /addons/binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/addons/binding.gyp -------------------------------------------------------------------------------- /addons/build/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/addons/build/Makefile -------------------------------------------------------------------------------- /addons/build/Release/.deps/Release/addon.node.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/addons/build/Release/.deps/Release/addon.node.d -------------------------------------------------------------------------------- /addons/build/Release/.deps/Release/obj.target/addon/hello.o.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/addons/build/Release/.deps/Release/obj.target/addon/hello.o.d -------------------------------------------------------------------------------- /addons/build/Release/addon.node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/addons/build/Release/addon.node -------------------------------------------------------------------------------- /addons/build/Release/obj.target/addon/hello.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/addons/build/Release/obj.target/addon/hello.o -------------------------------------------------------------------------------- /addons/build/addon.target.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/addons/build/addon.target.mk -------------------------------------------------------------------------------- /addons/build/binding.Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/addons/build/binding.Makefile -------------------------------------------------------------------------------- /addons/build/config.gypi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/addons/build/config.gypi -------------------------------------------------------------------------------- /addons/build/gyp-mac-tool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/addons/build/gyp-mac-tool -------------------------------------------------------------------------------- /addons/hello.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/addons/hello.cc -------------------------------------------------------------------------------- /demo_NAPI_MODULE_INIT.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/demo_NAPI_MODULE_INIT.cc -------------------------------------------------------------------------------- /demo_NODE_C_CTOR.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/demo_NODE_C_CTOR.cpp -------------------------------------------------------------------------------- /demo_NODE_MODULE_INITIALIZER.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/demo_NODE_MODULE_INITIALIZER.cc -------------------------------------------------------------------------------- /grpc/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | node_modules 3 | npm-debug.log -------------------------------------------------------------------------------- /grpc/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/README.md -------------------------------------------------------------------------------- /grpc/helloworld.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/helloworld.proto -------------------------------------------------------------------------------- /grpc/helloworld/greeter_client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/helloworld/greeter_client.js -------------------------------------------------------------------------------- /grpc/helloworld/greeter_server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/helloworld/greeter_server.js -------------------------------------------------------------------------------- /grpc/helloworld_client_stream.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/helloworld_client_stream.proto -------------------------------------------------------------------------------- /grpc/helloworld_client_stream/greeter_client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/helloworld_client_stream/greeter_client.js -------------------------------------------------------------------------------- /grpc/helloworld_client_stream/greeter_server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/helloworld_client_stream/greeter_server.js -------------------------------------------------------------------------------- /grpc/helloworld_server_stream.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/helloworld_server_stream.proto -------------------------------------------------------------------------------- /grpc/helloworld_server_stream/greeter_client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/helloworld_server_stream/greeter_client.js -------------------------------------------------------------------------------- /grpc/helloworld_server_stream/greeter_server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/helloworld_server_stream/greeter_server.js -------------------------------------------------------------------------------- /grpc/helloworld_static/greeter_client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/helloworld_static/greeter_client.js -------------------------------------------------------------------------------- /grpc/helloworld_static/greeter_server.js.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/helloworld_static/greeter_server.js.js -------------------------------------------------------------------------------- /grpc/helloworld_static/helloworld_grpc_pb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/helloworld_static/helloworld_grpc_pb.js -------------------------------------------------------------------------------- /grpc/helloworld_static/helloworld_pb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/helloworld_static/helloworld_pb.js -------------------------------------------------------------------------------- /grpc/helloworld_stream.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/helloworld_stream.proto -------------------------------------------------------------------------------- /grpc/helloworld_stream/greeter_client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/helloworld_stream/greeter_client.js -------------------------------------------------------------------------------- /grpc/helloworld_stream/greeter_server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/helloworld_stream/greeter_server.js -------------------------------------------------------------------------------- /grpc/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/package.json -------------------------------------------------------------------------------- /grpc/route_guide.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/route_guide.proto -------------------------------------------------------------------------------- /grpc/route_guide/route_guide_client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/route_guide/route_guide_client.js -------------------------------------------------------------------------------- /grpc/route_guide/route_guide_db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/route_guide/route_guide_db.json -------------------------------------------------------------------------------- /grpc/route_guide/route_guide_server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/route_guide/route_guide_server.js -------------------------------------------------------------------------------- /grpc/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/grpc/yarn.lock -------------------------------------------------------------------------------- /introduction_to_grpc_basics.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/introduction_to_grpc_basics.md -------------------------------------------------------------------------------- /node_javascript.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/node_javascript.cc -------------------------------------------------------------------------------- /node_trace.1.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/node_trace.1.log -------------------------------------------------------------------------------- /tini/binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/tini/binding.gyp -------------------------------------------------------------------------------- /tini/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/tini/main.js -------------------------------------------------------------------------------- /tini/make_zombie.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/tini/make_zombie.js -------------------------------------------------------------------------------- /tini/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/tini/package.json -------------------------------------------------------------------------------- /tini/tini.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/tini/tini.cc -------------------------------------------------------------------------------- /tini/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/tini/yarn.lock -------------------------------------------------------------------------------- /v8/hello-world.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoxiaojx/blog/HEAD/v8/hello-world.cc --------------------------------------------------------------------------------