https://github.com/yaxingson/filebrowser
https://github.com/yaxingson/filebrowser
browser electron filesystem gui viewer
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yaxingson/filebrowser
- Owner: yaxingson
- License: mit
- Created: 2024-05-29T06:17:25.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T09:32:35.000Z (over 1 year ago)
- Last Synced: 2025-10-07T06:49:23.405Z (9 months ago)
- Topics: browser, electron, filesystem, gui, viewer
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mini-browser
> JIT(即时编译)和 AOT(预编译)
编译器:
1. 词法分析
2. 语法分析
3. 语义分析
4. 运行时环境
5. 中间代码
6. 代码优化
7. 生成目标代码
> 无头浏览器
静态作用域和词法环境、变量对象(VO)和活动对象(AO)
函数调用栈
客户端服务端双向通信: HTTP轮询、XHR Streaming和Server-sent events
GUI渲染线程和JavaScript脚本引擎线程互斥
> `CSSOM`和视觉格式化模型
光栅化
```js
const controller = new AbortController()
document.getElementById('scroll-bar').addEventListener('click', e=>{
}, {
signal: controller.signal,
once: true,
capture: true,
passive: true,
})
```
> 包含块
注: `z-index`值的设置只会决定同一父元素中同级子元素的堆叠顺序
v8内存分配和垃圾回收
- 新生代:Scavenge算法
- 老生代: 标记清除(Markup-Sweep)和标记整理(Markup-Compact)(增量标记和三色标记法)
```sh
node --max-old-space-size=2048
```
## Severless
## Micro Frontend
## PWA
## WebAssembly
## WebGL
## GraphQL