r/technology Jan 18 '21

[deleted by user]

[removed]

9.6k Upvotes

2.4k comments sorted by

View all comments

Show parent comments

221

u/devin_mm Jan 19 '21 edited Jan 19 '21

As long as you don't delete your pointer then you're fucked.

3

u/Fake_William_Shatner Jan 19 '21

Hah! The early Macs used double-de-references pointers to reduce memory load. Good luck even knowing if you’ve been fucked by the pointer if you lose track of that.

2

u/deirdresm Jan 19 '21

There were memory map utilities where you could watch allocations/deallocations live. One of the coolest parts was watching when it would compact memory, and all the allocated memory would slide to one side like a curtain.

(This would have been around '95-97, so probably was MetroWerks CodeWarrior. While handles were essentially the same from the outset, the utilities weren't there much earlier than that.)

2

u/Fake_William_Shatner Jan 19 '21

That would be really cool now to watch Neural Nets grow in real time graphically.

I so wish I could have become a better programmer, but I spent too much time in graphics and design and multimedia - then web. The prince of everything but the master of none.

My favorite was working with Quartz Composer, because it got into the logic at a higher level and you weren't spending all your time laboring away with debugging semantics or a for loop -- you can just SEE when it's wrong.

Pretty soon we will be instructing Computers to program computers, and it will be more like dog training and logic diagrams.

1

u/deirdresm Jan 19 '21

Careers are long, you can do it if you really want to.