C# as a realtime language...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Aerogroove
    FFR Player
    • Jul 2004
    • 140

    #1

    C# as a realtime language...

    Im beggining programming on a virtual instrument plugin, but im not sure which language to use. On one hand, I'm more skilled and familiar in C# than C++ but am worried that the speed of C# will hinder my program. This program needs to be able to pass audio streams back and forth with minimal lag, almost in realtime.

    Is C# capable of this without significant slowdown?
    Is working with audio streams easier in C++ or C#?
  • soccr743
    FFR Player
    • Dec 2003
    • 549

    #2
    RE: C# as a realtime language...

    Well, I assume you would be considering using Microsoft's DirectX library for sound in both? If you are, then there is a neglible speed difference between them. I mean there will honestly be no need for so much speed as to not use C# (Especially with .NET Framework 2.0 which should be available and you might already have it).Anything that can be done in C++ or C# is probably easier in C# as a general rule of thumb.

    And you have to remember, that the only real speed issue is starting up the program. Other then that, they are fairly equal in speed.

    -----Soccr743-----

    Comment

    • Aerogroove
      FFR Player
      • Jul 2004
      • 140

      #3
      RE: C# as a realtime language...

      i was thinking vst as opposed to dx.

      Comment

      • soccr743
        FFR Player
        • Dec 2003
        • 549

        #4
        RE: C# as a realtime language...

        No experience with that. I just know that DX libraries in C# are 99% as fast as in C++...

        So, since I assume you are developing on a windows machine, use the DX library. You can find it on Microsoft's site.

        -----Soccr743-----

        Comment

        Working...