|
I use Deleaker[^] to find leaks in Visual Studio.
|
|
|
|
|
Oooh thank you! I'll give that a shot.
Update: Works fantastically. Thanks again!
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
modified 22-Oct-23 5:22am.
|
|
|
|
|
|
|
Thanks. Unlike Deleaker it's free, but looks a little bit cumbersome to use relatively (not saying it's awkward, it's just that deleaker is very slick workflow-wise)
I'll give them a comparison run.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
If you can run the code in windows and compile with Visual Studio then you can use its built-in facility along with this header file : Memory Allocation Tracking for C++ Code[^].
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
Yeah, that's an option, although less than ideal as my code isn't currently tied to a particular compiler.
That said I could probably keep the blast radius of the changes small enough to manage.
However, I've been pointed to Deleaker which worked aces and didn't require me to instrument my code.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Back when I still did C++ stuff I used BoundsChecker, not sure if it's still around... was that the one you didn't remember?
Luca
The Price of Freedom is Eternal Vigilance. -- Wing Commander IV
En Það Besta Sem Guð Hefur Skapað, Er Nýr Dagur.
(But the best thing God has created, is a New Day.)
-- Sigur Ròs - Viðrar vel til loftárása
|
|
|
|
|
You know what? That sounds familiar, so it's likely. I'll look into it, thanks!
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Luca Leonardo Scorcia wrote: I used BoundsChecker
Yes I remember that too.
I think that was one of the very few tools I bought back then. Probably along with the Borland IDE.
But far as I can tell you can't get just that (by itself) anymore.
|
|
|
|
|
|
|
My experience with Intel tools is they have been clunky at best and confusing at worst, so I tend to avoid them if I have other solutions.
In this case I do. So thank you, but no offense, I'll pass on VTune.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
|
you can avoid red lights by driving at 114,004,827 mph at that speed they will be blue shifted enough to appear green .
|
|
|
|
|
How long will it take my 4-cyl Camry to reach that speed?
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
About a week if you find a steep enough hill. Tyre damage may occur at those speeds however - you might want to check the pressures really carefully before trying.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Which would go first? The tyres or the bearings? Probably the first, but the second will follow long before that speed is reached by any physical components!
|
|
|
|
|
I'd also be wary of the brakes - the stopping distance from those speeds is going to about 122,943,292,246 miles (or 1322 AU if you prefer) according to the Highway Code. Although modern brakes are much more efficient than those HC was based on, some significant brake fade is to be expected.
If a child runs out unexpectedly in front of you from behind Pluto, I suspect you are going to kill him / her.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
Correct, assuming that original light is always red. But if you see a blue light, you probably exceeding a speed limit.
|
|
|
|
|
11917640 Member wrote: But if you see a blue light, you probably exceeding a speed limit and if you see it coming near you are not fast enough to leave it behind. FTFY
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.
|
|
|
|
|
There is a Casey and Andy for that:
Link goes to external webcomic hosted on http://www.galactanet.com
Casey and Andy[^]
|
|
|
|
|
Thats hilarious! You gave me a good laugh with that one. Is that the actual velocity you'd need to travel in order to shift a red light to a green light?
There is one issue I see with driving that fast through an intersection, though. That velocity is about 1/7th the speed of light. If you drive that fast, your dashboard clock will tick at the same rate as it would if you're stationary, but to an outside observer, the speed of time is accelerated (relatively).
If there was a cop watching the intersection to catch speeders, he'd become elderly, senile, and die of old age by the time you arrive at the light. Likewise, if you're driving to a destination that requires you to arrive at a certain time, that may be a problem. It would be polite to phone the person whom you are meeting with to let them know you'll be a few decades late.
If you speed up to get there sooner, you'll just arrive even later. If you could accelerate up to the speed of light then time would come to a stop. You'd never reach the intersection at all. You'd just explode like a 50-megaton nuclear bomb. That would wipe out every traffic light within a 75-mile radius. You can't run a red light if it doesn't exist, right? Problem solved.
|
|
|
|
|
slight disagreements :
[0] re/ fraction of c as per calculation below :
c = 3e8 meters/s
auto v = 114,004,827 miles/h
auto v = 50,960,157.7 meters/s
fraction of c = .17c = 1/5.8 c
gamma = 1 / sqrt(1 - v^2\c^2 ) = 1.014
[1] re/ traffic officer observes auto cross intersection as per calculation below :
road lane width USA 3.7 m
assume 2 lanes so d = 7.4 m
duration to cross as observed by officer d/v = 1.45e-7 s
[2] re/ arranged meeting at destination ages of auto occupant and of person at destination as per below :
ratio of aging of person waiting at destination wrt auto occupant from time dilation equation is gamma i.e. 1.014 i.e. almost identical
you can't fool me i read about this in 8'th grade .
|
|
|
|