Redis Array Playground

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Redis may gain a native array type with server-side regex search, and developers can experiment with the proposed commands in-browser today before anything ships.

Read this as

Salvatore Sanfilippo, Redis's creator, proposed adding arrays, an ordered list of values, as a new built-in data type in Redis, a popular open-source database. The proposal includes 18 commands for counting, inserting, seeking and searching arrays. Willison built a free website where anyone can try these commands against a browser-compiled Redis build. The project is not yet merged into Redis.

Redis creator Salvatore Sanfilippo has a pull request adding an array data type to Redis, including the notable ARGREP command that runs regex searches server-side using the vendored TRE library. Simon Willison deployed a free browser playground built with Claude Code for web. The code lives on a branch, so no production impact yet; the opportunity is early evaluation of commands that could change how teams query lists in Redis.

PR 15162 by Salvatore Sanfilippo proposes 18 AR* commands (ARCOUNT, ARGET, ARMSET, ARSCAN, ARSEEK, and so on) for a new Redis array data type, currently on a branch. The standout is ARGREP, which greps a value range server-side via the newly vendored TRE regex library. Willison built tools.simonwillison.net/redis-array using Claude Code for web, running a WASM-compiled Redis subset in the browser. No merge date is given.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Redis Salvatore Sanfilippo Simon Willison ARGREP TRE regex library Claude Code for web

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading