Chuck Moore Holds Forth
FFP, Combinator Calculus and Parallel Forth
by Baldrson
In his 1977 Turing Lecture, John Backus challenged computists to break free of what he called "the von Neumann bottleneck". One of the offshoots of that challenge was work on massive parallelism based on combinator calculus a branch of mathematics that is far closer to Forth's formalism than parameter list systems (which are more or less lambda calculus derivatives).
The prolific Forth afficionado Philip Koopman did some work on combinator reduction related to Forth but seems not to have followed through with implementations that realize the potential for massive parallelism that were pursued in the early 1980s by adherents of Backus's Formal Functional Programming paradigm. Given recent advances in hierarchical grammar compression algorithms, such as SEQUITUR, that are one step away from producing combinator programs as their output, and your own statements that Forth programming consists largely of compressing idiomatic sequences, it seems Backus's original challenge to create massively parallel Formal Functional Programming machines in hardware are near realization with your new chips -- lacking only some mapping of the early work on combinator reduction machines.
It is almost certainly the case you are aware of the relationship between combinator reduction machines and Forth machines -- and of Backus's challenge. What have you been doing toward the end of unifying these two branches of endeavor so that the software engineering advantages sought by Backus are actualized by Forth machines of your recent designs?
Chuck Moore: What can I say? Backus did not mention Forth in his lecture. He probably didn't know of it then. Yet Forth addresses many of his criticisms of conventional languages.
He thinks a language needs or benefits from a formal specification. I grew up worshiping Principia Mathematica 'till I learned how Goedel refuted it. The result is that I distrust formal representations. For example, the ANSII Forth standard does not describe Forth, but a language with the same name.
Yes, I am struck by the duality between Lisp and Lambda Calculus vs. Forth and postfix. But I am not impressed by the productivity of functional languages. Even as research tools, they have failed to live up to their promise. By that I mean to do something with computers that I couldn't do more easily in Forth.
I designed the memory for the c18 to occupy the same area as the processor. This means small, fast and smart. c18 can respond to a bus request by fetching from its memory, accessing off-chip or performing a calculation. The 25x avoids the von Neumann bottleneck by making up to 27 memory accesses at the same time (2 off-chip). And its multiple buses do not substitute a network bottleneck for a memory one.
Standard code will be in the ROM of each computer. How this is customized in RAM and the computers assigned tasks is left to the ingenuity of the programmer, not a compiler. Automatically generated or factored code has never impressed me. Nor has automatic place and route for circuit boards or silicon. They are both an order-of-magnitude from human performance. Because humans understand the problem, judge the results and cheat as required.
Marginalizing of the blind
by Medievalist
When I built my first Internet node, the web did not yet exist, and one of the amazing things about the Internet was how friendly it was to the blind.
Now, with some computer experts estimating that over 50% of the Internet is incomprehensible to braille interfaces, and most computer operating systems devolving to caveman interfaces ("point at the pretty pictures and grunt") we seem to be ready to take the next step - disenfranchising the merely color-blind.
I realize that colorforth is not inherently discriminatory, in that there are a great many other languages that can be used to do the same work. The web is also not inherently discriminatory, because it does not force site designers to design pages as stupidly as, for example, Hewlett-Packard.
Would you care to comment on the situation, speaking as a tool designer? How would you feel if a talented programmer were unable to get a job due to a requirement for colored sight?
CM: I'm amazed at how effective blind programmers can be. I rely so strongly upon seeing the code that it's hard to imagine listening to it. Yet I know it can be done. Not being color-blind, it's hard to appreciate the degree of information loss. But it's less than being blind.
My goal is to develop tools that augment my abilities. If others can use them, fine. It would be foolish to lose an opportunity to explore or excel just to conform to some equalitarian philosophy. Too often our culture seeks the lowest common denominator.
20-20 vision is required for fighter pilots. I have no qualms about requiring color vision for programmers. Everyone does not need to be a programmer.
But in fact, color is merely a property of words that helps to distinguish them. As is intensity, size, font, volume and tone. I'm sure colorForth will be translated into these other representations. I, myself, will be exploring spoken colorForth. (As soon as I can decipher PC sound cards.)
Massively Parallel Computing
by PureFiction
The 25X system reminded me of IBM's Blue Gene computer, where a large number of inexpensive CPU cores are placed on a single chip.
The biggest problem in dealing with a large number of small cores lies in the programming. I.e. how do you design and code a program that can utilize a thousand cores efficiently for some kind of operation? This goes beyond multi-threading into an entirely different kind of program organization and execution.
Do you see Forth (or future extensions to Forth) as a solution to this kind of problem? Does 25X dream of scaling to the magnitude that IBM envisions for Blue Gene? Do you think massively parallel computing with inexpensive, expendable cores clustered on cheap dies will hit the desktop or power-user market, or forever be constrained to research?
CM: Forth is a massively pragmatic language: do whatever you can to solve a problem. Its strength is in the ease of violating whatever rules it has. The 25x is similarly pragmatic. I don't know how to program it yet, but I'm confident I can. It's just another level of factoring.
The parallelism provided by the 25x has a different slant from other parallel architectures. The computers are not identical. I expect many will have different ROM and different interface to the real world. This asymmetry is a powerful clue as to how applications will be factored.
A 10x10 array of 25x chips is an easy board to build. At 50 Watts, it needs as much power as a notebook. That's 2500 computers providing 6M Mips. I can't imagine programming them any other way than Forth.
The advantage of Forth in this kind of context is that it scales. Forth is the machine language, Forth is the high-level language, Forth is the task-control language, Forth is the supervisory language. Each of these has a different vocabulary, but they share syntax, compiler and programmer skills.
Back to the array of 25x chips. Each chip could be on a vertical and horizontal serial bus with 10 others. A half-duplex bus requires a computer to manage, so that accounts for 200 computers. Now whatever the application, data must be provided. Say 1GHz Ethernet. Data (and program) is received, distributed and crunched. The assignment and coding of computers follows the data flow. Results are routed back to Ethernet, or displayed or whatever. It's a nice programming problem, well within the ability of a human to organize.
Will this ever reach the mass market? I don't know.
The direction of 25x Microcomputer...
by Midnight Ryder
The 25x concept looks like it could really a damned interesting idea. But one of the questions in my mind is where you want to head with it? Is this something that is to be used for very specialized research and scientific applications, or is this something that you envision for a general 'desktop' computer for normal people eventually?
Secondly, if you are considering the 25x for a desktop machine that would be accessible by people that aren't full-time geeks, what about software? Forth is a lost development art for many people (It's probably been 10 years since I even looked at any Forth code) and porting current C and C++ application would be impossible - or would it? Is there a potential way to minimize the 'pain' of completely re-writing a C++ app to colorForth for the 25x machines, which could help to speed adoption of a platform?
CM: At this stage the 25x is a solution looking for a problem. It's an infinite supply of free Mips. There's no obligation to use them all, or even very many. But they can effectively be used to eliminate hardware. To bit-bang what would otherwise need a controller. So if you want video or audio or radio or ...
The first applications will doubtless be embedded. These offer greater volume, less software and less market resistance than a general-purpose computer. I see 25x reaching the desktop as dedicated appliances rather than universal golems.
I'm not interested in recoding C applications. My experience indicates that most applications are hardware-dependent. The 25x is as large a change in the hardware environment as I can imagine. This changes the program so much it might as well be rethought and recoded. The most efficient way to do that is Forth.
Forth is a simple, interactive language. Its learning curve is steep with a long tail. You can be productive in a day/week. This depends only on how long it takes to memorize pre-existing words. Good documentation and management helps mightily. I'd rather train programmers than fight code translators.
That said, there are those who look at the mountain of existing applications and want to mine it. C to Forth translators exist and with some pre/post editing could produce code for the c18 core. How to distribute the application among 25 tiny computers would be a good thesis.
Quick question
by jd
(If you could microcode the "instruction set", all the better. A parallel processor array can become an entire Object Oriented program, with each instance stored as a "thread" on a given processor. You could then run a program without ever touching main memory at all.)
I'm sure there are neater solutions, though, to the problems of how to make a parallel array useful, have it communicate efficiently, and yet not die from boredom with a hundred wait-states until RAM catches up.
What approach did you take, to solve these problems, and how do you see that approach changing as your parallel system & Forth language evolve?
CM: The 25x could implement a multi-thread application nicely indeed. Except that most applications expect more memory that a c18 core has. Whereupon memory remains the bottleneck.
It's important to choose problems and solutions that avoid using off-chip memory. Even so, with 25 computers to support, I expect that every memory cycle will be utilized. The computer controlling memory can be smart about priorities and about anticipating requirements. For example, it could guarantee enough access to support display computers.
And the nice thing about memory-mapped communication is that a computer need not be aware of its environment. It's an ordinary Forth program accessing data asynchronously. Delays are invisible, as is synchronization. Of course, due care is required to avoid lock-up loops.
These conjectures are fun. But in a year we'll have real applications to review. And a much better appreciation of the advantages and drawbacks of so many tiny computers.
Programming languages...
by Midnight Ryder
This one would probably require a bit more time to answer than you probably have available, but a quick rundown would be cool: Where do you see programming languages headed -vs- where do you think they SHOULD be headed?
Java, C#, and some of the other 'newer' languages seem to be a far cry from Fourth, but are languages headed (in your opinion) in the proper direction?
CM: I've been bemused with the preoccupation of new languages with text processing. I've been accused of not providing string operators in both Forth and colorForth. Indeed, I haven't because I don't use them. Editing a file to pass on to another program never struck me as productive. That's one reason I chose pre-parsed source, to break the dependence upon strings and text processors.
Languages are evolving, as evidenced by the new ones that arise. But as with natural evolution, the process is not directed. There is no goal to approach nor any reward for approaching it. But whatever progress you might perceive, I don't. New languages seem only to propose new syntax for tired semantics.
These languages are all infix. Which is extraordinarily clumsy for anything but arithmetic expressions. And even those are comfortable only because we learned them in Algebra 101. Do you remember the learning curve?
Does everyone really think that 50 years into the computer age we have hit upon the ultimate language? As more and more C code accumulates, will it ever be replaced? Are we doomed to stumble over increasingly bloated code forever? Are we expecting computers to program themselves and thus save civilization?
I'm locked in the Forth paradigm. I see it as the ideal programming language. If it had a flaw, I'd correct it. colorForth uses pre-parsed source to speed and simplify compilation. This solves a non-problem, but it's neat and worth exploring. At least it proves I haven't gone to sleep.
What about memory protection?
by jcr
From the web pages, I don't see any mention of access control.
Can this processor be used in a multi-user, general-purpose mode?
CM: If you had a chip, you'd physically control access to it. It doesn't make sense for another person to share your chip. He can get his own. Certainly an individual c18 has too little memory to multi-task. And I doubt 25 computers could run 25 tasks.
But the 25 computers can certainly perform more than one task. They have to share resources: communication buses, off-chip memory and interfaces. Access is negotiated by the computer in charge of the resource. There is no hardware protection. Memory protection can be provided by the access computer. But I prefer software that is correct by design.
Communication with other computers, via internal or external buses, is subject to the usual problems of scheduling, routing and authentication. Internally, at least, my goal is to minimize delay rather than attempt protection. I anticipate spectacular crashes while software is developed. (Have you ever crashed 2500 computers?)
Where is forth going?
by JanneM
I learned forth early on in my programming career; it was very memory and CPU efficient, something that was important on early microcomputers. It was also a great deal of fun (though far less fun to try and understand what you wrote a week earlier...). Today, even small, cheap microcontrollers are able to run fairly sophisticated programs, and it is far easier to cross-compile stuff on a 'big' machine and just drop the compiled code onto the development board.
Forth has (in my eyes) always been about small and efficient. Today, though, embedded apps are more likely to be written in C than in forth, and the "OS as part to the language" thing isn't as compelling today as it was in the eighties. Where is forth being used today, and where do you see it going in the future?
CM: Forth is being used today as it always has been. In resource-constrained applications. I think they will always exist. I'm creating some with the tiny c18 computers in the 25x. I imagine molecular computers will be limited when they first appear.
Personally, I don't mind losing a mature market that can afford abundant resources. Such applications aren't as much fun. But Forth isn't restricted to small applications. Even with huge memories and fast processors, small, reliable programs have an advantage.
The major project cost has become software, to the dismay of managers everywhere. On-time, bug-free software is the grail. Forth doesn't guarantee it, but sure makes it easier. Will this ever be convincingly demonstrated? Will management ever value results over procedures?
The currently popular language is selected by uninformed users. The only thing in favor of such democratic choice is that it's better than any other. But why would anyone want to debug 1M lines of code instead of 10K?
What's the next Big Computational Hurdle?
by DG
Now that sub-$1k computers are running in the GHz range, it seems that all the computational tasks on a common desktop system are not processor-bound.
3D, rendered-on-the-fly games get well over 30 frames per second at insanely high resolutions and levels of detail. The most bloated and poorly-written office software scrolls though huge documents and recalculates massive spreadsheets in a snap. Compiling the Linux kernel can be done in less than 5 minutes. And so on.
It seems that the limiting speed of modern computers is off the processor, in IO. What then, do you forsee coming down the pike that requires more processor power than we have today? What's the underlying goal you intend to solve with your work?
CM: Memory is cheap. I don't mind wasting memory as long as it's not full of code that has to be debugged.
Likewise, Mips are cheap. The trick is to find productive ways to waste them. A Pentium waiting for a keystroke isn't very clever.
So here's a huge pool of Mips. What can you do with them? Voice recognition comes instantly to mind. Image recognition close behind. The brain deploys substantial resources to these tasks, so I suspect a computer must.
IO is indeed a bottleneck, but not in principle. If you can't get data from the camera to the computer, combine them. Put the image recognition algorithms in the camera. Analyse, reduce, compress data at the source. Meanwhile, it helps to have multiple paths off-chip.
revolutionary
by rnd
What is the most revolutionary (i.e., it is scoffed at by those in control/power) idea in the software industry today? Explain how this idea will eventually win out and revolutionize software as we know it.
CM: Forth! But then I haven't been out looking for revolutionary ideas. I like the phrase Baldrson used above: compressing ideomatic sequences. If you do this recursively, you obtain a optimal representation. I see no way to get a more compact, clear, reliable statement of a problem/solution.
Forth clearly revolutionizes software as most know it. It could lead to efficient, reliable applications. But that won't happen. A mainstay of our economy is the employment of programmers. A winnowing by factor 100 is in no one's interest. Not the programmers, the companies, the government. To keep those programmers busy requires clumsy languages and bugs to chase.
I don't have to be glib or cynical. Those are facts of life. Society must cope with them. But I don't have to. Nor you. There are niches in which you can be creative, productive, inspired. Not everyone can be so lucky.
Forth as intermediate language
by Ed Avis
Many high-level languages compile into C code, which is then compiled with gcc or whatever. Do any use Forth instead? I understand Forth is a stack-based language: doesn't that present problems when compiling for CPUs that mostly work using registers?
CM: I remember my shock at learning that Fortran compiled into Assembler, that then had to be assembled. A language that can be translated into another is clearly unnecessary. Truely different languages cannot be translated: C into Lisp.
Forth would make a fine intermediate language. But why have an intermediate language? It introduces another layer of confusion and inefficiency between the programmer and her computer. Macros were invented to support compiling directly to machine code.
Stacks are a compiler-friendly construct. Every compiler has to use one to translate infix notation to postfix. If this stack solution has to be assigned to registers, it's an extra step. Forth uses stacks explicitly and avoids the whole subject.
Register-based CPUs have more problems than just the complexity of their compilers. Their instructions must contain register addresses, which makes them longer and programs bigger. And it is rare that every register can be used in every instruction.
Moreover registers need to be optimized. After assigning system registers, performance depends on how well the remaining registers are handled. Compilers can optimize infix expressions better than humans. But such expressions are no longer the preferred means of doing arithmetic. DSPs and super-computers integrate difference equations.
Design guidelines encourage code with many subroutine calls each with only a few arguments. This is the style Forth employs. But it plays havoc with optimization, since register usage must be resolved before each call. So apart from being unnecessary and difficult, optimization has no effect on good code.
This brings me back to the BBS days. One of the best people in the area was a blind judge. He used a text->speech program which allowed him to do everything on the BBS that everyone else did. Since the BBS's were all text-only anyway the interface was easy. Nowadays we have so many sites that are design-centric that I can't see how people with disabilities get around.
I always strive to keep my sites simple and clean (like slashdot) so that the site can be more easily used by anyone, anywhere.
This isn't to say that flash, etc. shouldn't exist, but I don't think that they belong on a business-oriented site.
Travis
"Now, with some computer experts estimating that over 50% of the Internet is incomprehensible to braille interfaces"
Isn't this because over 50% of the Internet is porno?
I even get the impression that Chuck would be happy that I noticed this about him. It just makes me think that there will be no revolution coming from the Forth camp. Which, I hadn't really expected, anyway. But, I'll cross it off my list of possible revolution starters, anyway.
One of the things that can never get enough power is compression. Right now the next generation of image and video compression looks like JPEG 2000 and Motion JPEG 2000. I have tested it and it seems like a miracle compression, it consistently works at least 4x better than jpeg compression. Apply that to video and you have something incredible but very VERY expensive. He said it was a solution looking for a problem, and there it is. I think that HDTV video disc standards are leaning toward mpeg4 which would be a mistake in my opinion. Motion JPEG 2000 would be much more forward thinking if someone could pull it off. I say go for it Chuck.
More immediatly, using a 25x chip in a digital camera to compress large pictures to JPEG2k could save lots of space and more importantly, quality. Seems like a perfect mariage to me!
This Wiki Feeds You TV and Anime - vidwiki.org
The thing I have always liked best about Chuck Moore is that, whether you agree with him or not on a particular point, his ideas are always interesting and original. He's not afraid to follow his own judgment wherever it leads, and while he may perhaps end up following more blind alleys than a conventional thinker, it's people like him who will also make the most breakthroughs. In this day of C++/Java/XML/insert-other-orthodoxy-here, it's good to have someone like Chuck Moore around to remind us that computing can still be exploratory and experimental, and that you can still make a living without following the herd.
Proud member of the Weirdo-American community.
Forth clearly revolutionizes software as most know it. It could lead to efficient, reliable applications. But that won't happen. A mainstay of our economy is the employment of programmers. A winnowing by factor 100 is in no one's interest. Not the programmers, the companies, the government. To keep those programmers busy requires clumsy languages and bugs to chase.
To be honest, to me this invalidates everything else he said. If you have to depend on a conspiracy to figure out why your pet language is not universally adopted, then you are not living in reality.
I used Forth a long time ago. In fact, I advocated using Forth for the game company I worked at because I liked its simplicity and compactness. But I realize now that the practical measure of a language is how easy it is to maintain it... and Forth is not that language.
It kind of reminds me of APL zealots (yes, there used to be those, and there probably still around in hiding). They claimed much of the same things... that APL should be the language that everyone uses (I remember someone trying to convince me that APL would be a great language for an accounting system). They would NEVER admit that APL was hard to maintain.
I think this guy needs to pull his head out of the clouds and realize that there just might be reasons other than conspiracy that Forth is not more widely used. Forth had its time in the sun, and it was eventually rejected.
Sometimes it's best to just let stupid people be stupid.
This is NOT a critisism, though, more wishful thinking. What was said was fascinating, and there is a lot there to think over. Doubly so, since it IS just the tip of the iceberg.
It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
-- Minds are like parachutes... they work best when open.
I would disagree. While the Free Software Foundation, for instance, does not explicitly condone "programming regardless of skill"-- contributing to gcc does require some aptitude, free software allows anyone to program--without regard to financial means, or the willingness to sign NDA's.
Before color forth, color vision was not a prerequisate for programmers. Why should it be now? (Why are boldface, italic, and roman not appropriate analogues for red green and yellow, anyway?)
This guy designing the language and the chip is interesting to me.
Its mentioned in the technical manual for the Enterprise 1701-D that the software was designed long before the hardware. This seems unnatural considering the ease with which you can change software compared to hardware but there are advantages.
EROS for example is a OS that is struggling to apply some really cool ideas becuase there is not enough hardware support for its permission paradigm. Alternatively, it took MS over 10 years to implement all the hardware features built in to the 486 for OS's to use (not just the 32bit bus).
3d libraries are being written in hardware code now, after the attempt to do it in software couldn't handle the massively parallel nature and speed requirements. Now there are crypto cards that simularly add hardware designed functions to prop up where software is slow.
So what I wonder is, is it really so unfeasable or unreasonable to design the software first and then the hardware?
If he ever refused to hire somebody based on their inability to see color, I bet he'd lose in Court, lose bad too.
Chuck would have to prove that the ability to percieve colors in MANDATORY to coding, which it is not. It's understandable that people in wheel chairs don't run marathons, because a prerequisite to running is having legs. The only prerequisite for programming is a brain that contain knowledge of the language and some way to relay thoughts. There's braile keyboards for th second, and I'm assuming the previous poster has a brain.
If guys are successfully sueing Hooters to be able to work there (actually I haven't heard about this ina while, does anyone have an update?), then blind programmers could defintey when this case.
F-bacher
James Tiberius Kirk: "Spock, the women on your planet are logical. No other planet in the galaxy can make that claim."
Looks like my question was too far out there to get moderated up. Perhaps it's a lame question. I believe it's a solid question, so I'll pose it again, maybe some of you have comments:
A trinary computer system is based on architecture which is much more efficient than binary, especially for moving large numbers around. Since you are designing your own processors, have you considered the possibility of building (and coding on) a trinary system? It seems like trinary eclipses the revolutionariness of even colorForth, by taking us into a whole nuther dimension of architecture...
-WP
information is immaterial
There's tons of other Forth dialects that actually meet his criteria of being a true Forth- and they run under every OS out there from DOS all the way to Linux.
ColorForth is his implementation of his idea of what Forth should be for him. If you can use it, fine. If not, find another Forth- I'm sure there will be other implementations that code for the x25 CPU at some point. People aren't using Strostroup's implementation of C++ or K&R's implementation of C either- for that very reason.
Go hit Taygeta Scientific's website for implementations of Forth that you can try out. For Linux users, I suggest BigForth from Bernd Paysan, BTW- it's a native code generating implementation with some GUI support that shows some promise for making usable apps, etc.
I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
"There is no hardware protection. Memory protection can be provided by the access computer. But I prefer software that is correct by design."
That statement alone should point out that this guy has no clue about real world software design. People make mistakes, big ones, and they're not always caught in the debug cycle.
He sounds like a real smart guy, who's written alot of cool things ON HIS OWN. Once you break out of the individual 'hacker' environment and have to teach and share with others, alot of this stuff falls apart...
http://www.masturbateforpeace.com/
I don't know where your comment about EROS comes from. EROS stands for Extremely Reliable Operating System, and has cool stuff like transparent persistence for all programs and a pure capability security system. EROS was built from the ground up to run on commodity Intel boxes. The OS is not ready for prime time because it is being re-written in C (from C++). It is GPL'ed, and it has mucho potential.
****Gfx Scrollbar Special case hit!!*****
1+ million line programs do NOT mean useful complexity- in fact, one should question the application that actually needs that many lines of code. Furthermore, many people lump the lines of code together in a system, artificially inflating the numbers- almost a "my system's bigger and better than yours" competition.
Also of note is that few people have attempted to make a "500 user concurrent database"- ever. Have YOU ever written one? If not, why are you wasting your time posting here when you should be out flogging your product in competition with the likes of IBM, Oracle, etc.? I'm pretty sure if someone wanted to, they COULD make one in Forth (as there HAS been relational databases written in Forth...)
And his answer would be right for that- he doesn't need one for the problems he's solving. Doesn't mean someone else couldn't do it- it just means someone hasn't come along using Forth to do the task in question.
And in answer to your webserver question, it's very likely that nobody coding in Forth has gotten around to doing a Webserver as most of the people using Forth are doing embedded systems that don't have network connectivity, etc. If there was one, he might be using it.
Just because nobody's using it for that task doesn't mean that your choice is better for the task or that the language in question is poor for the task. Icon, a string and symbolic programming language from one of the inventors of Snobol is an ideal (as in, much better than C or C++) language for making compilers- nobody's using it because it's not well known and everybody and his dog follows the crowd and uses what everyone else is using.
I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
After reading the results of the interview, I really like Chuck Moore. Why? Simple - he's got a language he likes and develops further for his needs when nessisary, and when it comes to what everyone else thinks, he doesn't care!
That's not nessiarily a bad thing, in some ways. How different would colorFourth be if, for instance, he stopped to consider the effect on color blind or blind people trying to use the langauge? What about if he stopped to concern himself deeply with how to get colorFourth to become accepted as a mainstream language?
Instead, he concentrated on creating something he felt was the perfect language for him - not really for anyone else. There's something very admirable about that. Seems like projects these days (I mean Open Source projects in particular - commercial projects obviously tailor to as many people as possible) end up giving up part of thier original focus to instead appeal to a much broader audience within thier application style grouping. He doesn't care about how (x) implemented (y) - if it doesn't fit the applications he's been working on, then he ain't adding it in.
On the flip side, that means that colorFourth, for instance, isn't going to get a whole lotta acceptance. His comment about blind programmers struck me as callous, but, what the hell - it pretty much comes down to being 'his personal language'. If that's how he treats is, then yeah, to program in colorFourth (Chucks personal language) then you have to either learn to adapt it yourself (font changes for color blind people, or possibly tonal changes for those who have the source read to them by text to speach programs.)
But the one comment that struck me as wrong was his thinking that the reason more people don't use it is a matter of conspiracy. *SIGH* No, Chuck - if you build a language and tailor it pretty much completely for yourself, well... who the heck is gonna really care that much since you dont?
Davis Ray Sickmon, Jr - looking for something to read? Check out my three free novels at MidnightRyder.org
Functional, side-effect-less programs and primitives
Parallel evaluation of arguments
Parallel evaluation of mapping primitives
See here for a recent reference.
To a Lisp hacker, XML is S-expressions in drag.
Boldface, Italic, and Roman *ARE* appropriate analogues, he already made reference to that.
Also.. I think what's he's saying is, why should everything on earth cater to the lowest common denominator? It shouldn't.
You don't need 20/20 vision to fly a plane. if you want to work for the Air Force in particular, to fly their jets, you have to have perfect vision. Period.
So.. if you want to work with Color Forth, as he implemented it, you need to be able to see colors. I fail to see how this is bad.
Everything relating to computers does not need to be built for the lowest common denominator.
The most important part of Forth isn't a tool -- it's a concept. And most of you HAVE used it, although you deny it; most of you use the concept which powers Forth every time you print something. The same concept that powers Forth also powers Postscript.
-Billy
I soon noticed what looked like a cool new feature: named function parameters. You can now access stack slots by name instead of always juggling the parameters with operations like DUP, ROT, SWAP, etc.
After using this new capability, though, I realized that much of the fun of writing Forth code is figuring out clever ways to juggle the stack. Using named parameters makes the language kind of boring, combining C's explicit memory management headaches with the performance questions of an interpreted language.
I guess I just never got deep enough into the Forth ways to take much advantage of the magical "extend the language with itself" capabilities. OTOH, Lisp can do some of these tricks and provides automatic memory management.
Oh well, my favorite language this year is Ruby, anyway. It brings together a lot of good concepts from other languages in a nice way that's easy to understand; it even has a little bit of the extensibility that Forth exhibits.
> Forth is relevant? prove it!
Forth is everywhere.
Look in the Solaris kernel repository, there are even Forth source code.
The Java virtual machine is a specific Forth-like implementation.
Even Postscript looks like Forth enough to claim its legacy.
You should rather demostrate us that this obviously useful language does *not* exist, instead of trolling...
Trolling using another account since 2005.
An international airport in Saudi Arabia...
The collision avoidance system on the Space Shuttle...
The first pocket language translator...
Numerous Atari console games...
Some of these used a Forth implementation for a given CPU, one of them uses a special chip that was built by Harris Semiconductor, the RTX2000, one of the first Forth chips.
Forth is not used not because it's worse or not-useful. Forth is not used because it's so different from just about everything else developed to code for computers.
I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
Well, I think you can do things in any language that make it harder to read, regardless of the skill of the developer.
:)
For instance, put a space around entire concepts
Instead of "x/y+r^2" do "x/y + r^2", it's like using paragraph breaks in english text.
And then there's regexps, they're built on small parts, but when you get into something complicated (like removing c++ and c style remarks, in the same expression) it starts to look at little greek. This is, imho, because the same series of characters, in a slightly different order, can mean something else.
Like how [abc^] is a|b|c, but [^abc] is !(a|b|c). Combine that with a really long expression, especially when you're using $1 type reference to things you already found.. Ugh.
(\/\/|\/*) Really, what does that do?
But, that can be aided incredibly by how you write it as well, especially with the x (?) flag, to let you use whitespace (in Perl, at any rate).
Anyways, a bit OT, but I needed to gripe.
>he's gratuitously adding the requirement for color vision to programming.
He's doing nothing of the kind. He's using color in ONE particular programming environment, which you may use or not use as you see fit. Get over yourself.
(Or, you could abandon programming altogether, since it gratuitously requires the use of hands to type the code.)
-jcr
The only title of honor that a tyrant can grant is "Enemy of the State."
Others have defended Moore based on other statements he made on the subject. But I, too, noticed the statement "everyone does not need to be a programmer", and think it is unforgivable. The only thing that could mitigate it is an apology from Moore.
And how is this different from OO?
I realise that Forth has little in common with C++ or Java, but the whole point of OO is that you can define new types that model the solution domain. So in Forth you define new 'words' that model the solution domain, and this is so very different?
My Karma: ran over your Dogma
StrawberryFrog
Many of the more negative comments I'm seeing seem to be missing one or two points about the Forth programming environment (we call it that since it's more than just a language).
Since he lacks feature xxx his ideas aren't relevant: Many of the comments in this regard seem to stem from an assumption that unless a programming environment includes support for multiple protected users, protected memory, protected devices, protective APIs, and so on, it cannot be a relevant environment. What I'd like some of you to consider is that, on the contrary, there are many more programming applications which simply don't require those mechanisms. Sure, they're great to have, when you need them. Your microwave doesn't require multiuser support; your watch doesn't require protected memory; set-top boxes don't require CORBA bindings; CCD firmware doesn't; engine management, FedEx barcode scanners, and so on. The list is nearly infinite, and can extend all the way up to your desktop, if you want. Certainly, we all know many many environments where those tools help us get our work done, but that doesn't invalidate the environments where they aren't needed. Think beyond your desktop; every CPU in the world doesn't have to be running Netscape. Implement what you need or want, throw the rest away.
Progamming isn't for everyone: Some of you are turning this into a real strawman. Come on, you don't really believe Chuck is dissing someone who wants to program but has a challenge (such as blindness), do you? Re-reading the interview should show you that he has an interest in other representations of programming environments (other than text based ones). Furthermore, Chuck himself has poor eyesight. Thus, he's created his own programming environment that uses very large characters and uses color to replace punctuation, thus saving him precious screen real estate. If anything, you'd see he embodies the attitude, "Change the system to match your wants." I believe with a little thought that it should be obvious that he isn't seeking to exclude people with different abilities.
// boba
There is more than 100 times the currently produced software per annum that is needed and desired. So, if you did make programming 100 times more efficient you wouldn't be in danger of putting any programmers out of work except for those who could not adapt to the more efficient methods.