

Yannis Zarkadas
126 posts

@yanniszark
Software Engineer and Researcher. Currently working on the XLA compiler at @google. Previously, I got my PhD from @columbia.










libSQL embedded replica API is much more ergonomic now with read-your-write support. Embedded replicas in libSQL provide local reads and delegate writes to a remote server. Until recently, you had to explicitly call a sync() method to get changes. But now that @lucio_d_franco added support for read-your-writes (implicit sync on write), you can get fast local reads and transparent remote writes automatically. If you run this program multiple times, you will retain a local copy of the database, but sync up with other concurrent writers automatically while still serving reads locally. You can still call the sync() method manually, but that becomes a data freshness thing, not a correctness thing. We're planning on supporting local writes too at some point, but as @glcst pointed out recently, most people seem to just need read-your-writes even when talking about local writes. Curious to see how far we ca go with just this approach!








Justin Bieber and Hailey Bieber arrive at Krispy Kreme in Times Square in New York City.







If I were a software developer trying to differentiate myself in today’s market, I’d ask “what are the hardest, most difficult tasks that software developers do”, and then pick something in that group and go learn it.