News for hackers. Stuff that matters.
Re:Alan Kay on Lisp by davexunit on Friday October 27, 2017 @04:13PM (#15571832)
There are also plenty of Lisp programmers that think that it's a real tool to solve real problems, not just an educational oddity. There are a bunch of Lisps out there, and plenty of them are by no means toys. My laptop's initial RAM disk and init system are Scheme programs.
Re:Alan Kay on Lisp by krapp on Friday October 27, 2017 @04:18PM (#15571878)
And it's not a Lisp per se, but WebAssembly's text format uses s-expressions[0]. It's likely that the "oddity" of Lisps will seem less odd as adoption increases if they stick with that.

[0]https://developer.mozilla.org/en-US/docs/WebAssembly/Underst...

Re:Alan Kay on Lisp by dang on Friday October 27, 2017 @07:09PM (#15572982)
I had no idea they did that! Thanks!

I was just thinking this morning about making Arc work in web assembly sometime.

Re:Alan Kay on Lisp by tomjakubowski on Friday October 27, 2017 @04:35PM (#15572014)
gcc’s IR, “GIMPLE”, is also commonly printed in s-expression form.
Re:Alan Kay on Lisp by Mikeb85 on Friday October 27, 2017 @06:14PM (#15572631)
As is LLVM's. I think JVM's might be too, but not 100% sure.

Haskell is also pretty much just a lisp with a whole lot of sugar added on.

Re:Alan Kay on Lisp by eropple on Friday October 27, 2017 @06:41PM (#15572809)
How is Haskell a Lisp?

To me, a Lisp pretty necessarily needs to treat the structure of its code as mutable data, which seems kind of incompatible?

Re:Alan Kay on Lisp by mattgreenrocks on Friday October 27, 2017 @07:57PM (#15573208)
The evaluation model of both is quite similar though (reduction), and you can see it in the similarities between Core Haskell and Core Scheme.

AFAIK, there are very few truly built in types in Haskell. Most everything can be built out of data constructors and functions. That idea of many things being in language user space is pretty Lisp-y IMO.

Re:Alan Kay on Lisp by lispm on Saturday October 28, 2017 @02:56AM (#15574261)
The evaluation model is different. Lisp is using strict evaluation and Haskell is using lazy evaluation.

Haskell is statically typed, Lisp is not.

Lisp uses s-expressions for writing programs, Haskell does not.

Generally Haskell and Lisp are very different languages: in syntax, semantics and pragmatics (how the language is used).

Re:Alan Kay on Lisp by kazinator on Friday October 27, 2017 @08:18PM (#15573297)
No, it actually doesn't; that is a common misconception.

Lisp images can modify themselves at run-time by replacing global function bindings with new functions, not by mutating code.

Lisp macros must not in fact mutate the incoming source code which they transform.

Re:Alan Kay on Lisp by Mikeb85 on Friday October 27, 2017 @11:59PM (#15573922)
> How is Haskell a Lisp?

The same way Lisp is a functional language. It has to do with how both languages are built from only a few basic primitives, and how both are based on Lambda calculus.

Re:Alan Kay on Lisp by eropple on Saturday October 28, 2017 @01:07PM (#15575816)
An ML is also not a Lisp, though.
Re:Alan Kay on Lisp by dllthomas on Friday October 27, 2017 @06:45PM (#15572828)
> How is Haskell a Lisp?

... both communities care a lot about rose trees?

Re:Alan Kay on Lisp by dllthomas on Saturday October 28, 2017 @12:56AM (#15574041)
If you squint right, both monads and lisp S-expressions are rose trees.
Re:Alan Kay on Lisp by pmoriarty on Friday October 27, 2017 @05:17PM (#15572303)
Not to mention that one can get static typing in Lisps, if one wanted. See Typed Racket, for instance:

https://download.racket-lang.org/docs/5.0/pdf/ts-guide.pdf

Re:Alan Kay on Lisp by criddell on Friday October 27, 2017 @04:33PM (#15571995)
I just listened to an interview with Philippe Kahn and he mentioned that the language he uses today is Scheme.
Re:Alan Kay on Lisp by muxator on Friday October 27, 2017 @04:42PM (#15572075)
what are you using? I want to try it.
Re:Alan Kay on Lisp by zdkl on Saturday October 28, 2017 @03:19AM (#15574309)
Not GP but could be Guile https://www.gnu.org/software/guile/
Re:Alan Kay on Lisp by davexunit on Tuesday October 31, 2017 @09:12PM (#15598207)