U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » Ptr improve
Re: Ptr improve [message #32619 is a reply to message #32560] Sat, 28 May 2011 20:57 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
cbpporter wrote on Tue, 24 May 2011 16:44


GC proponents have been hyping at least three things: no memory leaks, the advantage on parallel computing caused by a functional style combined with GC enabled more frequent allocations done to enable immutable data structures and and the responsiveness of allocation and deallocation.



I would say that the partial problem here is that there was huge development invested in GC, but much less in traditional malloc/free.

That said, I believe that the current iteration of U++ allocator is close to optimal and is able to beat any GC easily...

BTW, cross-thread free's are already deferred in U++ allocator - but that simply happens "behind the scene"... Smile In-thread deallocation is usually about as 'complex' as one simple test, one load from memory and linking single element to the the double-linked list...

Mirek

[Updated on: Sat, 28 May 2011 21:05]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FIX: UPP::Scan returns int64 for INT_V
Next Topic: GetCurrentDirectory() Doesn't contain the \ is this a bug?
Goto Forum:
  


Current Time: Thu Sep 10 08:10:18 GMT+2 2026

Total time taken to generate the page: 0.01242 seconds