3 ms·
Something like the "Arc Challenge"? http://www.paulgraham.com/arcchallenge.html http://www.paulgraham.com/arcchallenge.html (HN discussion https://news.ycombin
by gus_massa 6y ago
Something like the "Arc Challenge"?
http://www.paulgraham.com/arcchallenge.html http://www.paulgraham.com/arcchallenge.html (HN discussion https://news.ycombinator.com/item?id=108433 https://news.ycombinator.com/item?id=108433 (51 points | Feb 2, 2008 | 34 comments) (That was a lot of points and comments at that time.)
This method was used for many years, but it was usual to get a nasty error when the closure was garbage collected after some time. Now in most places the mods replaced it with some additional parameters in the URL.
Somewhat related: Racket has "Stateless Servlets" https://docs.racket-lang.org/web-server/stateless.html https://docs.racket-lang.org/web-server/stateless.html that are somewhat similar.
- llimos 6y agoYes, that is along the lines I'm thinking, but for processes rather than web requests. I don't know enough about Arc to know if the server still has everything in memory between requests or not, and if it would survive a server restart, but certainly the Racket example is serializing the state so pretty much what I was thinking, yes. Thanks!