v0.1.0 · public beta, no cap
we just sent it. compiles anyway, no cap.
native machine code via LLVM. arena memory. game-dev first. unserious keywords, serious compiler.
hello.bet
// the classic
pull "spill"
finna main() {
lowkey who = "world"
spill.f("hello, {} fr", who)
}the flex
it runs DOOM.
compiled straight to native. 35 fps of uncut '93 nostalgia. no wrapper, no emulator. deadass.
watch it run →the pitch, fr
{ }
arena memory
allocate in bulk, free never. the borrow checker can stay mad.
>_
LLVM backend
same optimizer as the grown-up languages. genuinely fast, no notes.
▶
built for games
SIMD, zero-cost vibes. ship the game, not the GC.
reads like your group chat
familiar shape, unserious keywords. it still does the serious thing.
arena.bet
pull "spill"
drip Enemy { flex hp: int }
crib enemies: Enemy[1000] // typed arena — no free() in sight
finna main() {
lowkey e = cop Enemy{ hp: 30 } in enemies
holla r = e in enemies {
spill.f("hp: {}\n", r.hp)
} ghosted {
spill.it("gone")
}
evict enemies // O(1) mass-free
}get it in one line
the line got longer. it's real now though: the repo is public, you build it from source, and that's the whole install.
$ git clone https://github.com/lukeyd/bet.git && cd bet && cargo build --workspacepackage managers · still cooking
npmbrewaptscoopwinget