Zhava !

Zhava, Azhgo, Compizherzh and muzh mhore

Sunday, August 17, 2008

OpenMp for parallelism

›
Using OpenMp is one way to exploit multi-cores using shared memory parallelism (as against Message Passing Interface which is more suitable ...
1 comment:
Saturday, August 02, 2008

Resolving Hash Collisions

›
Two main techniques for resolving hash collisions: [1] Direct Chaining : When a hashed location is already occupied, the new key and its dat...
2 comments:
Friday, June 13, 2008

Use of setjmp/longjmp

›
Basically these were calls that are used to recover from exceptional situations for a C program running on UNIX. It works as follows: Suppos...
2 comments:
Tuesday, June 10, 2008

C++: Buffer Growth and STL vector

›
What's the best strategy for managing Buffer Growth ? For example, in STL vector class, initially the vector may be allocated some space...

Thunks

›
* A thunk is a small subroutine used for a variety of purposes like : - Implementing call by name in Algol - Providing a way of mat...

Behind malloc() and free()

›
* Whenever we use malloc(), if it finds that memory is not available within the data segment of the process, (as a last step ) it internally...

Worst case Number of Phi Nodes in a SSA graph

›
Q. What is the worst case number of phi functions in a SSA graph ? It could be O(N^2). Consider this program: while (...) { while (.....

The alloca routine: Stack allocation

›
The alloca routine allows a C program to allocate memory on the stack instead of the heap. The advantage is that this memory is cleaned up ...

Pointer Analysis: C vs Java

›
* Stack variables and Heap : In case of C/C++, objects are allocated on the stack (not just scalar locals/pointer variables). So, we can ma...

Just In Time Compilation

›
A Just in time compiler is one which is somewhat mid-way between an interpreter and a static compiler. Historically, JITs were design to ove...
Monday, October 30, 2006

Questions and more questions

›
1. Which one of the following order would result in a better code generation : (a) Instruction Scheduling and then Register Allocation ...
Tuesday, October 04, 2005

GCJ, StringBuilder & Escape Analysis

›
Sun has recently introduced the 'StringBuilder' class which is meant to be an unsynchronized version of the StringBuffer class in JD...
Friday, September 16, 2005

Computing Square Root, Fixed Point Iteration & Lisp

›
A function is said to have reached a fixed point when f(y) = y. We can use this to find the square root of a function. Guess a value fo...
›
Home
View web version
Powered by Blogger.