ncruces

↗ HN profile [ 60.1 ms ] full profile
Karma
0
Created
()
Submissions
0
  1. I've spent the past couple of weeks building a Wasm-to-Go translator. It supports a subset of Wasm useful enough to translate SQLite into 600k LoC (~20 MiB) of Go code. It already passes all of my Go SQLite driver's…

  2. AA trees are a variation of the red–black tree, a form of binary search tree, named after their originator, Swedish computer scientist Arne Andersson. I found them somewhat simpler to implement compared to other binary…

  3. It's been a little under a month since I submitted the initial bits of this: https://news.ycombinator.com/item?id=43730458 I was asked to upstream (which I tried to, it's the linked issue), and about additional…

  4. I make a no-CGO Go SQLite driver, by compiling the amalgamation to Wasm, then loading the result with wazero (a CGO-free Wasm runtime). To compile SQLite, I use wasi-sdk, which uses wasi-libc, which is based on musl.…

  5. Release 1.8.2 of wazero, the zero dependency WebAssembly runtime for Go, brings the amd64 compiler to 4 new OSes: NetBSD, DragonFly BSD, illumos and Solaris. The compiler also supports Linux, FreeBSD, macOS and Windows,…

  6. SQLite encryption at-rest is a hot requested feature of both the “default” CGo driver [1] and the transpiled alternative driver [2]. So, this is a feature I wanted to bring to my own Wasm based Go driver/bindings [3].…

  7. https://github.com/ncruces/go-sqlite3 was doing poorly on this benchmark that was posted yesterday to HackerNews [1]. With the help of some pprof, I was able to trace it to a serious performance regression introduced…