Tuesday, October 30, 2007
MIX..
Friday, October 19, 2007
On Channel 8 !!
The interviews we (me & Marwan -AAST MSP-) made during the Expression Around the Clock event are now in the 'recent news' on Channel 8.. Check it out..
Wednesday, October 17, 2007
Programming Languages History
Sunday, October 07, 2007
Mixed Assembly
C++ supports the use of ATL, MFC, SCL, and the CRT libraries as mixed assemblies compiled with /clr. These mixed libraries allow you to use all of their existing functions when your code contains a mixture of native code and MSIL code.
Performance Consideration while using Interoperability: Regardless of the interop technique used, special transition sequences, called "thunks", are required each time a managed function calls an unmanaged function, and vise-versa. These thunks are inserted automatically by the C++ compiler, but it's important to keep in mind that cumulatively, these transitions can be expensive in terms of performance.
Both techniques require two things to happen whenever a managed function calls an unmanaged function:
- The function call arguments are marshaled from CLR to native types
- A managed-to-unmanaged thunk is executed
- The unmanaged function is called (using the native versions of the arguments)
- An Unmanaged-to-managed thunk is executed
- The return type and any "out" or "in,out" arguments are marshaled from native to CLR types
Try it.. (In order to enable compilation for both native & managed, change the project properties (Project properties >> General >> Common Language Runtime Support >> Choose Common Language Runtime Support (/clr)))
For Extra info check the MSDN
Thursday, October 04, 2007
Photosynth..
I just like to end with a sentence said by Blaise Aguera when we made an interview with him.. he said ::