Posted on 07/17/2025 11:00:22 AM PDT by ShadowAce
I’ve been saying for years that the reason software eats up so much hardware (and it’s advances) is the compiler.
I did a bit of Assembly language programming, but it was not something I would have encouraged, then.
Today’s processors can do so much more on chip that it’s amazing. Assembly could likely help that, a lot.
(Instead of things designed to rip off and lay off humans.)
I became a COBOL programmer back in 1983. One of the arguments an old Assembler guy and I used to have was regarding “efficient” vs “easily maintainable” code. Even back in the 80’s computers had become so fast that we were more concerned about the cost of maintenance rather than the cost of processing.
I rewrote a batch “local long distance toll rating” program and reduced it from 10,500 lines to 5,600 lines. It even had “alter go tos” in it. In the process of rewriting it, I found four problems that, when the SME was notified, turned out were problems they were aware of, but had no idea which program was causing them.
Some sections were accessed through “go to” and were accessed from other sections via “perform”, and sometimes “perform through”. It was a mess.
I had been trained by Boeing in “Pretty code”. It mattered. This was in 1993. I’m shocked I still remember this while I can’t remember where I laid down my phone.
Inquiring mind wants to know. ;-)
On and Offenbach, and all that.
But improvements to compilers should be the priority. It does not seem to be that way these days.
.
Hand written? So some people can still read cursive?
The first program I bought was a machine language monitor and it was 110 bytes of code. Ran on a computer with 4k of memory. That code was tight and elegant and puts todays bloated software to shame.
But then again--I'm ancient.
Well I learned cursive when home schooled.
COBOL and Assembler.......I learned IBM 360 versions of both in college in the ‘70’s, and served an internship at Columbia River Log Scaling Bureau in Eugene, Or. The main thing I learned from the internship was that programming was just a hobby for me, not a career.
I only use Windowz PC, but the computer bargain on the year is the M4 mac-mini at $549. That has 256GB NVMe and 16GB RAM. During Prime Days last week it was only $500. If I bought one, the only thing I would add would be 1TB external NVMe for storage. Price about 70-80$
DisplayPort is the way to go and this mac-mini can run three displays simultaneously VIA>>>
Thunderbolt 4 (USB-C) ports (located on the back)
One HDMI 2.1 port
Yeah l dabbled in assy too. When every byte of memory was precious it was a go to tool.
Interesting- a program I was working at BA used Python and Jinja to create templates for C++ modules.
We did a lot macro’s for BASM. It helped a little bit, also subroutines were helpful but not near as neat as functions in ‘C’. Having to save and restore registers was always the biggest issue.
Yeah l dabbled in assy too. When every byte of memory was precious it was a go to tool.
In my experience. going back into old code to "make it pretty" is often how that kind of problem is found and corrected.
Some sections were accessed through “go to” and were accessed from other sections via “perform”, and sometimes “perform through”. It was a mess.
Sounds like a true coding abomination. Congratulations on sorting out such a thing. A lesser talent might have run screaming for the door with their hair on fire.
How long did it take before the nightmares stopped?
Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.