User loginNavigation |
archivesBret Victor's Inventing on PrinicipleBret Victor's talk has been making a huge splash on the net and we might as well talk about it here. The first part of the talk basically describes a lot of live programming ideas, some of which we have explored before but have never demoed quite as well as he has. Note that his demo is completely on cherry picked scenarios, there isn't a general system behind his work. Here are the interesting parts I'm recalling from memory:
why first-class functionsI am thinking about a design for a new programming language, and I can't decide whether to include first-class functions. I understand (I think) how they work and when they might be used, but I can't think of any programming problem where the solution requires them. Can anyone give such an example? Thanks, Mark. why inheritence in OOP?I thinking about the design of the object model of a new programming language, and am leaning away from the idea of inheritance. As far as my understanding goes, inheritance serves the following purposes: * re-use of code in the child class by inheriting functionality from parent classes * helping/enabling polymorphism by creating classes that have similar enough capabilities to make them "compatible" to a greater of lesser extent. Have I missed anything or got aything wrong? Does anyone know of any language type models that do not use inheritance? Does anyone have a view of the pros & cons of such a model? I've looked at what has been in Go, and my initial impression is that I like it. Thanks, Mark. Massive Numbers of Actors vs. Massive Numbers of Objects vs. ????I'm trying to get a handle on core technology for an application that's going to involve massive numbers of entities - where the entities want to have characteristics that draw from both the object and actor models. Think of something like massive numbers of stored email messages, where each message is addressable, can respond to events, and in some cases can initiate events - for example, on receiving an email message, a reader can fill in a form, and have that update every copy of the message spread across dozens (or hundreds, or thousands) of mailboxes/folders distributed across the Internet. Or where an email message, stored in some folder, can wake up and send a reminder. One sort of wants to blend characteristics of: The topic has come up before, in discussions of active objects, reactive objects, concurrent objects, etc. - I'm wondering what the current state of the art and practice look like. I'm thinking that Erlang might be nice operating environment for such a beast, but wonder at what point one hits limits in the numbers of actors floating around. I'm also wondering what other environments might blend these characteristics. |
Browse archivesActive forum topics |
Recent comments
36 weeks 3 days ago
36 weeks 3 days ago
36 weeks 3 days ago
1 year 6 weeks ago
1 year 10 weeks ago
1 year 12 weeks ago
1 year 12 weeks ago
1 year 15 weeks ago
1 year 19 weeks ago
1 year 19 weeks ago