Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » Is there a simple CGI library developed with U++?
Re: Is there a simple CGI library developed with U++? [message #23676 is a reply to message #23674] Thu, 12 November 2009 14:54 Go to previous messageGo to previous message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
forlano wrote on Thu, 12 November 2009 12:31

The "new" operator that appear everywhere is really annoying and to me, used to U++ style, looks very stupid. I am not an expert and wonder why all other GUI like so much the "new" operator and which adavantages it offer if any and at which cost.


The new operator introduce "lag" in your application because memory allocation takes time and also increase the memory footprint because it need "extra" pointers. If you compare two applications with and without new operator usage you'll see that. The only benefit is the small size of executable and of course when you don't know at compile time the size of the object you have to keep in memory. Well there is one more, you may store the implementation of class in a library and hold in executable only a pointer to it.

Andrei
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Example Hello World Client/Server Broken?
Next Topic: request: Socket working example
Goto Forum:
  


Current Time: Tue Aug 26 13:37:37 CEST 2025

Total time taken to generate the page: 0.12675 seconds