Tomislav Grospić (@grospic) header
Tomislav Grospić (@grospic) profile picture

λ Π π ρ junkie :)

Zagreb
Joined May 2011
Photo by Tomislav Grospić (@grospic)Photo by Tomislav Grospić (@grospic)Photo by Tomislav Grospić (@grospic)Photo by Tomislav Grospić (@grospic)Photo by Tomislav Grospić (@grospic)Photo by Tomislav Grospić (@grospic)Photo by Tomislav Grospić (@grospic)Photo by Tomislav Grospić (@grospic)Photo by Tomislav Grospić (@grospic)Photo by Tomislav Grospić (@grospic)
Another ALUX spec, this time for a CLI. The example adds, lists, and searches notes. The interesting bit is that you can write half the command declarations in Rust and half in Markdown. github.com/alux-network/alux…
1
18
Intelligence is not inside. It grows through communication. A claim passes from a person to a model to a tool and back. Can we still tell what it meant, what supported it, and what would change our minds? gist.github.com/tgrospic/ee0…
1
72
Do you know what your program means? The code arrives in seconds. The meaning is the frontier. gist.github.com/tgrospic/ddc…
1
71
Most programmers hit the Expression Problem long before they know its name. It’s one of the basic tests of whether a design can actually evolve. Can you grow both the data and the operations without turning every change into surgery?
1
1
123
This tiny example is enough to expose it. Adding one new case may be easy. Adding one new operation may be easy. Doing both, repeatedly, while old code stays untouched? That’s where architecture starts showing its teeth. alux-network.github.io/alux-…
1
90
Once you see the matrix, there’s a more interesting question: Why did we make representation the center of it in the first place? :) That’s the jump from the Expression Problem to: Expression Problem Reloaded alux-network.github.io/alux-…
1
31
Milner made polymorphism practical. Reynolds showed why it matters: a generic definition can't make arbitrary assumptions about its type parameter. Generics let one algorithm work across types without changing what it means. gist.github.com/tgrospic/23a…
2
75
Best Rust web framework? Why choose one? Choose all. One spec. Multiple implementations. Switch the provider, not the API's meaning. Make independence executable. github.com/alux-network/alux…
1
2
103
`/pause` takes 1 second. Can the next server start before it finishes? Yes: release the listener in ~100µs, open the next provider, and keep accepted requests running. That is the difference between a live service and downtime. github.com/alux-network/alux…
63
What is the best Rust Web Framework? axum? Actix Web? Rocket? warp? Poem? Salvo? Before choosing, ask one more question: How much of your application should have to know the answer?
2
4
141
Not a migration plan. Change the server 250k times per second :smile:. ALUX serves one HTTP specification through six frameworks plus hyper, in one process. The dynamic server can switch providers on the same address. github.com/alux-network/alux…
1
1
38
What about uploads? Streaming? Cookies? Errors? The specification names those too: where arguments come from, what a response contains, and how failures become responses. Concrete parsers and stream types belong to the implementations.
1
26
Remove the RPC framework. What remains of your API definition? These images show a declaration tied to a server library beside a specification that different implementations can interpret. The server implements the API. It does not own it. docs.rs/alux-jsonrpc
1
3
151
McBride and Paterson's traverse solves a Rust problem that ? alone cannot: run a fallible operation inside Option, while keeping failure outside. Option<A> + (A -> Result<B,E>) -> Result<Option<B>,E> ALUX brings that composition to Rust. docs.rs/alux-traversable
3
125
I made Abramsky's interaction-first semantics executable in Agda: strategy : A -i> B ↓ observe function : A → B The function is recovered from interaction, not interaction added to a function. github.com/tgrospic/interact…
2
1
4
422
Refactored the interaction-arrows Agda: equality is now a parameter of the observer. σ ≈[ obs ] τ Observer = pure + bind + laws. left-id, right-id and assoc are proved once for an arbitrary observer, so adding an observation costs one record and no new proofs.
1
1
117
@leithaus this is the shape behind my question. Your context bisimulation is derived uniformly from the presentation, so the observation is fixed by the machinery. Is it a parameter anywhere, or does each language get the one equivalence and then calibrate?
3
1
104