C# and Inline Assembly
Programming January 19th, 2008Inline assembly was a technique to use I386 assembly language directives in a C++ code. Programmers often use this technique to gain speed at intense calculations. However C# is far away from this concept, being lack of such a need, C# stands as a limited programming language against C++. According to some gossip, they are considering to add this in Whidbey.
However you may not want to wait for Whidbey, yes it is said to be there exist some solutions, (I heard this from one my programmer friend). Surprisingly the idea seems very interesting to me. The point is that you call assembly functions from a DLL, so the only thing that differs is coding, you just call some functions to make your calculations in machine language, and as a result. you acquire the indispensable augmentation in performance.
Never tried this method, but I will definitely try, in the following posts I may expose it with some code samples. Another important point that you may use this method in VB.NET also, as you can use the DLL in a same manner. Goodbye until to next post!
Technorati Tags: Assembly, C#, VB, NET, Inline, Inline Assembly, C#.NET, VB.NET
Some other posts that you may like :
What's the world is getting busy with since last week ?Pattern ( Digit & Alphabet ) Recognition using Matlab's Neural Network Toolbox
10 Things make you die earlier
3 Easy Steps To Transform Your Old XP Desktop to a Fresh Vista Looking Desktop!
Coolest Robot Ever : Asahi Beer Robot V.2
Mechanical Head
Wireless Pen Mouse
Lenovo 3000 V200 Has Now Santa Rosa
BigVarsity
HP Pavilion HDX Gaming Notebook
January 19th, 2008 at 11:14 pm
[...] However C# is far away from this concept, being lack of such a need, C# stands as a limited programming language against C++. According to some gossip, they are considering to add this in Whidbey. However you may not want to wait for … read more [...]