Billion-query-per-second lookup tables in C++
C++ lookup tables can process up to a billion queries per second. Their performance depends on careful design and optimization. (lemire.me)
Nook is a terminal-based Markdown note editor written in Go using Bubble Tea. Its defining feature is the “Focus Line”: the line being edited stays fixed in the middle of the screen and appears as raw Markdown, while surrounding lines scroll and display rendered formatting. Headings, emphasis, links, quotes, lists, checkboxes, and code blocks receive styled presentation; Markdown markers are hidden outside the focused line. The design keeps the cursor in one place while the document moves, aiming to make editing easier to follow without hiding the source text where changes are made.
Notes are ordinary .md files stored in ~/.nook, with folders represented as real directories; the location can be changed with NOOK_DIR. The note browser supports nested folders, title filtering, creation, renaming, and soft deletion to a restorable trash folder. The editor includes keyboard and mouse navigation, text selection, word and page movement, save and unsaved-change prompts, and a formatting palette for actions such as bold, links, quotes, lists, checkboxes, and headings. A help panel provides key maps, and an optional diagnostic mode records terminal key messages. The project requires Go 1.26 or later and can be built with Go or its Makefile. Existing notes from an earlier SQLite-based version are imported into files on first launch.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.
C++ lookup tables can process up to a billion queries per second. Their performance depends on careful design and optimization. (lemire.me)
Emacs debuted at MIT in 1976, bringing programmers a full-screen text editor that remains widely used today. Its roots in TECO and a culture of sharing helped shape the free software movement and GNU/Linux. (technologyreview.com)
C++ lookup tables can be optimized for extremely high query throughput, with the title claiming a billion queries per second. The topic is techniques for building fast lookup tables. (lemire.me)
Moxnox 1.0 is an NT-like, POSIX-compatible operating system that runs atop Btrfs. Its source code is available on GitHub. (github.com)
china-policy-data provides a free daily JSON feed of Shanghai government grant and subsidy notices. The feed is designed for researchers and AI agents. (github.com)
Slughorn is a C++20 library for rendering vector graphics on the GPU, with a canvas API for creating shapes, gradients, and composites. It imports SVG and other graphics formats and supports OpenGL, Vulkan, WebGPU, DirectX, and Python bindings. (slughorn.io)
Today's best Hacker News stories, summarized and screenshotted, one email a day.