01
A working open-source pattern lets Linux executables live inside SQLite database files, executable directly via binfmt_misc, a curiosity rather than a production technique.
Programmer Farid Zakaria built a tool called selfdb that turns a Linux executable file, a program a computer can run directly, into a SQLite database, which is the file format normally used to store data. He does this by rearranging the program's internal pieces (the ELF format) into database tables. A helper interpreter called self-exec, written in C, runs the program. It is a clever trick published on his blog, with code on GitHub.
This is a niche developer experiment, not a product: Farid Zakaria's selfdb project stores the internals of a Linux executable (ELF format) inside a SQLite database and runs it via a C interpreter called self-exec, using the kernel's binfmt_misc mechanism for registration. No performance figures, licensing details or adoption are given. Competitive and business impact is essentially nil; it matters as a technique for single-file packaging enthusiasts.
selfdb (github.com/fzakaria/selfdb) writes an executable as SQLite tables per a schema at schema/self.sql, setting the SQLite header's 4-byte application ID at byte offset 68 to the magic string SELF, so binfmt_misc can match executables by pattern. A C loader, loader/self-exec.c, extracts and runs the pieces; the author demonstrates registration on NixOS and shows a generic /proc/sys/fs/binfmt_misc/register line. No benchmarks, limitations or compatibility data are provided.
02
CUDA 13.0's NVCC defaults will silently break shared libraries and header-only template code that currently compiles, forcing developers to fix link errors or opt out with new flags.
NVIDIA is changing how its CUDA compiler (the tool that builds code for Nvidia graphics chips) works, starting with CUDA 13.0. Programs split across multiple files will now fail during the build stage instead of silently misbehaving at runtime, which is easier to fix. This mainly affects developers who package CUDA code into shared libraries on Linux and other non-Windows systems, and anyone using header-only libraries like Thrust. Old behaviour can be restored with compiler flags or code annotations.
Teams maintaining CUDA C++ shared libraries on Linux face build breakage when they move to CUDA 13.0, as symbol-export and template-stub defaults flip to stricter settings. The upside is that silent, hard-to-debug runtime crashes, caused by duplicate statically linked CUDA runtime libraries or merged kernel stubs, become visible link errors at build time. Migration paths exist via NVCC flags or visibility attributes; Windows is unaffected.
CUDA 13.0 NVCC makes two default changes: (1) __global__ functions and __managed__/__device__/__constant__ variables get hidden ELF visibility on non-Windows platforms, so dual statically linked CUDART instances no longer export symbols across shared library boundaries; (2) in whole-program mode (-rdc=false), __global__ function template stubs get internal linkage, preventing the host linker from merging identically named stubs across translation units. Opt-outs: --device-entity-has-hidden-visibility=false, -static-global-template-stub=false, or __attribute__((visibility("default"))). Flags exist since CUDA 12.8; -fvisibility does not override the annotations.