func Render
Render renders the demo for gnoweb.
Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.
Package bitsetdemo is a small gnoweb demo of the dense bit vector provided by the [p/moul/x/daily/bitset](/p/moul/x/d...
⚠️ Experimental — generated with no human supervision by the daily MCP pipeline to exercise gno tooling. Not audited. See r/moul/x/daily.
Sieves the primes under 100 into a bit set and shows the set algebra on two small sets, rendered as a table.
Demo of the p/moul/x/daily/bitset
library — storage, popcount and every set operation come from the package; this
realm does no bit-twiddling of its own. Stateless and read-only, so Render is
fully deterministic.
The sieve is a nice fit: the bit set is used twice, once as the composite marker and once as the result, which is exactly what a dense bit vector is for.
Built for gno 0.9.
Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.
Dependency graph:

🧪 Highly experimental — potentially vibe-coded. Not audited; may break, change, or be removed at any time. Do not use with anything of value. Full disclaimer: DISCLAIMER.
Package bitsetdemo is a small gnoweb demo of the dense bit vector provided by the p/moul/x/daily/bitset(/p/moul/x/daily/bitset/v0) library: it sieves the primes under 100 into a bit set and shows the set algebra on two small sets.
It contains no bit-twiddling of its own — storage, popcount and the set operations all come from the library. Stateless, so Render is deterministic.