I’ve been experimenting with building a Swift-native embedded storage engine called BlazeDB.
The goal of the project was to explore what an embedded database might look like if it were designed specifically for Swift applications from the start.
The system currently includes:
• page-based storage engine
• write-ahead log (WAL) durability model
• encrypted persistence using AES-GCM
• a benchmark harness and failure testing
I wrote a technical deep dive describing the architecture and implementation details here:
I’m planning to open source the project once the core APIs stabilize. I’d be interested in feedback from the Swift community, particularly around API design and storage architecture. Happy to answer questions about the storage engine design or the WAL model if anyone is curious.