LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 779 users online 158068 members 2034 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Video | Dictionary | News | FAQ
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
7 online / 32 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic

C#
Your thoughts..
Replies: 5Last Post Dec. 4, 2004 3:10am by kerb
Single page for this topic Email Print Favorite
( sakurag )


Dairy Product Addict

Ad Free
Reply
I have been developing an application in C#.  The application is an Image Processing program, for doing simple and complex actions.  Though C# is great for rapid development of GUI's, I've found that it lacks in speed from standard C/C++.  

This is something very discouraging.  If anyone here is a C# expert, I would like some input here.  Is there a faster way of doing the unsafe BitmapData stuff?  

-------
I've got spurs that jingle jangle jingle.
As I go riding merrily along.
And they sing, "Oh, ain't you glad you're single?"
And that song ain't so very far from wrong.


10:03 pm on April 12, 2004 | Joined Oct. 2002 | 460 Days Active
Join to learn more about sakurag Washington, United States | Straight Male | 1892 Posts | 8074 Points
undieable


Dairy Product Addict
Reply
I'm not a C# programmer, so I can't give you too much help, but one interesting thing that I do know is that apparently C# .NET is actually faster than C++ (non-.NET) with the upcomming compiler and stuff.  I think C++ .NET is still faster, though.

4:30 pm on Sep. 9, 2004 | Joined Aug. 2004 | 71 Days Active
Join to learn more about undieable New York, United States | Male | 841 Posts | 1565 Points
ReeprFlame


Quality Control Engineer
Reply
Its developed by Microsoft. Of course it is slow. I'm not an expert at c++ but I certaintly never would learn C Sharp. Maybe Try Java...its going to exist longer, have more widescale uses, etc.

-------
The basic rules of EMS
1. Pink is good, blue is bad / 2. All bleeding EVENTUALLY stops. / 3. If you drop the baby, pick it up

8:22 pm on Nov. 29, 2004 | Joined Oct. 2003 | 50 Days Active
Join to learn more about ReeprFlame New Jersey, United States | Straight Male | 268 Posts | 784 Points
( sakurag )


Dairy Product Addict

Ad Free
Reply
Quote: from ReeprFlame at 8:22 pm on Nov. 29, 2004

Its developed by Microsoft. Of course it is slow. I'm not an expert at c++ but I certaintly never would learn C Sharp. Maybe Try Java...its going to exist longer, have more widescale uses, etc.

I think you may be a little closed minded to trying new programming languages.  Here in wa state, .NET/C# is all the buzz, of course, we have MS sitting on our doorstep

-------
I've got spurs that jingle jangle jingle.
As I go riding merrily along.
And they sing, "Oh, ain't you glad you're single?"
And that song ain't so very far from wrong.


9:05 pm on Dec. 1, 2004 | Joined Oct. 2002 | 460 Days Active
Join to learn more about sakurag Washington, United States | Straight Male | 1892 Posts | 8074 Points
GamerX


Dairy Product Addict
Reply
I've tried C#, excellent for developing GUIs but that's about it. It's really easy to draw to make dialogues like in VB but it also adds the power of Java.

I think it still lacks the versatility of C++. Althoguht C# wasn't meant to be a replacement for C++.

-------
Take back the web! GetFirefox.com


11:29 pm on Dec. 3, 2004 | Joined Nov. 2003 | 112 Days Active
Join to learn more about GamerX British Columbia, Canada | Straight Male | 140 Posts | 1273 Points
kerb


Grasshopper
Reply

I've tried C#, excellent for developing GUIs but that's about it.

Bullshit.  First C# as a language is insignificant, but the .NET Framework is what really leverages its capabilities above and beyond C/C++.  Personally, I'm a Unix freak and have a distaste for Microsoft's proprietary languages and API's, but what they did here with C# and .NET is not negligible.  In fact, it is leaps and bounds above the other obvious option:  Crap^H^H^H^HJava.  Java was originally designed as an embedded language for writing applications on toasters and cell phones.  While Sun was busy cashing in on the dotcom craze and pushing Java to help sell SPARC boxes, they forgot that Microsoft still has the dominant desktop user base.  As a result, the Java runtime was, and still is, crap.  It runs like shit.  About the only place Java runs acceptably is persistent server-side network/database applications.  Back-end stuff.  What's really funny is that while the Sun Java team has been trying to "keep the bad stuff from C/C++" from tainting their language, they are now returning back to C/C++ features!  Java 1.5 just added enums, which have been in C/C++/C# since day one.

My point is that after using Java and C# in quite a few projects, I've come to the conclusion that C# is a "better Java."  It runs with much lower runtime overhead and doesn't really try to stray away from C++ that much as Java tries to.  I mean, C# still allows you to mess with pointers and shit (via the "unsafe" keyword), and the best part is, if you need to link with existing C/C++ code or libraries, you just recompile the C/C++ sources using CL with the /clr flag, and bingo, link that shit with C# and you're ready to go.  The Java JNI route is a mess and still slow.  Look at the POS project Eclipse that is going nowhere.

Anyway, C# is alright.  C/C++/Java are not going to be gone anytime soon--they are certainly not going to be deprecated by C#, but C# has its niche and certainly will be a bigger role in future programmer's jobs than Java will ever be.

(Edited by kerb at 3:14 am on Dec. 4, 2004)

-------
Long live FreeBSD!  www.freebsd.org


3:10 am on Dec. 4, 2004 | Joined Dec. 2004 | 4 Days Active
Join to learn more about kerb Washington, United States | Male | 15 Posts | 55 Points
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic