4 ms·
Many older languages evaluated expressions left to right. For assemblers this saves you from managing intermediate values and you can spit out ALU instructions
by kevin_thibedeau 6y ago
Many older languages evaluated expressions left to right. For assemblers this saves you from managing intermediate values and you can spit out ALU instructions in order without need for register assignment magic.
- bobbiechen 6y agoVisiCalc [1], the first spreadsheet program and the "killer app" for business on the Apple II, also used left-to-right evaluation. Dan Bricklin said he needed people to be able to quickly enter equations as they did on a cheap (non-RPN) calculator [2, at around 35:10]. [1] https://en.wikipedia.org/wiki/VisiCalc https://en.wikipedia.org/wiki/VisiCalc [2] https://scs.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=d129250d-7c28-45f5-874b-a9fa01542afb https://scs.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=...
- ggambetta 6y agoThat's not the tone in this article, though. It's not "the input field is not in RPN", it's "OMG CAN DO THE BASICEST OF BASIC MATH, HOW CLEVER!!!"