Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Last active October 16, 2017 07:26
Show Gist options
  • Save kjunichi/38986d1da1f40dbe8fc4 to your computer and use it in GitHub Desktop.
Save kjunichi/38986d1da1f40dbe8fc4 to your computer and use it in GitHub Desktop.
2015/10/15

Perl6

ffi

  • dyncallというのがある。
  • libffiも後からVMでサポートされた。

Node.js

.nodeモジュールがC++含んでいるが、どうなってるんだろ

20151015

static node_module* modpending;

node_module

modpending

mp->nm_version

mp->nm_dso_handle = lib.handle;
mp->nm_link = modlist_addon;
modlist_addon = mp;

mp->nm_context_register_func
mp->nm_register_func

extern "C" void node_module_register(void* m)

関連

アクセス解析タグ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment