Slap: Fun Cat Lang... with a Borrow Checker?

Slap's true power is what it cannot do.

@surprisetalk OMG this might be the language I've been looking for:

concatenative ✓
sum and product types ✓
memory safe ✓
tiny zero-dependency implementation ✓
graphics ✓

🏃‍♂️

cc @yumaikas

@surprisetalk Oh wait, it does have sum types, right? /Padme
@akkartik true sum types are coming soon! :) it'll probably look like `"blue" #color { 'color ("!" cat) } "" match "blue!" eq`. right now you're stuck with tuples like `('color "blue")` which is typed `(symbol, string)`
@surprisetalk Looking forward to it ♥️

@surprisetalk

> The stack is often slower than the heap.

Why is this?

Game of Life is a nice benchmark. FYI, if I run 800x600 cells the frame time grows to 1.5-2 seconds.

@akkartik Sometimes it's expensive to juggle a lot of large things on the stack. Maybe worth a followup blog post :)