erts, erlang runtime system
/erts/emulator erlang vm 代码目录
+ beam 大部分 vm *.c 文件在这里
beam/hash.h general hash table
beam/hash.c 标准的 array + list 的 hashtable 实现
beam/index.h general index table
beam/index.c 通过 hash 实现的 key ==> index(int) 的转换, 每次 put() index 是从 1 ... max 增长
beam/atom.h atom_name <==> Eterm
beam/atom.c
beam/module.h Eterm <==> Module
beam/module.c
beam/export.h module 导出的函数
beam/export.c
hash, index 作为 Atom, Module, Export 模块的基础
评论