Swiss Tables Design Notes Abseil provides its own family of hash tables (colloquially known as “Swiss tables”) in place of std::unordered_set and std::unordered_map. These classes are: absl::flat_hash_map absl::flat_hash_set absl::node_hash_map absl::node_hash_set This design note explains how these tables were implemented, the performance improvements our tables provide in certain cases, and why
I think a thing that’d be nice is to have a databank of rewrite rules. Here’s some of the ones I know about. IF YOU HAVE ANY INTERESTING OR NOT SO INTERESTING RULES PLEASE DROP ME A LINE. You can email me at philzuckerblog@gmail.com or dm me on the various social medias. I feel in particular I’m missing application oriented stuff. The easier thing to find is mathematical or theorem proving focusse
I have recently adopted a new methodology of software development: Everything goes in a single C file. New code is appended to the end of the file. Existing code cannot be edited. I call it append-only programming. Append-only programming has many benefits. It forces you to define your interfaces before your implementations. It encourages you to write small functions. And it produces source code t
calculator-app - Chad Nauseam Home
Nice story. An even more powerful way to express numbers is as a continued fraction (https://en.wikipedia.org/wiki/Continued_fraction). You can express both real and rational numbers efficiently using a continued fraction representation.As a fun fact, I have a not-that-old math textbook (from a famous number theorist) that says that it is most likely that algorithms for adding/multiplying continue
GIMP 3.0 is almost out, and I'm thrilled. Not only will this version bring new features and improvements, but it finally modernizes the technology stack in two important ways: It will use GTK 3 It will use Python 3 This will make it easier and more sustainable to develop plugins for GIMP. The old Python 2 plugins will not work anymore, but the new Python 3 plugins will be more future-proof. I have
Here’s a straightforward benchmark. Time how long it takes to run ls (a*)nb in a directory with a single file named a100, compared to running ls | grep (a.*)nb. Superscripts denote string repetition and parentheses are for grouping only, so that when n is 3, we’re running ls a*a*a*b in a directory containing the single file aaa...aaa (100 a’s), compared against ls | grep a.*a.*a.*b in the same dir
The truth table of XOR, shown in two different ways But just saying what it is doesn’t give a good intuition for what things it’s useful for, or when to use it. So in the next few sections I’ll present a few different ways of thinking about what XOR does. For such a simple operation, it’s possible to describe what it does in a lot of quite different-looking ways. But all of them are true at once!
オライリーメディアの創立者ティム・オライリー氏が、同社のブログに「The End of Programming as We Know It」(私たちが知っているプログラミングの終焉)という記事を公開しました。 その冒頭には次のように書いてあります。 There’s a lot of chatter in the media that software developers will soon lose their jobs to AI. I don’t buy it. メディアでは、ソフトウェア開発者は近いうちにAIのせいで職を失うだろうという話が盛んに流れている。しかし私はそうは思いません。 生成AIの進化は、人間がタスクを与える都自律的にプログラミングを行ったりテストを実行したりするほどの領域に達しつつあり、それを実現するサービスとして「Devin」や「GitHub Copilot A
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く