|
Since C++ (by deliberate design) does not include a native garbage collector or memory compactor, programs that perform dynamic memory allocation and de-allocation (via explicit or implicit use of the “new” and “delete” operators) cause small “holes” to accumulate in the free store over time. "Memory management is too important to be left to the computer."
|
|
|
|
|
|
What can I say? Slow news day. /shrug
TTFN - Kent
|
|
|
|
|
What a useless article :- presents the problem but offers no solution at all.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
Rob Grainger wrote: presents the problem but offers no solution at all.
Sure he does:
For those types of niche systems, the best, and perhaps only, practical options available for preventing any holes from accumulating in your briefs are to eliminate all deletes from the code
Marc
|
|
|
|
|
Marc Clifton wrote: preventing any holes from accumulating in your briefs This sounds like an altogether different problem...
The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill
America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde
Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin
|
|
|
|
|
He listed several, but didn't explain them:
Quote: If your application inherently requires post-initialization dynamic memory usage, then use pre-allocated, fixed size, unfragmentable, pools and stacks to acquire/release data buffers during runtime.
I've used those approaches before and they can be extremely fast, especially when you manage thread synchronization yourself.
|
|
|
|
|
We are very pleased and excited to announce the availability of the Project System Extensibility SDK. With it, you can define a new project type and begin writing extensions to customize the user experience or add features in just a few minutes while owning very little code. When projecting your next project
|
|
|
|
|
This is one of those things that looks to be absolutely brilliant but which I have absolutely no idea how or why I'd actually use it. Anybody else see a good use case?
|
|
|
|
|
Maybe you wanted to integrate a new language into the Project system. That's all I've got.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
I'm actually working on a project that mixing ASP.NET Forms with MVC - I made it possible by adding some extensions, however defining a new project type shoudl be easier...
(To be honest it is possible ot define new project types even today, but it is a bit too complicated so I decided to do it with extensions, maybe the new SDK will make new project types easier)
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
I'll be using this to create a RealSense Project type for Visual Studio. There are too many steps that you have to go through right now and this would simplify it enormously.
|
|
|
|
|
A new plea for privacy rights from Apple's CEO. Says the CEO of one of Silicon Valley's most successful companies
|
|
|
|
|
|
The gap between Windows and Linux system administrators is shrinking with Microsoft's support for OpenSSH. "It's, oh, so quiet. Ssh. Ssh."
|
|
|
|
|
CQRS isn’t the latest cool toy of software pundits. It’s not even as complex as most available examples imply. Simply stated, CQRS is a concrete implementation pattern that’s probably most appropriate for nearly any type of software application, regardless of the expected lifespan and complexity. Oh look, a new month, a new issue of MSDN Magazine!
|
|
|
|
|
Oh look - the codeplex CQRS modelling tool[^] I have been working on in a quiet dark silo for a couple of months might get to see the light of day...
..or maybe not (resumes fight to the death with Visual Studio modelling SDK)
|
|
|
|
|
I came across CQRS late last year when a colleague pointed me in the direction of DDD, event-sourcing and CQRS. It's great to see an article that makes it simple to implement in practically any project. I suspect part of its lack of widespread adoption is that its simply viewed as an enterprise pattern that isn't applicable for use in the everyday application.
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare
Home | LinkedIn | Google+ | Twitter
|
|
|
|
|
With Apple and Google both warmly embracing the new USB-C connector in their new computers this year, the fate of the fast, but rarely used, Thunderbolt standard was coming into question. We're down to one type of connector! Something must be done.
|
|
|
|
|
I would put my trust in Apple in this case.
|
|
|
|
|
It's about EFFING TIME!!!!!!!!!!!!!
#SupportHeForShe If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
Only 2 things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein
|
|
|
|
|
|
Over the past few years, SourceForge (launched by VA Linux Systems in 1999 and now owned by the tech job site company previously known as Dice) has made it a business practice to turn abandoned or inactive projects into platforms for distribution of "bundle-ware" installers. "You can check-out any time you like, but you can never leave!"
|
|
|
|
|
Microsoft is rebranding its Skype Wi-Fi service and working to make it available in new ways to consumer and business users. "All we hear is radio ga ga"
|
|
|
|
|
What's the next big opportunity for developers after mobile? Distributed systems may be the answer, according to Eric Frenkiel, the cofounder and CEO of MemSQL. Good thing I didn't buy a 'Get well' card then
|
|
|
|