[HN Gopher] GoToSocial WASM-based SQLite driver and BSD
___________________________________________________________________
GoToSocial WASM-based SQLite driver and BSD
Author : jaypatelani
Score : 55 points
Date : 2024-11-06 05:35 UTC (17 hours ago)
(HTM) web link (www.tumfatig.net)
(TXT) w3m dump (www.tumfatig.net)
| ncruces wrote:
| I'm the developer of the Wasm driver mentioned in the article:
| https://github.com/ncruces/go-sqlite3
|
| The v0.20.x series (I just released v0.20.1) should improve this
| _significantly_.
|
| The driver was reserving lots of _address space_ (with a
| protected, private, anonymous mapping) which doesn 't play well
| with VMs and OSes that don't like to overcommit. It now reserves
| much less address space by default, and this can be reduced
| further.
|
| I also brought SQLite WAL mode support to 32-bit archs, to
| Windows and (through a build tag) to any OS that with an atomic
| mkdir (used for locking).
|
| Happy to discuss here, if you're looking for more in depth
| commentary.
___________________________________________________________________
(page generated 2024-11-06 23:02 UTC)