r/programming • • Mar 26 '20

10 Most(ly dead) Influential Programming Languages • Hillel Wayne

https://www.hillelwayne.com/post/influential-dead-languages/
409 Upvotes

178 comments sorted by

View all comments

Show parent comments

2

u/cdreid Mar 26 '20

Im pretty sure i coded one of my first 3d programs.. now i guess theyd call it a "halfassed 3d engine" in it. Forth taught me stack programming and reverse polish notation.. which of course led to assembly which i semilearned then realised im WAY too lazy to write THAT much code for something minor :P I think i was working on an os core when i dropped it and probably the st and moved to C on a pc. So i learned round robin swapping etc on it. I think i agree about more competant programmers. Youre not going to learn about stacks, task switching, low level threading etc using Python or C++ (you already have your hands full just w c++'s high level bizarreness). I had forgotten.. youre right about forths lack of 'expandibility' for a better word. There werent that many forth programmers and if a forth programmer didnt write a library for it ... you had to... I think most microcontrollers use either a form of C or assembly. Arduino boards have a few languages.. a c like language is one and i know there are others. I still find it amazing what you guys did in things like postscript which arent languages but you made them into languages lol. Im imagining you say "ya im going to program the printer" and your fellow coder thinks "oh he's going to write a gui or driver" when you literally meant "nah ima turn my printer into a pc basically" :P You know if printer manufacturers werent basically pondscum these days i could see THAT being worth spending bucks on a computer. Coding something like youre talking about and creating a gui entry for it in a high end computer... guy at the office has this giant pdf thats going to be a pain to print into a book. nope.. push the button you made and print out that booklet for you designed. Thats kinda awesome

2

u/inkydye Mar 26 '20

Awesome! :)

About the MCU's, yeah, you'd normally use C or assembly, but now with the "Maker" movement there's a lot of cute little dev boards out there that are made to be very easy and accessible for beginners or kids, to remove obstacles to making a blinky, buzzy, WiFi-enabled location tracker for your cat or whatever. (Which is fantastic!)
When they want to offer an easier language for those beginners, it's Python or Lua. I get that Forth has a bit more of a learning curve up front, but its interactive development through a console flows so much more naturally than even those two, and its resource requirements are like a rounding error.

To be honest, my fun projects in PostScript were really just computational graphics, like fractals. I didn't even have a real PS printer, so the computation would happen in preprocessing on the computer anyway :)

In the mid-2000s I briefly used it seriously for drawing graphs of some log data. Like, I made an Awk script that slurped up the server logs, calculated some statistics, and spat out a PS file. That... could have been done smarter :)

2

u/cdreid Mar 26 '20

Youre right you just gave the best possible rationale for forth being THE dev environment for mcu's especially hobbyist boards. Interactive development speeds up both learning and programming exponentially. if i remember you had to either force reboot or power off atmel chips and start over. Much easier to change the line of code that makes it go blink to blinkyblink live