header image
avatar

👋 Hi! I am Vincent Chan.

Github  Twitter  Linkedin

Libraries

Quill Next
A fork version of Quill. Aim to be a modern, extensible, and performant editor for the web
2025
PoloDB
An embedded JSON-based database written in Rust. It's designed to be lightweight and safe. It supports query semantics like MongoDB and WAL transactions.
2019
Blocky editor(Archived)
A Notion-like editor built with blocks
2022

CG Artworks

古道西风瘦马
MacOS Monterey wallpaper
The sun rises as usual

Products

Doodleboard
Co-founder
An all-in-one whiteboard with built-in doodle styles to help you easily organize, and present your ideas.
2022

Articles

English

中文

在 MacOS 下编译 Skia 以及 Wasm 版本

Posted at 2024-07-06

MacOS Skia 官网对于如何下载和编译 Skia 有详细的说明,但是对于 macOS 下的编译,有一些细节需要注意。 在开始编译之前,出来要先安装 de…

群晖如何在非官方 SSD 上创建储存池

Posted at 2023-09-02

年初因为老的群晖 CPU 烧了,升级了新的带有 M.2 SSD 插槽的群晖。 看官方的介绍,说这个 SSD 插槽支持把 SSD 用做缓存或者可以用来做储存池。…

读懂 WebAssembly 如何表达 C++

Posted at 2021-08-10

本文同步发布到知乎 背景 最近因为项目原因,在项目中使用 Emscripten 将 C++ 代码编译到 WASM 以便在浏览器执行。借助这个过程我也学习了 W…

QuickJS 源码解读(二):基础设施和标准库

Posted at 2020-12-25

上一篇文章 里面主要解释了 了 QuickJS 虚拟机的运作。第二篇文章打算介绍一下 QuickJS 里面 JavaScript 基础设施的实现。 基础设施 …

写一个飞快的 JavaScript 打包压缩工具

Posted at 2020-04-25

背景 平时大家在开发 Js 项目的时候,可能已经离不开 webpack 等打包工具了。而 webpack 打包速度大概就是“能用“的水平。大概去年开始,我就开…

使用 JS 操作 mac 下文件拓展属性

Posted at 2020-02-22

任何可以使用 JavaScript 来实现的应用都最终都会使用 JavaScript. --Atwood 通过浏览器和 Node.js,JavaScript …

多线程 SQLite with C++ 踩坑汇总

Posted at 2020-01-13

因为工作的原因使用 SQLite 作为本地数据库,然而 SQLite 和 C++ 配合使用有许许多多的坑,此文用于记录工作过程中使用 SQLite 的坑。 L…

使用 N-API 和 CMake 为 Node.js 添加 C++ 拓展

Posted at 2019-10-13

以前为 Node.js 编写拓展的时候,使用的是 Node.js 的 C++ addon API,直接使用 v8 提供的 api 和 Node.js 打交道。…

More...

Experimental POCs

CubyText
An open-source knowledge management app
2022
LichenScript
A lightweight language compiled to JavaScript/C
2021
Jetpack
An extremely fast JavaScript bundler written in C++. It can be compiled into a binary without any dependencies. It's portable, fast, and solid.

Sometimes, I will do some "hacking" on existing systems.