Mixing managed and unmanaged code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paul.Lee.1971

    #1

    Mixing managed and unmanaged code

    If I had two C++ classes, identical in just about every way, except
    that one was managed and the other wasn't, what speed benefits, or
    pitfalls would occur if they called native unmanaged C++ code?

    TIA

    Paul
    --


  • Paul.Lee.1971

    #2
    Re: Mixing managed and unmanaged code

    On 5 Mar, 15:06, "Paul.Lee.1 971" <Paul.Lee.1...@ googlemail.comw rote:
    If I had two C++ classes, identical in just about every way, except
    that one was managed and the other wasn't, what speed benefits, or
    pitfalls would occur if they called native unmanaged C++ code?
    >
    TIA
    >
    Paul
    --http://www.paullee.com
    I've done some more research on this and there is a horrible daisy-
    chaining cascade of function calls:

    function A calls function B // function A is managed C++, B isn't
    B calls C // in this format B(C()); C is managed C++
    C calls D // D is unmanaged C++

    what would this call chain do the latencies in the programme. Roughly
    speaking ;)

    TIA

    Paul

    Comment

    Working...