HN Theater @HNTheaterMonth

The best talks and videos of Hacker News.

Hacker News Comments on
"Knit, Chisel, Hack: Building Programs in Guile Scheme" by Andy Wingo

Strange Loop Conference · Youtube · 48 HN points · 1 HN comments
HN Theater has aggregated all Hacker News stories and comments that mention Strange Loop Conference's video ""Knit, Chisel, Hack: Building Programs in Guile Scheme" by Andy Wingo".
Youtube Summary
This talk makes the case that Guile is a delightful medium for making crafty programs, from the most ephemeral scripts to long-lived systems that you can rely on for years. Guile takes the elegant Scheme programming language, integrates it with the POSIX environments that you know and loathe and love, and wraps it all up in a responsive, hackable environment that nurtures programs from the small up to the large. Guile hacker will give you a gentle introduction to the language as they lead you through the process of building cool stuff in Scheme. With all this going for it, maybe you will choose to make your next program in Guile!
HN Theater Rankings

Hacker News Stories and Comments

All the comments and stories posted to Hacker News that reference this video.
May 07, 2021 · 1 points, 0 comments · submitted by tosh
I'm actually working through SICP for the second time right now[1]. This looks like a great place to go after I finish that. I've been meaning to roll my sleeves up and finally dig into the Common Lisp ecosystem, so far it's been mostly Clojure, emacs-lisp, and a bit of Guile[2]. The incredible depth and breadth of the language, and the fact that good documentation seems to be split across all of its various implementations, makes approaching it feel like swimming into the deep end without your water wings.

[1] The first time was my introduction to lisp, so only bits of it stuck.

[2] A criminally underrated language IMHO| "Knit, Chisel, Hack: Building Programs in Guile Scheme" by Andy Wingo - https://www.youtube.com/watch?v=uwiaT3MoDVs

May 18, 2019 · 47 points, 5 comments · submitted by tosh
bjoli
Guile 3 is happening soon as well, giving us almost 3x the speed. I am a very happy guile user. It is a very fun scheme to be working in, and delimited continuations (as mentioned in the video) blows call/cc so far out of the water that it isn't even funny :)
convolvatron
re: delimited continuations

i'm a big fan of 'normal' continuations, have looked at this work before, and just now tried to figure out what the win is from reading wiki.

to me it seems like an complicated and unnecessary layer above call/cc.

but I think I'm just not getting something important. could you post a good reference or describe why you find them to be a compelling abstraction?

bjoli
Full continuations capture things you do not want to capture, which easily leads to bugs. Delimited continuations can do everything call/cc can, only faster and easier to reason about. Call/cc captures the state of the whole program, which is not what you want. It is expensive, slow and error prone.

In my experience delimited continuations has about 4x less overhead (this is in guile which has really expensive call/cc though) and produces a lot faster code.

Oleg Kiselyov has written a lot about it: http://okmij.org/ftp/continuations/against-callcc.html

Matthew Flatt spoke about them at Microsoft research with comparisons to call/cc: https://www.microsoft.com/en-us/research/video/delimited-and...

The gist of both of them are: you never want undelimited continuations even when you think you need them.

Properly implemented delimited continuations will always be faster and more memory efficient than call/cc (except for maybe in chicken scheme) and are imho easier to work with. They also compose with the current continuation which makes them a lot more pleasant.

If you want a practical argument for delimited continuations, watch the video with Matthew Flatt.

convolvatron
thank you. oleg in particular is always very clear and comes from a pragmatic perspective that i appreciate.
bjoli
In the video with Matthew Flatt he talks about continuations by building a continuation based web server. That nicely illustrates the problem of full continuation capture.

It is pretty easy to understand why racket and guile went for delimited continuatiins.

HN Theater is an independent project and is not operated by Y Combinator or any of the video hosting platforms linked to on this site.
~ yaj@
;laksdfhjdhksalkfj more things
yahnd.com ~ Privacy Policy ~
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.