Want long corridors instead of a bushy maze? In hop-'s Maze Generator for Bend 2, raise --hardness with the growing_tree algorithm. Set --seed to generate the same maze again, even if you change the thread count.
https://t.co/qwnH962pbJ
What survives a database crash? In Holy Trinity Testing, @eris_margeta models write-ahead log recovery in Bend 2. Tests replay the crash against the real implementation and compare what it restores with the model’s prediction.
https://t.co/XBpJCQAo0Y
https://t.co/hMSlxH2Xns
Need to retry a write without storing it twice? Stiff, a Bend 2 framework by @LimYiShengBrian, supports idempotent writes to SQLite. Its HTTP servers compile to native executables and can stream updates without Node at runtime.
https://t.co/UL7Zaw8u78
https://t.co/NqK8pCzExh
To celebrate @VictorTaelin's Bend 2 Release
I'm introducing Stiff!!
It's a native networking and application framework for Bend 2.
HTTP clients and servers, routing, validation, streaming/SSE, observability and SQLite persistence—with idempotent writes and recovery.
Build your backend in Bend. Available on BendHub!
https://t.co/MIce2pCkNi
Solving Advent of Code in Bend 2? José Pedro Dias's Day 1 solution catches a small trap: a trailing newline would count as an extra ID of 0. Run the sample with bend d01/run.bend, then check the proofs with bend d01/PROOF.bend.
https://t.co/MbWaHNeZSB
Playing Factory Idle on macOS? In @s_dot_ul's optimizer, Bend 2 searches layouts in parallel, Python simulates them, and a Chrome extension can build the layout you pick in the game.
https://t.co/CZ8jKH8hvD
https://t.co/RE4XLDYmn8
How many tips does a fractal tree have? In Canopy, @SandipanKundu42 grows the branches in parallel with Bend 2. The compiler checks that a tree of depth n has exactly 2^n tips. At depth 10, that means 1,024.
https://t.co/tNhwkrA45J
https://t.co/p4NZQYj1Cs
Built Canopy, a fractal tree explorer in Bend 2 programming language.
Branches grow through parallel recursion on native CPU cores and a compiler-checked proof guarantees exactly 2ⁿ tips at depth n.
It's a generative art, backed by a mathematical guarantee.
QwenBend writes BendLite, a subset of Bend 2, then type-checks and runs the program inside the same model. In @rifeash’s demo, it sums 22 copies of 35 and returns 770 without calling an external interpreter.
https://t.co/mpNgQc4XwB
https://t.co/BTAJbMvaoW
Meet QwenBend 🎉
Qwen writes a Bend program, then the same model type checks it with Bend2 rules and runs it inside its own forward pass
no interpreter, compiler or tool call just like qwenputer. The whole CPU is 53M non zero hand-set weights inside the model
Meet QwenBend 🎉
Qwen writes a Bend program, then the same model type checks it with Bend2 rules and runs it inside its own forward pass
no interpreter, compiler or tool call just like qwenputer. The whole CPU is 53M non zero hand-set weights inside the model
Editing Bend 2 in Emacs? @realdavidawad built bend-mode.el so you can format a buffer with Eglot and see the first Bend checker error in your editor with Flymake.
https://t.co/G0M0T7icIX
https://t.co/5Qpu9QuGFB
In the spirit of bend2's launch I'm giving the language a shot.
so I made an emacs major mode for bend.
https://t.co/ry1jCCOWLR
inspired by what @GiulioRebuffo is doing with his projects here. onwards!
You can play DOOM’s first level in Bend 2. In Bendoom, @eliesgalvira used dependent types to prove that no sequence of inputs can move the player inside a solid wall.
Try it with Nix: nix run github:eliesgalvira/bendoom
https://t.co/YQu1VwGOU8
https://t.co/sf8ImftuDw
DOOM now runs in Bend 2!
Copy the command to run it in your terminal from the README on GitHub:
https://t.co/2PpPD45xE5
Or run it directly with nix:
nix run github:eliesgalvira/bendoom
Available for Linux x86-64, Linux ARM64 and Apple Silicon macOS. Linux requires X11 or Xwayland.
Controls:
- WASD to move
- Left and right arrows to turn
- SHIFT to run
- CTRL to shoot
- SPACE to use doors, lifts, switches and to restart after dying
You play Hangar, the first level of the original shareware Doom, start to finish on Hurt Me Plenty. No menus, saves or other levels yet.
Some interesting tidbits:
- Maps, textures and palettes load at startup from a WAD file, Doom's asset format. WAD stands for "Where's All the Data?"
- The rendering targets a pixel-perfect match with Chocolate Doom
- The renderer is a pure function that updates its pixel buffer in place, thanks to affine types
- Bend 2’s dependent types let us prove that no sequence of inputs can move the player into a position that overlaps a solid wall.