5 ms·
I wonder what a Smalltalk-like environment would look like if had been developed in the 2000s instead of the 1970s. If you could marry up the advantages of tex
by goatlover 10y ago
I wonder what a Smalltalk-like environment would look like if had been developed in the 2000s instead of the 1970s.
If you could marry up the advantages of text/files, live code, visual layouts, data visualization and perhaps machine learning in the future, maybe you could come up with a huge jump in productivity and being able to handle complexity.
- stcredzero 10y agoIf you could marry up the advantages of text/files Is that really such an advantage? What kind of advantage does having source code scattered in files have over Smalltalk's Change Log? The Change Log greatly simplifies having live code, and having a runtime environment where you could crash the system with a runtime change. Source code in text files complicates this. It's also a powerful development tool all by itself. What's more, it's just a clever use of a text file!
- goatlover 10y agoI mean in being able to generate source code as text files at any point, or update from text files, since that's what programmers are used to, and there are so much of the tooling is built around that. You're not going to be putting an image on github.
- stcredzero 10y agoI mean in being able to generate source code as text files at any point, or update from text files It has been done many times. There was a Camp Smalltalk initiative to standardize such a mechanism back in the early 2000's. Anyone could code something up that does this for a particular dialect in a matter of minutes.
- Qwertious 10y agoThe way I see it, plaintext's advantage is much like the iPhone's stylus-less touchscreen - it's much more direct, and people deal with it much more intuitively as a result. Although I'm starting to think that it's more about not coupling the program and data file, and providing documentation (a comment-less plaintext XML file is often not much more useful than a binary file).
- erikj 10y agoAs far as I know, Bret Victor is looking exactly into that, check out his talk "The Future of Programming": https://www.youtube.com/watch?v=IGMiCo2Ntsc https://www.youtube.com/watch?v=IGMiCo2Ntsc
- rjeli 10y agoMathematica gets live code, data visualization, and ML, all with a lispy+tacit+functional syntax. I find it much more integrated and easy to use compared to Jupyter notebook, although it's near useless for anything imperative -- I find myself using Jupyter a lot these days to develop one-off scripts interactively. (please, no one mention stephen)
- 505 10y ago(I am pleased you brought up Stephen W, and also that you asked us not to. That's all you'll get from me.)
- hardlianotion 10y agoI would have called him the W-ster and respect parent's wishes
- TeMPOraL 10y ago> (please, no one mention stephen) Why? Does he come to every place that mentions his name, like that AI guy?
- rjeli 10y agoBecause any HN discussion that mentions the W-word will inevitably devolve into discussion of the controversial man
- buzzybee 10y agoI believe Red[0] is closest along to practically realizing this concept by focusing on compositions of small languages, a premise Alan Kay also worked on with the STEPS project at VPRI[1]. The main thing that stops people from beelining down this path is the sheer quantity of yak-shaving involved. We're all impatient and have near-term goals, and glue-and-iterate gets us there without having to engage in a non-linear deconstruction and analysis of what's going on. [0] http://www.red-lang.org/ http://www.red-lang.org/ [1] http://www.vpri.org/html/writings.php http://www.vpri.org/html/writings.php
- jnordwick 10y agoTrying to find a short REAL Red example (not Hello World or here's how to show an alert), and I can't seem to find one. Can you help me out? Something that would help me understand what the language is like.
- throwaway7645 10y agoThe concept of Red is heavily based off of Carl Sassenrath's Rebol, only Red is both very high level and fully capable of low level programming as well. Rebol can show you the high level things possible with Red. It truly is amazing. Even though its kind of old now, I installed Rebol recently and was blown away by how much power I got with no installation. Red will be much the same and allow you to make miniscule native binaries.
- jk4930 10y agoLook at Rebol 2 docs. Or try this (enough for me to get started): http://redprogramming.com/Getting%20Started.html http://redprogramming.com/Getting%20Started.html
- oofoe 10y agoCheck out the REBOL examples on Rosetta code. I'm very fond of the "percent of image difference" one -- it's not large, but shows off some of the nice features like image handling and the fantastic REBOL GUI dialect. (Yes, I wrote it...)
- derefr 10y agoHow about an Erlang unikernel with its relup functionality, running under a VM with the ability to hibernate to disk? That gives you nearly the same set of benefits as Smalltalk, without being nearly as "fossilized."
- jacquesm 10y agoBut with a huge barrier to entry. Smalltalk is at least reasonably easy to grasp for people new to programming, Erlang not so much (though it is incredibly powerful). The graphical nature of the Smalltalk environment also really helped to make it accessible. Erlang lives mostly in text terminals. I'm still not convinced of the 'image' mechanism, it's really nice to have implicit and automatic persistence but it glues the code so strongly to the data that it starts to hamper collaboration. Being able to easily pull a bunch of stuff from one machine to another and to integrate it with stuff that was already there is something that other programming languages have solved very well (together with DVCSs), Smalltalk seems a step backwards in that regard. Though there are times I wished for an easy way to hibernate an entire session for later re-use.
- derefr 10y ago> Erlang lives mostly in text terminals. People (outside of Ericsson) just haven't bothered to take much advantage of Erlang's strengths. Erlang speaks network wire protocols very efficiently, so if you want graphical Erlang sessions, you just need to write Erlang applications that act as e.g. X11 clients. Which is what things like Erlang's own Observer application does, complete with the ability to use the graphics toolkit Tk. (Or, if you like, you could expose an HTTP server serving a web-app with live updates over a websocket, like https://github.com/shinyscorpion/wobserver https://github.com/shinyscorpion/wobserver. Or an VNC/RDP server. It's really all equivalent in the end.) Unlike Smalltalk where the graphical capabilities are part of the local console framebuffer, Erlang's approach allows you to interact with a running Erlang node graphically irrespective of your locality to it—which is important, because, in the modern day, your software is very likely a daemon on a headless server/cloud somewhere.
- 10y ago
- billsix 10y agoOpen croquet http://www.opencobalt.net/ http://www.opencobalt.net/
- noir_lord 10y agoCheck out https://en.wikipedia.org/wiki/Oberon_(operating_system) https://en.wikipedia.org/wiki/Oberon_(operating_system) It never caught on but it was an interesting path not taken in terms of what an operating system could be.