|
From a security standpoint, C and C++ have several fundamental flaws:
- Unmanaged heap, leads to several problems such as "use after free", "insufficient memory" when there's plenty of memory, and memory leaks where objects are orphaned in memory
- Null terminated strings, which are the single biggest source of buffer overruns.
- Implementation defined word size and in earlier versions, no specific pointer/address data type, leading to arithmetic errors and buffer overruns.
I've written complex software in both C and C++ so I know you can usually work around these flaws in modern C/C++ compilers, but the reality is you cannot prove most C/C++ programs to be correct from a standpoint of memory management or integer arithmetic.
|
|
|
|
|
Blame the chips and the developers.
With todays CPUs, why are the data stack and call stack commingled?
How long did it take to really start using the protected memory flags for read/write/execute/etc memory blocks
|
|
|
|
|
Allow me to add that it's also time to stop using COBOL.
|
|
|
|
|
|
Request Denied,
Only 7 people signed the petition. I think we have found the problem with California... the state government uses COBOL!
|
|
|
|
|
For batch business processing there is nothing better; or faster.
DB2 and IMS are no slouches either.
One can mangle COBOL a lot less than they can mangle C or C++; or most any other language.
PERFORM REWRITE VARYING AMUSEMENT FROM 10 TO 0.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
COBOL is very good if used properly - you can write sh*t code in any language
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
I suppose Leslie's death got more attention the nth time around too...
The Insider News[^]
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|
|
No one reads that forum (and )
TTFN - Kent
|
|
|
|
|
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
*points at Mark*
*laughs in IoT*
To err is human. Fortune favors the monsters.
|
|
|
|
|
..and be replaced by 16 bit VB4.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Yes, the retro movement is gaining momentum!
|
|
|
|
|
Bonnie Pink - Ring A Bell[^]
International (American and European) theme song of the Japanese game Tales of Vesperia, which I'm currently playing.
The music is the same as that of the Japanese version, which is also composed and sung by Bonnie Pink, but the lyrics are different (even after translation) and they're considered different songs.
I'm playing the English (Definitive PS4) version of the game so I'm hearing this song every time I start the game.
The animated images you see in the video are from the game and not from some cartoon.
Awesome game with an awesome soundtrack, although it's very long and I don't even know half of the music yet!
Sound of the week, but one of the best games I've ever played!
|
|
|
|
|
Funny how the mind works, it reminded me of a-ha - Take On Me[^] straight away. I wasn't a fan of a-ha but I liked the video.
// TODO: Insert something here Top ten reasons why I'm lazy
1.
|
|
|
|
|
That is funny, I don't hear that at all
|
|
|
|
|
Agree, but I meant visually, not the sound.
// TODO: Insert something here Top ten reasons why I'm lazy
1.
|
|
|
|
|
In that case, yeah
|
|
|
|
|
|
Nice one too, for when I'm tired of soundtracks
|
|
|
|
|
This is the only Tales game I have properly played, and I agree it is a great game.
I say "properly" because I also tried Arise, but I got distracted with other games and never went back. Maybe this is my cue to give it a second chance.
|
|
|
|
|
I've got Arise planned for this Christmas (during my two week vacation)!
The two-week-vacation-Christmas-game is about the only thing that's holy to me, so Arise better be good
It's the best according to most "best Tales-games" lists on the internet.
In hindsight, it may have been better to play Arise now and Vesperia during my vacation, as it's soooo long
|
|
|
|
|
Nice! For this week, here's an old childhood favorite slightly re-imagined: Timmy Trumpet & Vitas – The King. When we played the childhood version on our cassette player we called it the 'Elephant Song,' and danced around the player in circles.
I was sure that I'd mentioned this one earlier, but can't find it in my limited searches: Boris Brejcha - Happinezz feat. Ginger
|
|
|
|
|
David O'Neil wrote: Timmy Trumpet & Vitas – The King I'm usually not a fan of these re-imagined classics and this one is no exception.
Hearing that already familiar tune even more gets old fast.
It's a nice track, but I prefer the original.
David O'Neil wrote: Boris Brejcha - Happinezz feat. Ginger This one is fire though
|
|
|
|
|
In a fit of boredom, I began wondering how many "5th letter" possibilities there could be (i.e. I have four greens and one unknown.)
So I spent a few minutes bash ing around the standard linux word list with the usual suspects - grep , awk , tr , sort and uniq .
I found 5 cases where there are 9 possibilities:
*akes *inks *owed *ucks *umps
(I'm sure NYT would disallow some choices in at least one of them )
Interesting that they are all first position wildcards. From 8s down, wildcards appear in other positions.
30 cases of 8 possibilities... (not all verified, and since the original list includes many proper names, there may be a few spurious entries.)
================ update ==============
tricked by default sort
Two 12's, two 11's, twelve 10's...
12: *ears *ills
11: *ails *ates
10: *acks *ales *ared *ares *ells *ends *ests *icks *ight *ines *ocks *ulls
All >=9's are first position...
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
modified 23-Sep-22 4:47am.
|
|
|
|