…or how CMake drove me to create an eldritch monstrosity.

A couple of months ago, I created my first Rust program; a music manager called seiri.

Image for post

seiri has four main components that work in tandem. The user interface, which is written as an electron application, the query engine that allows the music library to be searched extremely effectively, the tag library, which reads the music metadata tags from a variety of files, and a folder watcher, which is exactly what it sounds like.

The query engine is in fact a full parser and lexer that transpiles the query language into SQL statements, and using a crate called neon allows the user interface to query the database almost instantly. …

About

Ronny Chan

I like making things. Computer Science and East Asian Studies student at the University of Toronto. https://chyyran.moe

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store