I know VC++ and C# fairly well, but I'm trying to weigh pros and cons
for use of each on a music project. It will entail MIDI and sample
playback, use of fairly high-res timers (if available) and quick
(realtime) update of screen graphics.
I've written similar programs, but not under .NET. I'd love to use
C#, but I'm concerned about speed and access to lower level code, if
that becomes necessary.
I realize that I could use PInvoke to call the old graphics Bitblt for
speed, etc. And I can drop to unmanaged C++ if necessary for some
runtime functions.
I guess the main question is whether it's worth writing any of it in
C#, given the amount of time-critical code, though I do love the
quick dev time of C# and absence of tedious function prototypes, etc. 3 1396
Well, Vertigo Software ported Quake II to managed C++
( http://www.vertigosoftware.com/Quake2.htm), and, according to them,
the performance was very close to the original C version developed by
id Software.
While it was done in managed C++, and not C#, and it's a game, not a
music authoring application, I think it's very relevant to what you are
trying to do. One can conclude that, in general, C# and .NET are
suitable for non-mission critical real time applications.
Of course, your mileage might vary.
Well, Vertigo Software ported Quake II to managed C++
( http://www.vertigosoftware.com/Quake2.htm), and, according to them,
the performance was very close to the original C version developed by
id Software.
While it was done in managed C++, and not C#, and it's a game, not a
music authoring application, I think it's very relevant to what you are
trying to do. One can conclude that, in general, C# and .NET are
suitable for non-mission critical real time applications.
Of course, your mileage might vary.
For Quake the actual code was in C++ (native), so for them it was easy to
convert in managed C++ than any other NET languages. It's better to
experiment in CLI, I don't think you will get an edge over C# if you use MC++
"Mohammad" wrote: Well, Vertigo Software ported Quake II to managed C++ (http://www.vertigosoftware.com/Quake2.htm), and, according to them, the performance was very close to the original C version developed by id Software.
While it was done in managed C++, and not C#, and it's a game, not a music authoring application, I think it's very relevant to what you are trying to do. One can conclude that, in general, C# and .NET are suitable for non-mission critical real time applications.
Of course, your mileage might vary.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: DrUg13 |
last post by:
In java, this seems so easy. You need a new object
Object test = new Object() gives me exactly what I want.
could someone please help me understand the different ways to do the
same thing in...
|
by: _R |
last post by:
I know VC++ and C# fairly well, but I'm trying to weigh pros and cons
for use of each on a music project. It will entail MIDI and sample
playback, use of fairly high-res timers (if available) and...
|
by: _R |
last post by:
I know VC++ and C# fairly well, but I'm trying to weigh pros and cons
for use of each on a music project. It will entail MIDI and sample
playback, use of fairly high-res timers (if available) and...
|
by: PJ6 |
last post by:
I've read some of the posts on this subject but let me add this little twist
to the subject's question- I can appreciate the utility of doing screen caps
off of other websites with PSP or PhotoShop...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |