Live data from Hacker News

Robpike/Lisp: Toy Lisp 1.5 interpreter in Go

github.com

71–73 of 73 posts

Re: Robpike/Lisp: Toy Lisp 1.5 interpreter in Go

#71
post #45
post #41

Earlier quoted context omitted.

I spoke to Rob shortly after he wrote this code (a few weeks ago). He said he had been wanting to do some coding over the weekend and pulled his copy of the LISP 1.5 Programmer's Manual - which he bought long ago, in grad school I think he said - off his shelf, and this code was the result. He also talked about how reading that book back when he bought it was incredibly eye-opening at the time and had such a signific…

It's not worth responding to people like that, but it's funny now to point out that Wadler says in the Featherweight Go video that Go's type system has something that Haskell's type system may like to borrow, i.e. that interface types are open: https://www.youtube.com/watch?v=Dq0WFigax_c It's somewhere in the first 10-20 minutes (if someone wants to give a timestamp link) (Also, my experience is that such comments us…

I'm not sure what Philip meant there, but I don't see this as a particularly notable weakness of Haskell's type class system. We can already encode an open world through the standard "HasX"-style classes. There's a good reason that we don't use them much, though: type classes are typically not just interfaces but come with laws expressing how they should behave. It's not clear to me how those laws interact with an open world.

Re: Robpike/Lisp: Toy Lisp 1.5 interpreter in Go

#73
post #65

Earlier quoted context omitted.

Yes, he might be a famous programmer like kazinator instead of the co-author of The Practice of Programming and one of the fathers of Go.

He also co-invented an obscure encoding called "utf-8" that nobody uses.

Only half as good as UTF-16.
Post reply on HN