C++ Question Help with pointers

kamaz

Unicorn hunter
Addon Developer
Joined
Mar 31, 2012
Messages
2,298
Reaction score
4
Points
0
Sat in a big meeting this morning and saw egos totally mess up a great idea.. :facepalm:

fGdd7zd.jpg
 

Col_Klonk

Member
Joined
Aug 29, 2015
Messages
470
Reaction score
0
Points
16
Location
This here small Dot
Point is...

... C was designed on PDP-11 and mirrors a lot of internal architecture of that system (notably this is why it has ++ and --) which the creators wrongly thought to be universal.

I arrived on the scene at I presume was the end of the PDP-11 era... a 10MB platter disk change was ..well a weight lifting exercise (but I was fit then :lol:)
Our PDP-11 ran 9600 rs232 links to 8085 'PC' kits that we made ourselves (with pc-tape/etching/manual soldering) for the student labs... stuff worked brilliantly.

No GUI, it all was text based.. the good old days :cheers:
I'd actually decoded the original IBM PC BIOS down to it's minute detail... and repaired the darn things.. :thumbup:

From then I was 'hooked; on assembler. although I've done Pascal, C, turbo C C++, VB etc... whatever it was.. I was never impressed with Ritchie and Kernigan and really disappointed when Bill went the C route for windows OS.

Maybe businesses required fast dev times and buggy software... :facepalm: and haven't we've seen this non-stop for decades ?
 

Urwumpe

Not funny anymore
Addon Developer
Donator
Joined
Feb 6, 2008
Messages
37,615
Reaction score
2,335
Points
203
Location
Wolfsburg
Preferred Pronouns
Sire
Maybe businesses required fast dev times and buggy software...

Businesses have to care for their money, thus in my experience, government software is far worse in terms of quality. Government does more than only such highly standardized software development like done for avionics.

Also fast dev times are a sign of a good professional software development team. Long dev times and cost overruns happen way more often, if you do a supertanker approach to development. The trick of agile software development is not, that the software is developed faster (it is not), but that you need far less corrections before your customer can accept it. And these corrections before and after release are the cost drivers. If you do it properly, your software is tested against a production-like environment at least once per sprint - instead of waiting until the end of development.

Even NASA does agile software development now, they use a commercial, modified Scrum approach called SAFe for developing the SLS software.

http://scaledagileframework.com/the-safe-way-to-lean-software-development/
 

jedidia

shoemaker without legs
Addon Developer
Joined
Mar 19, 2008
Messages
10,875
Reaction score
2,129
Points
203
Location
between the planets
The trick of agile software development is not, that the software is developed faster (it is not)

Well, if you're doing crap, it certainly fails faster. Which is exactly what you want.
 

Enjo

Mostly harmless
Addon Developer
Tutorial Publisher
Donator
Joined
Nov 25, 2007
Messages
1,665
Reaction score
13
Points
38
Location
Germany
Website
www.enderspace.de
Preferred Pronouns
Can't you smell my T levels?
... the fact that we handle new embedded architectures by re-targeting gcc does not help either because people think that "gcc is gcc" and if so they can get away with what they can do on linux/x86... no they can't...
The software I produce isn't meant to be ran on an embedded system. My int assumption here is right.

Maybe businesses required fast dev times and buggy software... :facepalm: and haven't we've seen this non-stop for decades ?
You can make bugs in Assembler too.
 

Col_Klonk

Member
Joined
Aug 29, 2015
Messages
470
Reaction score
0
Points
16
Location
This here small Dot
You can make bugs in Assembler too.
True.. what I've found is that most times, in Asm if you make a bug.. it's 'in your face', and the code just doesn't work - so one is forced to get it right, which takes longer to do - you do your debugging before release.

Whereas in higher level languages bugs can creep in un-noticed more easily, but as mentioned this also depends on the experience of the developer in both cases.
This is of course not talking about the algorithms 'invented' by either developer.. that's another story.

I'm just more fussy in getting things right, so invariably choose the harder way.:thumbup:
 

Loru

Retired Staff Member
Retired Staff
Addon Developer
Donator
Joined
Sep 30, 2008
Messages
3,731
Reaction score
6
Points
36
Location
Warsaw
O-F Staff note: Please stay on topic. For discussing advantages of one language over another you can create "Programming language wars MEGATHREAD" in Brighton lounge.
 

Col_Klonk

Member
Joined
Aug 29, 2015
Messages
470
Reaction score
0
Points
16
Location
This here small Dot
Yeah.. I'm sure we all know that, and were very civilised in not going down that road :thumbup:

None the less, I'm sure the discussion was informative to the the OP (and others) ;)
 
Last edited:

Face

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 18, 2008
Messages
4,403
Reaction score
581
Points
153
Location
Vienna
None the less, I'm sure the discussion was informative to the the OP (and others) ;)

Well, the OP left at post #4 with an "it works" message AFAIK. I'm pretty sure he did not follow the assembler talk at all. :shrug:
 
Top