Rethinking SQLite: Surprisingly Powerful at Hyper-Scale

2025-03-03
Rethinking SQLite: Surprisingly Powerful at Hyper-Scale

Contrary to popular belief, SQLite isn't just for small applications. This article argues that services like Cloudflare Durable Objects and Turso unlock SQLite's potential at hyper-scale. These platforms assign SQLite databases per entity, replacing the complexities of sharded databases. This approach solves challenges like rigid schemas, difficult schema changes, and complex cross-partition operations. While challenges remain—lack of open-source self-hosting and standardized protocols—SQLite's ACID compliance, efficient I/O, and rich SQL extensions make it a compelling alternative to traditional partitioned databases.

Read more
Development

Ken Thompson's Sneaky C Compiler Backdoor: A Reflection on Trust

2025-02-16

In his paper "Reflections on Trusting Trust," Ken Thompson, co-creator of UNIX, recounts a chilling tale of a self-replicating backdoor he inserted into the C compiler. This backdoor would automatically inject itself into the login program during compilation, granting him unauthorized access. The insidious part? Even removing the backdoor from the source code wouldn't stop the compiler from re-inserting it during compilation. This story serves as a stark reminder of the limitations of trusting software and the inherent difficulty in ensuring complete security, even with source code review.

Read more
Development C compiler backdoor

Txeo: A Modern C++ Wrapper for TensorFlow Achieving Near-Native Performance

2025-02-21
Txeo: A Modern C++ Wrapper for TensorFlow Achieving Near-Native Performance

Txeo is a lightweight and intuitive C++ wrapper for TensorFlow designed to simplify TensorFlow C++ development while maintaining high performance and flexibility. Built entirely with Modern C++, Txeo enables developers to use TensorFlow with the ease of a high-level API, eliminating the complexity of its low-level C++ interface. Benchmarks show negligible performance overhead compared to native TensorFlow, ranging from 0.65% to 1.21%. Currently supports Linux, with Windows and macOS support planned.

Read more
Development
1 2 589 590 591 592 593 594 595 597 Next →