![]() |
|
|
#1 |
![]() Join Date: Nov 2006
Location: Athens in love with Anna :)
Posts: 253 (0.11/day)
Thanks: 28
Thanked 65 Times in 24 Posts
|
C# fans join here!
Although I am not a professional programmer, I learned about C# in 2005.
Then I loved and I still use it. Nowdays I am trying to extend my knowledge on advanced topics. BTW I read ANSI C and C++ books sometimes. Beside of them talk for yourself ![]() I wish to be friend with many TPU C# fans here!
Last edited by MrSeanKon; Dec 6, 2012 at 11:36 PM. |
|
|
|
|
|
#2 |
|
Fishfaced Nincompoop
Join Date: Feb 2006
Location: Sweden
Posts: 7,870 (2.98/day)
Thanks: 1,075
Thanked 1,443 Times in 1,149 Posts
|
I'm kinda learning C (to program Atmel stuff with) but it's slooooooow for various reasons. It is very interesting though and I hope hope I can pick it up sooner or later.
__________________
Typemachine: Acer Aspire One D250 | Atom N280 1.6 Ghz | 1GB DDR2 | 160GB SATA | 10.1' 1024 x 600 | Lubuntu 12.10 Oldbox: HP D530 | Pentium 4 2.8 Ghz | 1GB DDR | 40GB | Windows XP "The 'gentle biker' look is overdone. I'm going for 'psycho hillbilly.' " |
|
|
|
|
|
#3 |
![]() |
I am fan of C++, but to say the truth, the speed of C# to humans, is great.
C++ needs like 6 years to be expert and whatever people throw to you, you will digest it. C# needs like 6 months to start creating programs C is a good language, this is why they invented C++.... |
|
|
|
|
|
#4 |
![]() Join Date: Nov 2006
Location: Athens in love with Anna :)
Posts: 253 (0.11/day)
Thanks: 28
Thanked 65 Times in 24 Posts
|
You mean ANSI C??
![]() Not C++ (whatever edition MFC or Visual C++ etc)... I thought that C# is one of the slowest programming languages. Aleksander of course C# is easier compared with Visual C++, MFC damn is too difficult!! |
|
|
|
|
|
#5 |
![]() Join Date: Sep 2004
Location: Poland,Slask
Posts: 1,101 (0.35/day)
Thanks: 200
Thanked 173 Times in 141 Posts
|
Comparing C++ to C# in terms of performance is like comparing a Ferrari to a VW GOLF.
I think what he meant was that learning curve is slow.
__________________
"Let me noobilize you"
|
|
|
|
|
|
#6 |
![]() |
Does C# have memory allocation?
Or translated in a more programming way: Dynamic memory? |
|
|
|
|
|
#7 | |
|
Hardcore Monkey Moderator
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,110 (5.28/day)
Thanks: 591
Thanked 5,488 Times in 2,932 Posts
|
Quote:
One could argue that since the de-allocation of resources is completely determinist and the GC in C# is not, that you could tune a C++ program to perform better. The GC algorithms in C# are mighty close, however, and only in a performance critical application will you see a real difference. There are advantages to both languages which really need to be assessed at design time.
__________________
Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other. Get more tech news on a wide variety of topics at NextPowerUp
|
|
|
|
|
| The Following User Says Thank You to Kreij For This Useful Post: |
|
|
#8 |
![]() Join Date: Nov 2006
Location: Athens in love with Anna :)
Posts: 253 (0.11/day)
Thanks: 28
Thanked 65 Times in 24 Posts
|
I think no.
But I am not 100% sure. The first editions did not support unsafe code programming such as pointers. But the latest editions of course support pointers. On the other hand you can embed C or C++ code inside C# easily. Thus no problem
|
|
|
|
|
|
#9 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,566 (6.29/day)
Thanks: 1,752
Thanked 2,594 Times in 1,959 Posts
|
Unsafe existed in at least Visual Studio .NET 2003 (Framework 1.1). The unsafe keyword also existed since at least 2003.
C# handles memory allocation and garbage collection automatically.
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } |
|
|
|
|
|
#10 |
![]() |
This is really bad, because first of all you have no control of what is happening.
Second, that is not optimized with your program of choice. C# looks more like PHP and C++ mixed |
|
|
|
|
|
#11 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,566 (6.29/day)
Thanks: 1,752
Thanked 2,594 Times in 1,959 Posts
|
I've never encountered problems with memory management using C#.
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } |
|
|
|
| The Following User Says Thank You to FordGT90Concept For This Useful Post: |
|
|
#12 |
![]() |
What if you create a 3D program, like Far Cry 3 and than lets have a talk
|
|
|
|
|
|
#13 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,566 (6.29/day)
Thanks: 1,752
Thanked 2,594 Times in 1,959 Posts
|
http://www.google.com/search?q=3D+XN...w=1360&bih=668
XNA uses a Direct3D backbone. Terraria is probably the most successful XNA title. It isn't 3D though. This has nothing to do with capabilities but more that big gaming houses have always developed in C/C++ and they aren't inclined to change. C/C++ also makes it easier to port to OpenGL for a Mac/Linux release.
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } Last edited by FordGT90Concept; Dec 28, 2012 at 01:11 AM. |
|
|
|
|
|
#14 | |
![]() Join Date: Jun 2009
Location: Chicago
Posts: 215 (0.15/day)
Thanks: 96
Thanked 49 Times in 39 Posts
|
Quote:
I primarily work with C++/CLI and .net 4.0 but moving more towards C#. However, I use C# and the .net MF for smaller embedded devices/applications and absolutely love it. Thinking about putting something together for a high altitude balloon mission, should be fun.
__________________
Last edited by parelem; Dec 28, 2012 at 01:10 AM. |
|
|
|
|
| The Following User Says Thank You to parelem For This Useful Post: |
|
|
#15 |
![]() Join Date: Jun 2010
Location: Wild Wild East
Posts: 4,512 (4.21/day)
Thanks: 2,297
Thanked 1,309 Times in 896 Posts
|
big fan of C++
<------------------------------right here |
|
|
|
|
|
#16 |
|
Banned
Join Date: Jul 2008
Location: Dhaka, Bangladesh
Posts: 280 (0.16/day)
Thanks: 151
Thanked 70 Times in 54 Posts
|
I like C#, better than the rest of the .NET languages, but not enough to be a fan... I am a fan of Java, maybe that is why I like C# as it looks more like Java.
|
|
|
|
|
|
#17 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,566 (6.29/day)
Thanks: 1,752
Thanked 2,594 Times in 1,959 Posts
|
If Java and C++ had a baby, it would be C#. C# uses a virtual machine like Java but it also maintains key features of C++ (like unmanaged memory pointers and portable executable format).
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| My War3 Cant Join Other Ppl Game But People Can Join Mine | poppy567 | Games | 12 | Jun 19, 2009 02:55 AM |
| [FS][US] Any Thinkpad fans in here? 2 T60ps with FireGL V5200! | R-T-B | Buy/Sell/Trade/Giveaway Forum | 10 | Jun 2, 2009 06:36 AM |
| For X1650 Fans Post Here! | vampire622003 | Graphics Cards | 7 | Jan 5, 2008 03:53 PM |