TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Try Forth

61 pointsby grifatonalmost 14 years ago

7 comments

paulsnx2almost 14 years ago
Ah brings back the days! Once upon a time I did most of my programming in a Forth like language we called "Fifth".<p>Eclipse today is almost bringing Java development to the point that it is sort of as productive as the Environment we built for Forth that ran on 20 Mhz PCs with 16 Megs of memory.<p>Almost.<p>What did we have?<p>Lazy compilation (functions compiled as needed rather than making us wait for a full compile) which doesn't exist today for Java, unless you count JIT (which honestly is a different concept).<p>Hot code replacement (that worked every time rather than the "sometimes works" with Eclipse).<p>Immediate functions for implementing all sorts of functionality algorithmically at compile time instead of writing code generators and initialization functions.<p>Instant initialization (a side effect of Immediate functions). Our Postscript Interpreter booted in milliseconds on a 16 Mhz 68000 as compared to the 1 or 2 minutes for the Apple Lazerwriter.<p>Hot key navigation -- Eclipse is about on par.<p>Online help -- Eclipse has a bit nicer interface, but ours was pretty near "Wiki Easy" to develop and extend and available on a key stroke.<p>Graphical interfaces and windows, Syntax completion, Syntax highlighting... All ideas that came later. All we had was character graphics, but we did great stuff with that.<p>Anyway, Thanks for the trip down memory lane. I miss programming right against the metal, but I also don't miss it too!
评论 #2885155 未加载
评论 #2884355 未加载
评论 #2886294 未加载
pietrofmaggialmost 14 years ago
If someone is looking for a great forth tutorial/book, one of the best is "Thinking Forth" by Brodie. Now available as an open project: <a href="http://thinking-forth.sourceforge.net/" rel="nofollow">http://thinking-forth.sourceforge.net/</a>
评论 #2884502 未加载
sgtalmost 14 years ago
Cool stuff. Great for learning Forth. I'm thinking of programming a custom forth for a particular microcontroller I got my hands on.
keenerdalmost 14 years ago
If you want an even more portable Forth environment, check out Amforth (<a href="http://amforth.sourceforge.net/" rel="nofollow">http://amforth.sourceforge.net/</a>) or Fignition (<a href="http://sites.google.com/site/libby8dev/fignition" rel="nofollow">http://sites.google.com/site/libby8dev/fignition</a>).
colomonalmost 14 years ago
Errr... what's the word for printing the top of the stack? Or some way of getting a result back out?
评论 #2884350 未加载
评论 #2884425 未加载
评论 #2884352 未加载
评论 #2884377 未加载
评论 #2884353 未加载
xradionutalmost 14 years ago
Once you've tried one version of Forth, you've tried one version of Forth. :)<p>Seriously, last time I used Forth was using a New Micros board that ran IsoMax, a great language for state machines.
res0nat0ralmost 14 years ago
Always wanted to try this out:<p><a href="http://www.phrack.org/issues.html?issue=53&#38;id=9" rel="nofollow">http://www.phrack.org/issues.html?issue=53&#38;id=9</a>