Great Ideas that Won't Happen

[I know this thread has the potential to cause a massive flamewar and/or a few hundred GD threads. Remember that this is IMHO, and that certain comments should be placed in the appropriate spot.]

So I ask the Dopers, what great idea will probably never come to pass? What idea sitting on your head will never come to pass, due to the general ignorance of The Powers What Are?

My idea is to have calculators work in true programming languages, as oppsed to clones of the execrable BASIC. For this task, not all languages are suitable. Ideally, programs should be writable in the same language one operates the calculator. This means the language is interpreted on-the-fly, as opposed to being compiled to machine language (as in C and most other languages) or bytecode (as in Perl and Java). This gives a few advantages:
[ul]
[li]Low overhead for the calculator developers: They can write one interpreter in ROM and have it function both as an interactive shell and a program interpreter.[/li][li]Ease of learning the programming language: Users who know how to operate the calculator have the first steps to knowing how to program it if they can program it in the command language they’re using anyway. This advantage ties in with the first.[/li][li]Software development in the calculator itself: This makes the calculator infinitely more useful, as a good user can write what he needs without having to switch environments. It also avoids the hassle of getting data to and from the calculator.[/li][/ul]
Few languages are interpreted in this fashion. Of those that are, many are too complex to be easily stored in the limited environment of a calculator’s ROM. Python and Ruby, while great languages in many respects, fail on this count. Of the languages that are interpreted on-the-fly and are simple enough to be held in ROM, two are, in my opinion, good for use in a calculator:
[ul]
[li]FORTH: The programmer choice, FORTH is a minimalist language completely given over to the idea of stack manipulation. It is completely in RPN, meaning operands precede operators (e.g., 3 5 + yields 8, and 2 4 * 2 + yields 10). This has the advantage of rendering rules of precedence meaningless: Order of operations is explicit in how the equation is written. FORTH certainly fits the minimal criterion, as it is one of the langauges commonly used to program embedded systems that comprise a few Kbytes of RAM and a slow CPU. It is also a very extensible language: Programming consists of defining new ‘words,’ which then are usable commands in the language itself. The modularization of code this teaches is alone enough to set it above BASIC.[/li][li]APL: The math geek choice, APL is a language where commands are frequently single symbols in a huge character set and programs tend to look like algebraic equations. An algorithm to find primes is less than twenty characters, something that redefines ‘concision’. APL just exudes concision, which means programs won’t take up much space. Having APL as an interactive shell’s language would take the calculator to new levels, but would probably require either a true space cadet keyboard or extensive use of shifting and menus. It would be worth it, however, to be able to have all of that sheer mathematical force at your fingertips.[/li][/ul]
My final analysis? My decision, FORTH or APL? I don’t have one. FORTH would be easier to implement and would be easier to design command entry around, but APL is tailor-made for this application. APL would require a breathtaking amount of ROM just to contain all of the symbols and their meanings, which would probably slow down the system, whereas FORTH would give F-16-like responsiveness. However, APL would require very few exensions to give it desireable capabilities (producing a list of numbers from zero to n is a language primitive in APL, for example). Suffice to say, I would eagerly buy a calculator based around either APL or FORTH.

I understand Hewlett-Packard made (makes?) RPN calculators that can be programmed in their own RPN-based language. How does the HP RPN language compare to FORTH?

No one will post a response to this thread;) :stuck_out_tongue:

Whoops, now I must :smack: myself 10 times about the head and shoulders to atone for breaking my own vow.:wally

Yeah, I guess I got a bit technical in the comparison of FORTH and APL, but if you can’t get wordy in IMHO, where can you get wordy?

:smiley:

World Peace.
Never.

Well, Derleth, I am not a programmer or engineer by any means, but back when I was taking calculus courses, I had an HP calculator, and I found it to be a much more flexible and clear interface than the TI calculators that everyone else was using.

A Stable OS from Microsoft.

nahtanoj - Aint had many probs with Win2k.

Taxing fat people.

Scratch 'n sniff pornography.

I think you’re overestimating the intensity of the FORTH vs APL rivalry :smiley:

a separate highway system for big trucks.

public transportation in Atlanta.

I don’t think there’s even a shot for a less costly alternative: restricting big trucks from using roads or highways with less than two lanes in each direction between 6am and 7pm. It sure would help traffic, though.

Nap room at my work. Fart room for my co-worker. Single or dual occupant in demand mass transit…With a fart room.

Cars made illegal.

Clear Cherry Kool-Aid.

Just ask any mom (at least the ones who currently buy the stuff) how much MORE she would be willing to pay for a Kool-Aid that didn’t permanently stain the carpet…

~k

flying cars everywhere!!!

Well, I never thought I’d be talking about APL in an SDMB forum. I have worked with it for the last 15 or so years, and agree that its concision would make it ideal. I saw a book in some geek-store about 10 years ago in which the author claims to have coded a (very, very simple) apl interpreter in 2000 bytes of handcrafted assembler. I expect it didn’t do much :smiley:

BTW, I’m not sure I’d agree that FORTH=programmer’s choice, and APL=math geek choice. Although APL is very popular with some insurance companies (actuaries etc) and as a math modelling tool, I’d say 80% of the applications I’ve seen are regular dataprocessing stuff. A lot of banks use it for global risk management, stock trading, you name it.

And it’s fabulously productive. At one bank after a merger they ended up with two systems doing broadly the same task. One was written in C and had a support staff of about 70, the other was in APL and had a support staff of 2.

Im surprised noone said revamping the QWERTY keyboard.

When I did some work for the Fantasy Channel (some 6 years ago), we actually had these…
Little cards printed with numbers and impregnanted with various “scents”. In the corner of the porn film a little number would appear, you would scratch the corresponding square on your card…
I still wish I had listened and not scratched number 10…
shudders

Yeah, exactly what I need. I’m picturing a life-sized poster of Ron Jeremy. dry heaves

I wouldn’t be so sure of that. New York has something similar to that now. Trucks are prohibited from all parkways(though every couple weeks or so you hear about some out of state moron that ignores the signs that are posted all over the entraces to the state and each of the parkways and gets stuck on the lower overhangs the parkways have) and are restricted to the expressways. Then there are the various restrictions based on weight for local roads.