473,385 Members | 1,898 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

For assembly, C# or VB or C++ ?

I am creating a project, which would have many assemblies in future.
The question is if I have a choice which language is better to create the
assemblies.
Or, there is no clear advantages one over another?
Jul 22 '05 #1
8 1172

"Irene" <Ir***@discussions.microsoft.com> wrote in message
news:15**********************************@microsof t.com...
I am creating a project, which would have many assemblies in future.
The question is if I have a choice which language is better to create the
assemblies.
Or, there is no clear advantages one over another?


You can mix and match them as you wish, to best suit whatever the assembly
does.
Jul 22 '05 #2
Are you implying that no language is better than others?
"Better" I mean that is "runs faster" or "make a smaller" or "easier to
design."

"Daniel O'Connell [C# MVP]" wrote:

"Irene" <Ir***@discussions.microsoft.com> wrote in message
news:15**********************************@microsof t.com...
I am creating a project, which would have many assemblies in future.
The question is if I have a choice which language is better to create the
assemblies.
Or, there is no clear advantages one over another?


You can mix and match them as you wish, to best suit whatever the assembly
does.

Jul 22 '05 #3

"Irene" <Ir***@discussions.microsoft.com> wrote in message
news:24**********************************@microsof t.com...
Are you implying that no language is better than others?
"Better" I mean that is "runs faster" or "make a smaller" or "easier to
design."

"Daniel O'Connell [C# MVP]" wrote:


In general, if you are writing managed code, then I would agree with that
implication.
Each language has some differences, but they all compile to pretty much the
same code.
For example, C# handles unsigned integers, while VB.Net does not.
But VB.Net handles late binding better than C#, and I find the IDE to be a
little more smooth.
In VS 2005, the current differences are further blurred making them even
more equal.
So it is more a matter of what are you most comfortable with and whether one
particular language has something in particular that you need that the other
does not.
Well written code in any of the languages will perform better than poorly
written code in another.
But all things being equal, when compiled they will all compile to the
almost the exact same code.

Gerald
Jul 22 '05 #4

"Irene" <Ir***@discussions.microsoft.com> wrote in message
news:24**********************************@microsof t.com...
Are you implying that no language is better than others?
"Better" I mean that is "runs faster" or "make a smaller" or "easier to
design."


No one is better than the other in any general sense. In specific
circumstances, maybe, but not in general.
Jul 22 '05 #5
Thanks millions, Daniel and Gerald.
All things considered, I guess no language is superior to others.
I was assumed that C# was better for the managed code, because it probably
was designed for .NET.
"Gerald Hernandez" wrote:

"Irene" <Ir***@discussions.microsoft.com> wrote in message
news:24**********************************@microsof t.com...
Are you implying that no language is better than others?
"Better" I mean that is "runs faster" or "make a smaller" or "easier to
design."

"Daniel O'Connell [C# MVP]" wrote:


In general, if you are writing managed code, then I would agree with that
implication.
Each language has some differences, but they all compile to pretty much the
same code.
For example, C# handles unsigned integers, while VB.Net does not.
But VB.Net handles late binding better than C#, and I find the IDE to be a
little more smooth.
In VS 2005, the current differences are further blurred making them even
more equal.
So it is more a matter of what are you most comfortable with and whether one
particular language has something in particular that you need that the other
does not.
Well written code in any of the languages will perform better than poorly
written code in another.
But all things being equal, when compiled they will all compile to the
almost the exact same code.

Gerald

Jul 22 '05 #6
I chose C# because the source code for the .NET platform is in C#. Makes it
easy to read the source and better understand what is going on behind the
scene.

Also, there are millions of lines of C and C++ code out there that can
easily be converted to C#. Especially handy when writing code for the
Compact Framework as it is missing many features that the desktop version of
..NET has and thus requires making API calls to get the desired
functionality.

"Daniel O'Connell [C# MVP]" <onyxkirx@--NOSPAM--comcast.net> wrote in
message news:OI**************@TK2MSFTNGP15.phx.gbl...

"Irene" <Ir***@discussions.microsoft.com> wrote in message
news:15**********************************@microsof t.com...
I am creating a project, which would have many assemblies in future.
The question is if I have a choice which language is better to create the
assemblies.
Or, there is no clear advantages one over another?


You can mix and match them as you wish, to best suit whatever the assembly
does.

Jul 22 '05 #7
I guarantee that C# is just as easy (probably easier since you know C++)
as VB.NET. I have been using VB since it was first released and I was
actually a beta tester for "Thunder" when I lived in Seattle in the early
90's so I am very familiar with VB.

You cannot just jump from VB 6 to VB.NET, you have to take the time to
learn the new syntax, true OOP, and the .NET framework. Since you have to
"learn" VB.NET anyway, why not just make the jump right to C#?

To tell you the truth the two languages are almost exactly the same. If
you learn one you can pickup the other in just a few days. But like I said,
there are millions of lines of C and C++ that you can use in C#. If you have
to make an WIN API call it is very easy coming from a C/C++ background, but
it you are a VB programmer then it is not as easy.

To me there is really no good reason to learn VB.NET. I admit that I
have written and released VB.NET apps, but it was after I learned C#. There
are also more jobs here in Austin, Texas for C# programmers and for some
reason the wages are still higher (just like C++ over VB).

My theory is, "Stick to the three C's" (C, C++, and C#) and you should
always be able to find a decent job. Just about all operating systems can
run the C's apps and most of the embedded programming is done in the first
two "C's".

Bye

"Irene" <Ir***@discussions.microsoft.com> wrote in message
news:F3**********************************@microsof t.com...
Thank you, Brooke.
Your comments are very much convincing.
As a C++ programmer, I incline to C# too.
But, for its simplicity, I am kind of attracted to VB also.

"Brooke" wrote:
I chose C# because the source code for the .NET platform is in C#. Makes
it
easy to read the source and better understand what is going on behind the
scene.

Also, there are millions of lines of C and C++ code out there that can
easily be converted to C#. Especially handy when writing code for the
Compact Framework as it is missing many features that the desktop version
of
..NET has and thus requires making API calls to get the desired
functionality.

"Daniel O'Connell [C# MVP]" <onyxkirx@--NOSPAM--comcast.net> wrote in
message news:OI**************@TK2MSFTNGP15.phx.gbl...
>
> "Irene" <Ir***@discussions.microsoft.com> wrote in message
> news:15**********************************@microsof t.com...
>>I am creating a project, which would have many assemblies in future.
>> The question is if I have a choice which language is better to create
>> the
>> assemblies.
>> Or, there is no clear advantages one over another?
>
> You can mix and match them as you wish, to best suit whatever the
> assembly
> does.
>


Jul 22 '05 #8
Hi, Brooke:
This is actually a good news for me, since I've heard the same story (VB6
and VB.NET are miles different), and I feel more comfortable with learning C#.

3 C's... Hey, I want 3 A's.
That's just a Friday afternoon joke.

Once again, your comments are very much appreciated.
Good luck.
Irene.

"Brooke" wrote:
I guarantee that C# is just as easy (probably easier since you know C++)
as VB.NET. I have been using VB since it was first released and I was
actually a beta tester for "Thunder" when I lived in Seattle in the early
90's so I am very familiar with VB.

You cannot just jump from VB 6 to VB.NET, you have to take the time to
learn the new syntax, true OOP, and the .NET framework. Since you have to
"learn" VB.NET anyway, why not just make the jump right to C#?

To tell you the truth the two languages are almost exactly the same. If
you learn one you can pickup the other in just a few days. But like I said,
there are millions of lines of C and C++ that you can use in C#. If you have
to make an WIN API call it is very easy coming from a C/C++ background, but
it you are a VB programmer then it is not as easy.

To me there is really no good reason to learn VB.NET. I admit that I
have written and released VB.NET apps, but it was after I learned C#. There
are also more jobs here in Austin, Texas for C# programmers and for some
reason the wages are still higher (just like C++ over VB).

My theory is, "Stick to the three C's" (C, C++, and C#) and you should
always be able to find a decent job. Just about all operating systems can
run the C's apps and most of the embedded programming is done in the first
two "C's".

Bye

"Irene" <Ir***@discussions.microsoft.com> wrote in message
news:F3**********************************@microsof t.com...
Thank you, Brooke.
Your comments are very much convincing.
As a C++ programmer, I incline to C# too.
But, for its simplicity, I am kind of attracted to VB also.

"Brooke" wrote:
I chose C# because the source code for the .NET platform is in C#. Makes
it
easy to read the source and better understand what is going on behind the
scene.

Also, there are millions of lines of C and C++ code out there that can
easily be converted to C#. Especially handy when writing code for the
Compact Framework as it is missing many features that the desktop version
of
..NET has and thus requires making API calls to get the desired
functionality.

"Daniel O'Connell [C# MVP]" <onyxkirx@--NOSPAM--comcast.net> wrote in
message news:OI**************@TK2MSFTNGP15.phx.gbl...
>
> "Irene" <Ir***@discussions.microsoft.com> wrote in message
> news:15**********************************@microsof t.com...
>>I am creating a project, which would have many assemblies in future.
>> The question is if I have a choice which language is better to create
>> the
>> assemblies.
>> Or, there is no clear advantages one over another?
>
> You can mix and match them as you wish, to best suit whatever the
> assembly
> does.
>


Jul 22 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Terence Shek | last post by:
Is there a way to set the application binding policy so that it always binds to the latest version of an assembly? I'm hoping there is a way to avoid updating the application's binding...
26
by: nospam | last post by:
Just wondering, What do you think the difference in performance would be between (1.) Compiled C# (2.) Compiled C++ (3.) and Assembly Language And how would the mix be if some if any of...
2
by: Carlos G Benevides | last post by:
I have a ASP.Net web application that has two assemblies that run under com+. Under Windows 2000 the two assemblies are added to com+ automatically when instantiated from the web site. For this...
10
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read...
7
by: R Reyes | last post by:
Can someone please explain to me why I can't get the MS Word Interop assembly to work in my VS2005 project? I'm trying to manipulate MS Word from my Web Form application and I can't get passed...
3
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here...
1
by: Tim F | last post by:
Problem: I'm receiving the error "File or assembly name XXXXX or one of its dependencies, was not found." when trying to execute code in an assmebly that has both a strong-name and has been...
2
by: Paul | last post by:
Hi, I have experience in Java and C++ but I am rather new to C# and just started learning it. I am using Visual C# 2005 Express Edition and I found that there is a file called "AssemblyInfo.cs",...
1
by: Coaster | last post by:
orig ref here http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/browse_thread/thread/ff29cc370678911d/c0db5b7e3da283b9?lnk=st&q=gac+assembly+new+version&rnum=7#c0db5b7e3da283b9...
14
by: Monty | last post by:
Hello, I have created a solution which has both a web UI and a winform UI, the latter is just for administrators. The Web UI (a Web Application Project) and the winform project both...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.