One of the many nice language features in Python are keyword arguments. They make some types of APIs concise and readable. Like so: C does not have keyword arguments and, by extension, neither does C...
In our previous episode we wrote a merge sort implementation that runs a bit faster than the one in stdlibc++. The question then becomes, could it be made even faster. If you go through the relevant l...
In an earlier blog post we found out that Pystd's simple sorting algorithm implementations were 5-10% slower than their stdlibc++ counterparts. The obvious follow up nerd snipe is to ask "can we make ...
At this point in history, AI sociopaths have purchased all the world's RAM in order to run their copyright infringement factories at full blast. Thus the amount of memory in consumer computers and pho...
One of the most optimized algorithms in any standard library is sorting. It is used everywhere so it must be fast. Thousands upon thousands of developer hours have been sunk into inventing new algorit...
There are a lot of prime classes, such as left truncating primes, twin primes, mersenne primes, palindromic primes, emirp primes and so on. The Wikipedia page on primes lists many more. Recently I got...
Pystd is an experiment on what a C++ standard library without any backwards compatibility requirements would look like. Its design goals are in order of decreasing priority: • Fast build times • Simp...
I, too, have (or as you can probably guess from the title of this post, had) a Facebook account. I only ever used it for two purposes. 1. Finding out what friends I rarely see are doing 2. Getting in...
If you ask people why they are using AI (or want other people to use it) you get a ton of different answers. Typically none of them contain the real reason, which is that using AI is dirt cheap. Betwe...
Note: this post represents my personal opinions as a Debian maintainer of a single package (Meson). It is not my intention to throw anyone involved in the service under a bus, but some things about it...
作者介绍了一种在保持 ABI 稳定的同时演进 API 的方法:通过按年份划分命名空间(如 pystd2025, pystd2026),旧版本冻结仅修 Bug,新版本自由变更。 针对代码重复导致的编译效率问题,作者实测了包含新旧两个版本代码的构建耗时,并与标准 C++ 编译进行对比,验证该方案的性能开销。
PDF can do a lot of things. One them is embedding 3D models in the file and displaying them. The user can orient them freely in 3D space and even choose how they should be rendered (wireframe, solid, ...