General > Off Topic

This two codes do the same thing...

<< < (3/3)

Botsareus:

--- Quote ---It was definitely an exercise in frustration trying to get anything in vb6 to run efficiently.
--- End quote ---

I have a feeling it gotten easyer in .NET, but I still want to know 'how' it is easyer ...

Numsgil:
It's a lot easier, actually.  The JITter that .NET uses is pretty clever and can eliminate a lot of code overhead.  The main downside vs. C or C++ in terms of speed is mainly that you don't really have access to any SIMD commands.  If you're adventurous you can write some wrappers around C functions and call them from C# tho.

Botsareus:
I guess they got rid of SIMD to keep it sane for the users that prefer VB.NET.

Can I get some kind of picy on how the .NET JITter looks like?

Numsgil:
I think they avoid SIMD to make it easier for the intermediate language to be machine independent.

Google around for C# and JIT, and you should learn more of the details.

Navigation

[0] Message Index

[*] Previous page

Go to full version