From Schneier on Security
Artificial intelligence (AI) has been billed as the next frontier of humanity: the newly available expanse whose exploration
…
B. Schneier| February 29, 2024
Suppose that you want to check whether a character in C++ belongs to a fixed set, such as ‘\0’, ‘\x09’, ‘\x0a’,’\x0d’, ‘ ‘, ‘#’, ‘/’, ‘:’, ‘<‘, ‘>’, ‘?’, ‘@’, ‘...Daniel Lemire From Daniel Lemire's Blog | November 7, 2023 at 03:54 PM
In C++, suppose that you append to a string one character at a time: while(my_string.size() <= 10'000'000) { my_string += "a"; } In theory, it might be possible...Daniel Lemire From Daniel Lemire's Blog | October 23, 2023 at 09:33 AM
The C++ library has long been organized around stream classes, at least when it comes to reading and parsing strings. But streams can be surprisingly slow. ForContinue...Daniel Lemire From Daniel Lemire's Blog | October 18, 2023 at 09:55 PM
In about 10 years, Apple has multiplied by 19 the number of transistors in its mobile processors. It corresponds roughly to a steady rate of improvement of 34%Continue...Daniel Lemire From Daniel Lemire's Blog | October 18, 2023 at 09:51 AM
Computer software is typically deterministic on paper: if you run twice the same program with the same inputs, you should get the same outputs. In practice, the...Daniel Lemire From Daniel Lemire's Blog | October 16, 2023 at 08:15 PM