<samuraicrow>
I'm writing Yab2Cpp in C++11 which has smart pointers. Those defer deallocation to scope of the variable as much as possible.
<samuraicrow>
That way you can't forget to free it.
<bbjimmy>
I never wrapped my head around pointers and why/when to use them.
<samuraicrow>
Yeah, they can be tricky.
<samuraicrow>
Once you get pointers, you get C and C++ and not a moment before.
<samuraicrow>
How familiar are you with the Peek and Poke commands of the early BASIC dialects before Yab?
<bbjimmy>
I figured that out. I can modify a c/c++ program but only by following the references the programmer used.
Maylay has joined #yab
<samuraicrow>
Oh ok.
<bbjimmy>
I remember using peek and poke for talking to hardware
<samuraicrow>
I've been learning Rust lately and it has strict rules against pointer aliasing. It points only at one thing and doesn't let you pull the rug out until you're done with it.
<bbjimmy>
I started programming with 8088 assembly. not very readable but useful
<samuraicrow>
I started on a Commodore 64.
<samuraicrow>
6510 was tricky to compile but easy to program by hand.
<bbjimmy>
I had a coco and quickly moved to a pc
<samuraicrow>
The original Coco or the Coco2?
<bbjimmy>
ms basic was my main application language, assembly was for work.
<samuraicrow>
Yeah.
<bbjimmy>
CoCo2
<samuraicrow>
Didn't the Coco have a 6502?
<bbjimmy>
yup
<samuraicrow>
Almost identical to the 6510 on the C64 then.
<samuraicrow>
Did you ever try Pascal? After learning C64 BASIC and Assembly, I moved on to Pascal in high-school.
<bbjimmy>
Once I started using Basic it stuck and I stayed,
<bbjimmy>
They didn't teach computers when I was in high school.
<samuraicrow>
Oh ok.
<bbjimmy>
In college I took a programming class that used fortran and I had to turn in a stack of punch cards.
<samuraicrow>
I could probably explain C++ to you in Assembly but I don't know how much time I have to do so.
<samuraicrow>
Fortran 77?
<samuraicrow>
I learned Fortran 77 when I got to college too. It was kind of historical by the time I got it. It was typed in but you had to watch the column numbers anyway because it was punch-card oriented.
<bbjimmy>
I don't remember what it was, but once I could get a personal computer ( coco, not PC) I was much happier, programs loaded off of cassette.
<samuraicrow>
I got the Cassette drive on the C64.
<samuraicrow>
Once I got a floppy drive for my C128 later on, I was amazed at what became possible. I used GEOS 128 as an operating system quite extensively.
<bbjimmy>
My first disk drive was 5 MB. I thought I would never rtun out of space on it.
<samuraicrow>
And well you shouldn't have run out of space. Programs were much more efficient back then.
<bbjimmy>
indeed
<samuraicrow>
LOL
<bbjimmy>
I used cpm at work with 8 inch floppy disks
<samuraicrow>
I missed that era. The 5.25" floppies were the first I used.
<bbjimmy>
and a tty interface. What a waste of paper.
<samuraicrow>
When the CP/M OS disk went bad on my C128, I didn't really miss it.
<samuraicrow>
GEOS was much better. It made my C128 feel like a Mac.
<bbjimmy>
:)
<samuraicrow>
Come to think of it, GEOS was cross-developed on a 68000 based machine using MacroPort as a cross-assembler.
<samuraicrow>
What was the last CPU you used for Assembly programming?
<bbjimmy>
8080
<bbjimmy>
Z80
<samuraicrow>
Oh ok. Never moved up to the 68000 or i386?
<bbjimmy>
no
<samuraicrow>
Ok.
<samuraicrow>
Just before I started my first associates degree, I bought an Amiga 1200. Jumped all the way from 8 bits to 32-bits all at once.
<bbjimmy>
microcomputers used in electronic scales and computer tape drives as controllers ... etc.
<samuraicrow>
PIC microcontrollers by chance?
<bbjimmy>
they wern't around yet.
<samuraicrow>
I used those in digital scales in the 90's.
<bbjimmy>
I worked on them in the early 80s
<samuraicrow>
Ohh ok.
<bbjimmy>
off to dinner...
<samuraicrow>
That's just when I got started. Catch you later!
samuraicrow has left #yab [Leaving]
Maylay has quit [Ping timeout: 480 seconds]
Maylay has joined #yab
lelldorin has joined #yab
lelldorin has quit [Quit: Vision[]: i've been blurred!]
Maylay has quit [Ping timeout: 480 seconds]
Maylay has joined #yab
Maylay has quit [Remote host closed the connection]
Maylay has joined #yab
Maylay has quit [Ping timeout: 480 seconds]
Maylay has joined #yab
lelldorin has joined #yab
Maylay has quit [Ping timeout: 480 seconds]
lelldorin has quit [Quit: Vision[]: i've been blurred!]