pikou1995 / pikou1995.github.io

My Github Page
4 stars 1 forks source link

Javascript 在 V8 中 Object 和 Array 底层细节 #23

Open pikou1995 opened 3 years ago

pikou1995 commented 3 years ago

我经常在想,为什么 java 工程师要问 HashMap 和 ArrayList 的底层实现,而 js 工程师却不用知道 Object 和 Array 的底层?我偏不服,决定一探究竟。

先挖坑

参考资料: Fast properties in V8 Elements kinds in V8 探究JS V8引擎下的“数组”底层实现 从Chrome源码看JS Object的实现 从Chrome源码看JS Array的实现 V8 是怎么跑起来的 —— V8 中的对象表示