Solved

Interpolability and some basic quaestions

Posted on 2003-11-27
3
582 Views
Last Modified: 2007-12-19
- Is the .Net framework available for Linux/Unix or other operating systems bar windows?
- Is C# an interpreted language? Are C++ programs faster?
- Do I need cross comipler/IDE to make my C# program executable on platforms other than windows?
0
Comment
Question by:auk_ie
3 Comments
 
LVL 7

Accepted Solution

by:
sftweng earned 150 total points
ID: 9835623
Currently the .NET framework is implemented only for Windows. That may change eventually through the efforts of companies like Borland but remember that .NET originated with Microsoft, who have an interest in not competing with their own product, Windows.

C# is a compiled, not interpreted language. Currently, C++ programs can probably be made to be faster than those in C#, however this is probably not always true. Since C# adopts a much safer strategy, e.g., by controlling pointers much more effectively and using stronger typing, it becomes feasible to throw away runtime checking. It's also inherently MUCH more secure.

You will currently need to translate C# programs to another language to implement on other platforms. You might like to check out Delphi or Modula-3; many of the improvements in C# were pioneered in these languages. Eventually, I don't doubt that third party tool developers like Borland will release C# and .NET bridges for non-Windows environments.

Another strategy in a mixed environment would be to partition a solution using "remoting" and "marshaling", e.g. with SOAP or Web Services.
0
 
LVL 10

Assisted Solution

by:ptmcomp
ptmcomp earned 50 total points
ID: 9836424
If you want it to work on every platform Java is still the best.
Weather C# or C++ is faster depends on the kind of application you write. If you need a lot of WinApi calls and may be even hardware access C++ (or Delphi) is faster since it doens't have the marshalling overhead. But 100% managed code can be much more efficient than C++!
0
 
LVL 11

Assisted Solution

by:Agarici
Agarici earned 50 total points
ID: 9838569
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Video Player 2017 5 25
What namespace do I need to import? 2 29
C# bracket error 3 31
Call windows 10 virtual keyboard from windows forms app 2 36
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question