News for hackers. Stuff that matters.
Re:Schemy Lisp En DOS by pmcgoron on Monday September 07, 2026 @06:13PM (#49603550)
Aw, no call-with-current-continuation?
Re:Schemy Lisp En DOS by Jblx2 on Monday September 07, 2026 @06:59PM (#49603920)
How much does that really get used?
Re:Schemy Lisp En DOS by pmcgoron on Monday September 07, 2026 @08:53PM (#49604491)
As an escape continuation, more than you'd expect. (Exception handlers, early return.) Full continuations are rarer, but I use them for doing error recovery.
Re:Schemy Lisp En DOS by aag on Thursday September 10, 2026 @06:21PM (#49650924)
I use them for debugging errors in web handlers.

https://speechcode.local/blog/repl-as-service

Re:Schemy Lisp En DOS by aag on Friday September 11, 2026 @04:39PM (#49665024)
Arg. That's embarrassing. The correct link is:

https://speechcode.com/blog/repl-as-service

Re:Schemy Lisp En DOS by jrapdx3 on Thursday September 10, 2026 @06:21PM (#49650929)
I've programmed in Scheme on and off over the last decade or so. callcc comes in handy for "return" or "break" functionality. More sophisticated uses, like threading or coroutines, have been around for a long time. Obviously those operations are harder to implement but they do exist and are widely used.
Re:Schemy Lisp En DOS by matheusmoreira on Thursday September 10, 2026 @07:27PM (#49651523)
Delimited continuations are quite useful. They are essentially resumable exceptions. Lots of things can be implemented elegantly in terms of them.

It's Scheme's default undelimited continations that are bad to the point of uselessness.

Re:Schemy Lisp En DOS by nxobject on Friday September 11, 2026 @09:57AM (#49658533)
Coroutines, especially when the runtime is embedded in other applications. I've built one with Erlang-style message-passing.