161 reputation
3
bio website
location
age
visits member for 2 years, 5 months
seen 4 hours ago

Aug
1
comment Why Increment Pointers?
The nice/bad thing about C++ is that it allows you to do much more before calling a segfault. Usually you get a segfault when trying to access another process' memory, system memory or protected app memory. Any access inside the usual application pages is allowed by the system, and it's down to the programmer/compiler/language to enforce reasonable limits. C++ pretty much allows you to do whatever you want. As for openssl having its own memory manager - that's not true. It just has the default C++ memory access mechanisms.
Aug
1
comment Why Increment Pointers?
It's one of the favourite tools to write computer viruses that read what they should not read. It's also one of the most common cases of vulnerability in apps (when one increments a pointer past the area where they are supposed to, then reads or writes it)> See the HeartBleed bug.
Jul
1
comment Going through The C Programming Language K&R in Visual Studio
Your confusion seem to be caused by the similar names. C, C++ and C# are different languages, with C# having nothing in common with C. There is no such thing like "C languages". And Visual Studio is a development environment, which is a fancy name for a complex code editor. It is used to write programs in many unrelated languages - but many people associate it with C#.
Mar
23
comment C++ why & how are virtual functions slower?
@JörgWMittag they are all interpreter stuff, and they are still slower than the binary code generated by C++ compilers
Oct
19
comment Why use other number bases when programming
@Joren I don't believe they read in stars the number of minutes in an hour :), but that now there is a misalignment between our time base and our numeration base, and that makes it more difficult to count time. An hour with 10 minutes and 10 seconds, or 100 minutes, or whatewer would have been more intuitive in our latin base-10 numeration system. Maybe it would be worth changing that ;)
Oct
19
comment Why use other number bases when programming
Talking about crazy bases, Babilonians are known to have used base 60 as their only math. en.wikipedia.org/wiki/Babylonian_mathematics Imagine going to market and counting your money for 3 cabbages and some goat meat... On the other hand, it was really easy to count the time that way
Aug
7
awarded  Supporter
Jul
24
comment How to manage a copyright notice in an open source project?
A usual approach is to list all the Copyright holders: (C) 2011 Intel Corporation, 2005 Google, 2012 Michelangelo P. , reflecting the contributions and dates.
Jul
24
awarded  Editor
Jul
24
revised What are good practices to perform software based optimization?
added 235 characters in body
Jul
24
awarded  Teacher
Jul
24
answered What are good practices to perform software based optimization?