Others

Topics related to other OS.

Compiler Optimization Techniques PART -I

code optimization is a technique in which the code is transformed to improve the performance. Performance here can be execution time, code size or both.

Now, let me start away with the common techniques used.

Optimization Techniques -

1. Copy Propogation

copy propagation is the process of replacing the occurrences of targets of direct assignments with their values

ex :
int foo ( void )
{
int x, y = 3;
int z;

x = y;
z = 25 + x;
}

this can be optimized as follows :
int foo ( void )
{
int x, y = 3;

Tech Talk About C++ and C : Extensive C++ and C FAQ

Tech Talk About C++ and C : Extensive C++ and C FAQ

Discuss related issues in give link..
1. What book do you recommend?
2. Where is the FAQ for the various C and C++ newsgroups?
3. Can I really get the C++ Standard electronically for $18?
4. Can I get Standard C electronically too?
5. What's wrong with code that uses void main()?
6. What about returning from main()?
7. Where does the int returned from main() go?
8. What's the difference between endl and '\n'?
9. Why can't I fflush(stdin), or any input stream??
10. How do I remove all chars from a stream??

(TUTORIAL) C++ Programming Language Tutorials

C++ Programming Language Tutorials

Lectures Handouts

1. Overview of the C-portions of C++ (e.g., loops, structs, arrays, basic data types, etc.)

2. A quick tour through C++, focusing primarily on classes, templates, inheritance, and dynamic binding.

3. An extensive tour through C++ language features, illustrating the major and minor differences compared with C.

4. An in-depth look at defining abstract data types in C++, focusing primarily on classes, templates, and exception handling.

5. An in-depth look at C++ single and multiple inheritance.

(TIPS & TRICKS) C++ Pitfalls, by: Cay S. Horstmann

C++ Pitfalls, by: Cay S. Horstmann

C++ Pitfalls with Source Code EXAMPLES

What is a pitfall?
Constructor pitfalls
Destructor pitfalls
Stream pitfalls
Overloading pitfalls
Exception pitfalls
Container pitfalls


Click on the link to see the Article...

Courtesy:
http://www.horstmann.com/cpp/pitfalls.html

(INTERVIEW) An interview with Bjarne Stroustrup

An interview with Bjarne Stroustrup

An interview with Bjarne Stroustrup
— In this interview, Bjarne Stroustrup, the creator of C++, talks about the object-oriented revolution, the rigors of real-world software development, the continuing divergence of C and C++, and some additions to the C++ standard that he'd like to see. (2,000 words)

http://linux.sys-con.com/read/32929.htm

Other Interview Links:

http://www.eptacom.net/pubblicazioni/pub_eng/stroustr.html

Syndicate content