News for hackers. Stuff that matters.
Re:Alan Kay on Messaging (1998) by recursivecaveat on Sunday September 29, 2024 @11:21AM (#41687985)
I always thought that the Alan Kay model is fundamentally misguided, in that it is explicitly inspired by cell biology and distributed computer systems, ie extremely hard problems. Basically all the hardest things to model, predict design, and debug are these kind of bottom up systems where all interesting behavior comes from the emergent runtime interaction of tons of tiny components. This works okay for cells because there is no programmer floating above the system trying to understand it and make specific changes, but until we start programming by natural selection I wouldn't describe it as a good paradigm for organizing behavior.

I much prefer my programs to have a sort of top down structure, more like a military instead of an economy. Obviously late-binding and dynamic behavior is many times necessary, but I would not lean in to it, in the same way I would not say, make all my variables global just because sometimes you need it.

Re:Alan Kay on Messaging (1998) by cxr on Sunday September 29, 2024 @12:15PM (#41688363)
[delayed]
Re:Alan Kay on Messaging (1998) by threatofrain on Sunday September 29, 2024 @12:35PM (#41688496)
> Science isn't that. Science is what humanity has to resort to when a thing is not knowable by other means—the preferred from for modification is not at hand.

Science is description and explanation on top of empiricism. It is the first means by which people understand things, not the last, as formal methods came way late.

This drive to properly name things also gets into the somewhat similar debate of whether math is discovered or invented. And somewhere someone is trying to determine whether it's appropriate to call math as science, art, or engineering.

Re:Alan Kay on Messaging (1998) by saghm on Sunday September 29, 2024 @07:05PM (#41691667)
> Science is description and explanation on top of empiricism. It is the first means by which people understand things, not the last, as formal methods came way late.

I don't think that's at odds with what the parent comment said; the reason we use empiricism and description for analyzing reality is because we didn't create it and we don't know the rules beforehand. When designing a software system, you _choose_ the rules of which things interact and which things don't, and how those interactions occur; there's no need for empiricism in order to discover these interactions. We don't necessarily need to use science to understand our software systems because we rule over them by fiat and can choose to design them in ways that make it easier for us to understand them.

Re:Alan Kay on Messaging (1998) by azinman2 on Monday September 30, 2024 @02:34AM (#41694167)
Science is a method designed to get closer to truth. That’s all.
Re:Alan Kay on Messaging (1998) by threatofrain on Monday September 30, 2024 @09:23PM (#41703801)
Science is distinguished from religion, pure metaphysics, and other approaches to truth through a focus on empiricism and a formalization of explanatory methods.
Re:Alan Kay on Messaging (1998) by teleforce on Monday September 30, 2024 @04:08AM (#41694701)
Anything that calls itself a Science, probably isn’t…

[1] https://duncan.hull.name/2011/07/01/but-is-it-science/

Re:Alan Kay on Messaging (1998) by pakl on Sunday September 29, 2024 @12:11PM (#41688332)
IMHO (from the viewpoint of a neuroscientist) the biological inspiration is quite measured and restrained in his work…

The problem he was proposing we solve is computing with heterogenous “machines”. This doesn’t preclude the regimented organization you are favoring, above.

Please see my other comment on call-by-meaning.

Re:Alan Kay on Messaging (1998) by bmitc on Sunday September 29, 2024 @12:08PM (#41688320)
But many times, such top-down structure cannot work, especially if your program interacts with external systems, such as hardware. In such systems, you need a model in your program that is very similar to biological systems. For example, a module that interacts with hardware needs to be self-sufficient and asynchronous, interacting with the rest of the system through messaging. Even if there is a top-down structure at the higher-level, such structure cannot fully dictate how the hardware behaves or performs. For example, someone outside of your program could go off and change settings on the front panel.
Re:Alan Kay on Messaging (1998) by panarchy on Sunday September 29, 2024 @12:42PM (#41688546)
"until we start programming by natural selection"

We already have reinforcement and other types of machine learning?

Re:Alan Kay on Messaging (1998) by linguae on Sunday September 29, 2024 @07:15PM (#41691730)
Even closer to the OP, there was a branch of AI in the 1990s known as genetic programming that literally applied the concept of natural selection to solving certain types of problems:

https://mitpress.mit.edu/9780262527910/genetic-programming/

Re:Alan Kay on Messaging (1998) by armitron on Sunday September 29, 2024 @12:54PM (#41688608)
Top down architecture doesn’t scale and puts a hard limit on the problems one can tackle before complexity explodes. The Internet, the largest distributed system we have, is based on bottom-up cell-like biologically inspired models. Kay was prescient and decades ahead of his time.
Re:Alan Kay on Messaging (1998) by alexashka on Sunday September 29, 2024 @12:59PM (#41688651)
What is your argument, besides personal taste?

Something being hard is not an argument for or against anything.

Alan Kay is misguided because he prefers a hard thing and you prefer a simpler thing?

Re:Alan Kay on Messaging (1998) by lmm on Monday September 30, 2024 @12:57AM (#41693685)
> Something being hard is not an argument for or against anything.

A paradigm being hard to get things done in is definitely an argument against the value of that paradigm.

Re:Alan Kay on Messaging (1998) by alexashka on Monday September 30, 2024 @05:28AM (#41695197)
Right, because Alan Kay is suggesting we do the hard thing when we can instead do the easy thing and achieve a similar outcome.

That Alan Kay guy sure is a bit of a dummy huh.

Re:Alan Kay on Messaging (1998) by lmm on Monday September 30, 2024 @08:22PM (#41703484)
This but unironically.
Re:Alan Kay on Messaging (1998) by why-el on Sunday September 29, 2024 @03:51PM (#41689903)
To be inspired by something really has no bearing on how the _inspired_ thing is built. I think you place much emphasis on that but really it does not bring much to the argument. One can say that a plane was inspired by a bird (and it is, since we wouldn't to build one if we didn't see birds flying), but a plane is not designed like a bird.

I also somewhat contest that "interesting behavior comes from the emergent runtime interaction of tons of tiny components". There can be very tight, hierarchical structures to programs designed in the way Alan Kay talks about. He is promoting clear, manageable interactions, not emergent unpredictability, which is something I am sure you came across (we all did), but I would not go so far as describe the whole model of Kay as "fundamentally misguided". He talks of "clear fences", which can be understood to refer to things like "actor-based" models, with controlled, clear messages, as done in languages such as Erlang.

Re:Alan Kay on Messaging (1998) by atomicnature on Sunday September 29, 2024 @05:22PM (#41690744)
What do you think of the Internet? Has it worked? Has it scaled? Is it reliable?

Remember that Alan Kay, his team and his colleagues had a lot to do with this thing you are using to rant here :)

Re:Alan Kay on Messaging (1998) by lmm on Monday September 30, 2024 @12:56AM (#41693678)
> What do you think of the Internet? Has it worked? Has it scaled? Is it reliable?

The internet has certainly grown and does certain things reliably, but it's also extremely difficult to control or change. For most business purposes, producing something like the internet would be a failure.

> Remember that Alan Kay, his team and his colleagues had a lot to do with this thing you are using to rant here :)

Given how difficult his ideas apparently are to convey and how little the programming paradigms that actually get used to make things embody them, I find that pretty dubious. E.g. didn't he explicitly disavow C++?

Re:Alan Kay on Messaging (1998) by atomicnature on Monday September 30, 2024 @01:55AM (#41693980)
Why'd anyone judge Alan Kay on making any particular biz succeed? He's been a big contributor to the "ideas ecosystem" as a researcher's researcher.

It's like asking Bezos to care about the Internet as a technical concept ("Internet? Schminternet? I don't care as long as it delivers the best customer experience!").

Kay was and still is a dedicated researcher - and he has had great influence on people like Jobs/Bezos as well - behind the scenes. There are very few parts of modern technology untouched by his ideas. He's a Turing Award winner for a reason, you know.

Re C++ - Kay's job as a researcher is not to defend whatever sh*t humans have figured out & are content with but to paint a picture of the future, build teams around it and demonstrate prototypes. He has done that exceedingly well I'd say.

Re:Alan Kay on Messaging (1998) by lmm on Monday September 30, 2024 @08:25PM (#41703501)
Well, put it this way: in a world where Kay was a charlatan (not in the sense of deliberately lying, but in the sense of having just flash and no substance) who was in the right place at the right time, what would be different? How can I tell?
Re:Alan Kay on Messaging (1998) by atomicnature on Tuesday October 01, 2024 @01:34AM (#41704873)
Newton spent 1/3rd of life pursuing Alchemy, another 1/3rd pursuing biblical prophecies. Paul Graham once said that Newton wasted so much of his life (basically PG thinks he knows what's worthy work and what is not - I mean exploring the factuality of "God" must obviously be nonsense - right?). Maybe you'd call Newton a Charlatan too - because hey - what biz did he make successful.

I don't think either PG or most people on this forum are fit enough to judge what Kay is saying is of value or not. And I say this with utmost humility. These are scholarly researchers, who operate at the edge of human knowledge/insight. Who am I to judge Newton or someone of that calibre - question why he's interested in Alchemy? Or Kay says particular things which seem far-fetched to you or me.

Continuing with the Newton analogy - I think one aspect with CS/Software is that it is a new field - you should not apply the definition of a "Charlatan" you'd use in a more established field such as Physics. Kay's agenda is to advance a nascent field. Just like Newton was dabbling with Alchemy before the establishment of the modern field of Chemistry.

Re:Alan Kay on Messaging (1998) by lmm on Tuesday October 01, 2024 @04:01AM (#41705770)
The vast majority of people who worked on alchemy and biblical prophecies were either charlatans, or, at best, people who diligently researched the wrong thing. Their names are rightly mostly lost to history.

Newton earned the respect we give him with his theories of gravity and calculus. He made concrete explanations that other people were able to understand and build on - even his enemies, who were many, could not deny the correctness of his results. And the whole edifice of science, engineering, and industry is built on that work - even today, Newton's laws of motion are something people have to learn and understand, and a lot of people do understand, and teachers distinguish between people who understood them and people who did not, and test whether people's understanding of them is correct or not. People judge Newton's work all the time, and they are right to do so.

Did he spend a lot of his life on bullshit? Yes, probably. So does PG, so do any number of Nobel Prize winners. But we don't remember his name because of his work on alchemy and biblical prophecies. There's a huge difference between someone who did some productive work and some bullshit, and someone who only or mostly did the bullshit. And if you take the position that you aren't fit to judge who's a genius and who's a charlatan and you're not even going to try, you're going to get taken for a ride.

Re:Alan Kay on Messaging (1998) by atomicnature on Tuesday October 01, 2024 @04:19AM (#41705868)
So you are saying Alan kay is 100% bullshit? Or 50-50 sense/bullshit? 25-75? What is the percentage that makes someone a crank or not? Because newton has a 30/70 score by this metric.

In my book Kay makes lots of sense most of the times, if you put in the effort. Maybe you see it totally differntly.

Another thing - with Newton for ex - I think the way he studied these other subjects - was still very honest, very sincere, and he made great efforts to get things right. So I'd say Newton has maintained methodological integrity throughout regardless of results (quality of efforts > quality of results). My view with Kay would be the same - I think he has high levels of integrity. I can cite why I think so, but then this thread is taking too long already.

Re:Alan Kay on Messaging (1998) by lmm on Tuesday October 01, 2024 @07:29AM (#41707007)
> So you are saying Alan kay is 100% bullshit? Or 50-50 sense/bullshit? 25-75? What is the percentage that makes someone a crank or not? Because newton has a 30/70 score by this metric.

I don't think it's a percentage, I think we evaluate people on the non-bullshit they've done rather than the bullshit. And as far as I can see Kay hasn't done much that's valuable - I mean, I think there's merit in Smalltalk, but the parts of its design that I think are good are disjoint from the parts that Kay talks about. To the extent that the things he's said convey meaning they tend to be wrong - object orientation has failed in multiple incarnations, late binding has failed, live systems have failed, etc..

> In my book Kay makes lots of sense most of the times, if you put in the effort. Maybe you see it totally differntly.

I do. Some of the gnomic statements he's made have been retrospectively interpreted to mean things that make sense and are useful (e.g. "oh, obviously he meant actors"). But as far as I can see no-one ever managed to interpret them in a way that made sense and contributed to building something useful ahead of time - it's more of a Nostradamus situation than him having actual insight.

I mean, I assume he hasn't achieved literally nothing his whole life, that at some point he's done research that contributed to something useful. But I've reached the view that all the stuff he's famous for, all the stuff that people quote, is bullshit.

> I think the way he studied these other subjects - was still very honest, very sincere, and he made great efforts to get things right. So I'd say Newton has maintained methodological integrity throughout regardless of results (quality of efforts > quality of results).

The thing is, it's much harder to judge efforts than results, so it's easy for a charlatan to look like they were making high-quality efforts. I'm willing to trust that Newton had methodological integrity because he was able to produce great results, and so I'm willing to accept that the efforts that lead to that carried over to other parts of his life (not that I think it actually matters either way - if what you're studying is fundamentally rotten from the start then an investigation with higher methodological quality is a castle on sand). You have to be a lot more sceptical if you don't have that proof that the person is at least capable of high-quality efforts.

Re:Alan Kay on Messaging (1998) by igouy on Tuesday October 01, 2024 @10:39AM (#41709059)
> … object orientation has failed in multiple incarnations, late binding has failed, live systems have failed, etc

What's your definition of failed?

Re:Alan Kay on Messaging (1998) by TZubiri on Monday September 30, 2024 @04:33PM (#41701784)
"it's also extremely difficult to control or change"

Hence its success.

It is controllable and changeable exactly in the manners that are appropriate by those who should be able to control it and change it.

Re:Alan Kay on Messaging (1998) by afiori on Monday September 30, 2024 @03:16PM (#41700903)
Conway's law applies to the internet too.

The internet is as distributed and decentralised as it is because it was made by a distributed and decentralized entity (thousands of companies and individuals).

Had most of them been willing to coordinate and cooperate with each other we would have a very different internet.

Re:Alan Kay on Messaging (1998) by nine_k on Sunday September 29, 2024 @08:33PM (#41692210)
I would say that Alan Kay was trying to create something like Erlang, if you look at the early plans, and the terminology like "messages". But due to hardware limitations of the time, he ended up with a much less capable system, lacking the asynchronicity and heterogeneity.

Erlang appeared 15 years later, and was / is quite successful in certain niches, more recently also as Elixir.

Re:Alan Kay on Messaging (1998) by DrScientist on Monday September 30, 2024 @05:27AM (#41695186)
> but until we start programming by natural selection I wouldn't describe it as a good paradigm for organizing behavior.

But aren't we? The modern ML revolution is programming via natural selection. Emergent behaviour from complex interactions of simple components trained by selection.

And of course, experience underlines how hard these programmes are to reason about.

However, seems to me, the key trick of these systems is that very complexity that makes them so hard to understand is what gives them their computational power.

Re:Alan Kay on Messaging (1998) by TZubiri on Monday September 30, 2024 @04:31PM (#41701766)
"This works okay for cells because there is no programmer floating above the system trying to understand it and make specific changes."

Physicians.

"but until we start programming by natural selection I wouldn't describe it as a good paradigm for organizing behavior."

Machine learning, alternatively startups selected by market forces.