6 ms·
Thinking Forth (1984)
- avodonosov 11y agoOne of the best programming books I've read.
- hliyan 11y agoBeautiful. I wish I had the first 30 pages of this book during my SE 101 days. A direct link to the PDF might have been better though. I almost skipped this when I saw the Sourceforge URL.
- kip_ 11y agoI was amused to see that uBlock Origin's default filter lists now include sourceforge and thus I was momentarily stopped from seeing it. https://github.com/gorhill/uBlock/wiki/Badware-risks https://github.com/gorhill/uBlock/wiki/Badware-risks
- dmux 11y agoExcellent book as an introduction to Software Engineering. Also, Forth is a fun language/live-environment to play around with. When I first started using Forth (Gforth) the live-programming matched with point-free programming is left with me the unshakable impression that 'this is what programming should be like.'
- jwmerrill 11y agoHere's a PDF version that can open in your browser, for folks who don't relish opening unknown binaries from SourceForge: http://www.dnd.utwente.nl/~tim/colorforth/Leo-Brodie/thinking-forth.pdf http://www.dnd.utwente.nl/~tim/colorforth/Leo-Brodie/thinkin...
- pgeorgi 11y agoAnd if you want to build your own: https://github.com/forthy42/thinking-forth https://github.com/forthy42/thinking-forth
- Shog9 11y agoThis was one of the first programming books I read as a kid, after Brodie's "Starting Forth" and a bunch of not very memorable books about BASIC. It remains the standard to which I hold all programming books I read. The author's enthusiasm and patient but never patronizing style drew me in, and the book's recognition that language and methodology are not inseparable changed how I viewed programming; the observation that design and implementation a dance rather than a handshake changed how I looked at software. A classic worth reading even if you never intend to use Forth.
- Shaniqua 11y agoI am new to programming. So far I dabbled a bit in Scheme, Python, Smalltalk(Pharo). I quickly realized I don't care for Python, but Scheme is an awesome language(it's like doing Abstract Algebra a bit) and Smalltalk is an unbelievable environment. Now Forth also piqued my interest. How is it different from, say, Pharo? Apparently, one of Forth's selling points is related to "philosophy of problem solving". In that regard, how does Forth compare to Scheme? For example, it's trivial to solve certain problems by recursion in Scheme. Thanks.
- dmux 11y agoForth is a stack-based point-free[1] programming language where Scheme is a functional programming language. Both Forth and Lisp/Scheme offer functional composition. Forth is similar to Smalltalk in that they're both a live programming environment. You interact with and manipulate the running system. [1] https://en.wikipedia.org/wiki/Tacit_programming https://en.wikipedia.org/wiki/Tacit_programming
- agumonkey 11y agoEverything dmux said, adding the fact that Forth can be implemented by extremely simple and compact code, think of it as the smalltalk of the embedded world (For instance Apple bios - open firmware - give the user a Forth REPL)
- DonHopkins 11y agoThat same Open Firmware Forth system [1], which was developed by Mitch Bradley [2], was not only in the PowerPC Mac bios, but it was originally used for the SparcStation boot roms, and eventually in the OLPC, and it was even an IEEE Standard 1275-1994! [1] https://en.wikipedia.org/wiki/Open_Firmware https://en.wikipedia.org/wiki/Open_Firmware [2] https://en.wikipedia.org/wiki/Mitch_Bradley https://en.wikipedia.org/wiki/Mitch_Bradley In fact: the Open Firmware boot loader and plug-in card firmware interface technology, commonly used by both Sun and Apple, is the only firmware standard in existence to ♫ have its own theme song ♫ [3] !!! [3] https://web.archive.org/web/20070204145613/http://playground.sun.com/pub/1275/misc/ofwsong.au https://web.archive.org/web/20070204145613/http://playground... : OpenFirmwareSong ( 🎸- ♬ ) \ By Mitch Bradley. \ Sung to the tune of "The Flintstones". 𝄞 ." Firmware" cr ." Open Firmware" cr ." It's the appropriate technology," cr ." Features" cr ." FCode booting" cr ." Hierarchical DevInfo tree." cr ." Hack Forth" cr ." Using Emacs on the keys," cr ." Save in" cr ." NVRAM if you please." cr 𝄒 cr ." With your" cr ." Open Firmware" cr ." You can fix the bugs in no time" cr ." Bring the kernel up in no time" cr ." We'll have an FCode time!" cr 𝄒 cr \ Thank you and good night! reboot ;
- riffraff 11y agoI read this book a few years back, it's quite good even if you never do actual Forth programming, at least to skim.
- logicrime 11y agoYou guys know that PDFs can load web assets right? They can de-anonymize you just by opening them right? Don't trust it if you don't trust the host.
- TheLoneWolfling 11y agoYou guys know that PDF readers can turn off loading of web assets right? That you should turn it off or prompt or people can de-anonymize you just by getting you to open a PDF right? Don't trust it if you don't trust the host, regardless. Exploits do exist.
- logicrime 11y agoAs ignorant/oblivious as HN users are, (see your post for reference) it needed to be mentioned.
- pgeorgi 11y agoSources are available here: https://github.com/forthy42/thinking-forth https://github.com/forthy42/thinking-forth
- brudgers 11y agoIt came across my radar via Michael Fogus's Six Works of Computer Science-Fiction[0]. After reading the first chapter, the reasons that people love/loved Forth suddenly make sense. Like Lisp it's full stack - from close to the metal to arcane abstractions. [0]: But only after the second time it was posted to HN. http://blog.fogus.me/2015/04/27/six-works-of-computer-science-fiction/ http://blog.fogus.me/2015/04/27/six-works-of-computer-scienc...