Emuforums.com

Go Back   Emuforums.com > General Discussion > Web development / Programming
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read

WON'T YOU JOIN US?
You are not a registered member and
are viewing this site as a guest.
Registration is simple and FREE.
Join this CrowdGather community today.
Registration offers the following perks:

» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging

join

Reply
 
Thread Tools Display Modes
Old May 9th, 2007, 05:42   #1
xZaRo
Registered User
 
xZaRo's Avatar
 
Join Date: Mar 2007
Location: Argentina
Posts: 231
in the future c/c++ or c#?

With the coming of the new Vista Windows, i have a doubt. follow in c/c++ win32 (native), or begin with c# on the .net platform...

I always programing with c/c++ and, the .net platform does not convince to me... My question is the following… and maybe is an idiot question, because c is over 30 years old and c++ has over 15 years old, but this languages can be begin to disappear to give place c#?.

thanks and sorry for my english
xZaRo.-
__________________
Windows XP Professional SP2 x64 / Windows 7 Ultimate beta 64bit / ASUS P5L-MX / Intel(R) Core(TM)2 CPU e6400 @ 2.13GHz (2133 MHz) / 2048 MB (DDR2-533 DDR2 SDRAM) / MSI GeForce 8600 OC Edition / Western Digital 320 SATA 2 7200RPM 16MB / DVD LG RW+ 16X Dual Layer / Viesonic VG 2021WM.




Dolphin SVN Builds r2239 (x86 & x64)
xZaRo is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old May 9th, 2007, 07:14   #2
Nucking Futs
Existentialist
 
Nucking Futs's Avatar
 
Join Date: Sep 2006
Location: Austria
Posts: 967
Well i guess they would disappear if a new unsupported kind of object orientation would appear which was waaay more powerfull than the current one. It doesn't look like it, so i guess it'll stay like this for a while. And as far as i know c# does not have that many advantages over c/c++
__________________
~ whoever calls himself an Existentialist does not understand the true meaning of that word ~

.: Armored Ninja :.
CPU: Core 2 Duo E4300 (@ 3.333 GHz) | Memory: Seitec 1024MB DDR2 RAM (@ 740 MHz)
GPU: Geforce 8800 GTS 320MB (Core Clock: Geometric Domain @ 648 MHz / Shader Domain @ 1512 MHz Memory Clock @ 972 MHz )
Case: Thermaltake Armor VA8000B | Cooler: Scythe Ninja Plus Rev. B | Mobo: GA-965P-DS3 | PSU: Corsair HX620W
Nucking Futs is offline   Reply With Quote
Old May 9th, 2007, 09:17   #3
Smooth Criminal
 
Smooth Criminal's Avatar
 
Join Date: Aug 2006
Location: india<<hyderabad..it rocks>>
Posts: 3,608
c/c++ would be around for the next five/ten years or so.coz they are the base for nearly everything
__________________


Quote:
and if I don't care , do I still get to suck your scrotum? please say yes xp
^^posted bysonic

Smooth Criminal is offline   Reply With Quote
Old May 9th, 2007, 10:09   #4
@ruantec
Crazy GFX coder
 
@ruantec's Avatar
 
Join Date: Nov 2002
Location: Dominican Republic/Austria
Posts: 8,119
as shafeen posted C/C++ will be around for many years(and hopefully for ever) but looking at new programming languages .net make a new future of programming in the Windows Platform. which means(my opinion) those languages will replace C/C++ in Windows.
and if you use other platforms then "Mono" is a great deal too.

about C#... it´s not because is my favorite language but...

C# has C++ and Java as base those two are probably the best programming languages around... and is so easy as VB(that makes me feel like in paradise ). so i think it can replace those languages in the future.

anyway there´s still C++.net which is great too taking in mind there´s no easy way to create drivers under C# atm.
__________________


Current development tools:

Visual C++.net, Visual C#.net
Visual VB.net, Visual Webdeveloper.net
Bloodshed Dev C++, Borland C++
Visual Basic 6

Last edited by @ruantec; May 9th, 2007 at 10:15..
@ruantec is offline   Reply With Quote
Old May 9th, 2007, 16:54   #5
Shin_Gouki
Registered User
 
Shin_Gouki's Avatar
 
Join Date: Jan 2003
Location: Europe / Germany
Posts: 902
in terms of C/C++ for "free" use i think "D" will replace or try to replace it.
But the System freaks which code for linux wont stop coding C for about at LEAST 30 years.

that has different ( some are quite understandable) reasons. It is also quite difficult to code efficient for VM languages like Java or C# because a great knowledge and experience about the VM is necessary. And to put that knowledge into coders brain ( also into school book , university and such) takes some time.

Many people who start with coding are confused by the pure MASS of existing programming languages and so they stick with what most people would tell them ( like for emu coding C/C++).
Its always hard to explore a language but it can more then worth it.
Shin_Gouki is offline   Reply With Quote
Old May 9th, 2007, 21:44   #6
xZaRo
Registered User
 
xZaRo's Avatar
 
Join Date: Mar 2007
Location: Argentina
Posts: 231
Thanks to all for answers… when begin to program, (i was leaving old qbasic of MS-DOS when i have 14 years and that previously i have programmed in BASIC with commodore 64 since I am 8 years old), Later i ask to some person, if i have to learn pascal or C and get thousands of answers of all type, and my brother said to me, "if you wanna to be a programmer, you must be learns c", and i begin with C for ms-dos (turbo c) and without almost problems i passes to c++ and later when windows 95 appears with visual c++.

With the appearance of c# i feel like as in those times… I love C, I am fanatical of that language. vb classic seems great when appears, but it was not what I liked since was not true executable and that I did not like.

With c#.. after watching it, and that I must confess that I like much, but just as vb classic he was not a true executable. .net which has not convinced me... the "executable" is easy to disassembler/decompiler with total facility. and if the target PC not have framework, this not work (this things make me crazy )

This morning I was seeing I disturb of turbo c++ explorer of borland, that is free like the packages of .net and that seems that it is "really visual" as c# but the difference is that it compiles in native code.

c# seems great... but .net platform, the compiler is very crappy for me, i know this can be portable, but i can take a source code of windows and port to Linux if i wanna to do that.

I'm man of a one language, turbo c++ explorer seems a good opportunity if I want something really "visual". But still if c# is going it to end up replacing this, i maybe to move to c#... seems something idiot, but I want to go ahead, i don't wanna be and extinct dinosaur in the future like my brothers is now.

Thank very much to all and excuse for my English
xZaRo.-
__________________
Windows XP Professional SP2 x64 / Windows 7 Ultimate beta 64bit / ASUS P5L-MX / Intel(R) Core(TM)2 CPU e6400 @ 2.13GHz (2133 MHz) / 2048 MB (DDR2-533 DDR2 SDRAM) / MSI GeForce 8600 OC Edition / Western Digital 320 SATA 2 7200RPM 16MB / DVD LG RW+ 16X Dual Layer / Viesonic VG 2021WM.




Dolphin SVN Builds r2239 (x86 & x64)
xZaRo is offline   Reply With Quote
Old May 10th, 2007, 00:57   #7
firyace
Registered User
 
firyace's Avatar
 
Join Date: Oct 2004
Location: fater
Posts: 808
Believe it or not, I got a job on programming a part of a biomedical research visualization software, and the language that I have to use is C, not C++ or C#.

I am pretty sure all of these languages will be here for a long, long time, due to the accessibility and the amount of people knowing it.

I actually have never touch C# before, is there a significant difference between C# and C or C++?
__________________

If you are looking at my sig right now you are either too bored or you seriously have nothing better to do

My Home made games

My Store
My Gaming computer spec :
AMD Phenom 8450|4x1Ghz OCZ PC6400|ANTEC Silent 3|BFG 9800GT OC |1x500GB Sata2 hard drive|19inch Viewsonic LCD


firyace is offline   Reply With Quote
Old May 10th, 2007, 06:18   #8
Coolsvilleman
Emulation to the max!
 
Coolsvilleman's Avatar
 
Join Date: Jan 2004
Location: Canada
Posts: 2,560
c# is microsofts solution to c++ and java. It is slightly slower when doing low level things such as 3D stuff but if you need a quick and dirty windows form or application its very easy to develop on. Also when using visual studio to develop it tends to add alot of junk code that is not needed. It really depends on what your developing for. Oh and I believe c# cannot be compiled on/for OSX since its microsoft... though can c/c++?
__________________
Q6600 Core 2 Quad || Soundblaster X-Fi Extreme HD || e-VGA 8800GTX || 4096mb 4-4-4-12-2T Dual-Channel RAM || MSI P6N Diamond || 2x 320GB Hardrive || 5.1 Speakers || Remote control || 8x USB 2.0 || DVD/CD ±RW Drive || 1x IEEE1394

www.coolsvilleman.homedns.org Normally down. E-mail me for a DVD @ coolsvilleman@gmail.com
Coolsvilleman is offline   Reply With Quote
Old May 10th, 2007, 08:19   #9
@ruantec
Crazy GFX coder
 
@ruantec's Avatar
 
Join Date: Nov 2002
Location: Dominican Republic/Austria
Posts: 8,119
Quote:
Originally Posted by Coolsvilleman View Post
Oh and I believe c# cannot be compiled on/for OSX since its microsoft... though can c/c++?
With Mono you can

Greetz

__________________


Current development tools:

Visual C++.net, Visual C#.net
Visual VB.net, Visual Webdeveloper.net
Bloodshed Dev C++, Borland C++
Visual Basic 6

Last edited by @ruantec; May 10th, 2007 at 08:36..
@ruantec is offline   Reply With Quote
Old May 10th, 2007, 19:01   #10
blueshogun96
Last Xbox Emu Author
 
blueshogun96's Avatar
 
Join Date: Jun 2004
Location: Seattle, WA, USA
Posts: 5,843
I wouldn't be supprized if Microsoft tried to phase out C/C++ with C#.net actually. If they can f00k up DirectX within a year or less, imagine what else they can do. I personally hate managed code (i.e. MFC, frameworks like XNA, etc.), but others like it so... I prefer more low level languages and APIs.
__________________

Official Website of Shogun3D's RyuAwai!

Shogun3D Game Development Blog

Zengjük a Dalt: Manliest Song Ever!
blueshogun96 is offline   Reply With Quote
Old May 10th, 2007, 20:19   #11
SisterCheeba
Nyu!
 
SisterCheeba's Avatar
 
Join Date: Apr 2007
Location: Ireland
Posts: 124
It wasn't that long ago people were having a very similar argument regarding c++ and assembler. As systems get more powerful, that extra bit of edge given by lower level code becomes less and less of an issue. I can't see c++ going away completely (the edge will always come in useful somewhere), but I can certainly see c# making major leaps in popularity among the programming community, not least because of the kind of push ms are giving it with XNA.
SisterCheeba is offline   Reply With Quote
Old May 10th, 2007, 21:55   #12
guest.r
Registered User
 
Join Date: Mar 2006
Location: emuforums
Posts: 293
"I personally hate managed code (i.e. MFC, frameworks like XNA, etc.)..."

Folks who still think "short code" = "fast code" simply love all kinds of pre-made stuff.
But theese "shortcuts" put some heavy margins on a person (IMO) and one can get lost after being indulged over a longer period.

IMO a healthy community really needs minimized, up to date and optimized core libraries instead of a bunch of overloaded spam.
guest.r is offline   Reply With Quote
Old May 11th, 2007, 16:28   #13
Shin_Gouki
Registered User
 
Shin_Gouki's Avatar
 
Join Date: Jan 2003
Location: Europe / Germany
Posts: 902
i think ur not a professional coder ( no offense)

in reality ( industry) u have to code something and in most cases there is a given set of goals.
Frameworks like MFC , XNA offer great options and actually help u increasing productivity.

Of course IF u had the time u could an framework on your own.. and do all the stuff... but its simply not an option.

Last edited by Shin_Gouki; May 11th, 2007 at 16:34..
Shin_Gouki is offline   Reply With Quote
Old May 11th, 2007, 18:16   #14
@ruantec
Crazy GFX coder
 
@ruantec's Avatar
 
Join Date: Nov 2002
Location: Dominican Republic/Austria
Posts: 8,119
in my opinion every tools is great for something but i have a example...

let´s say i want to lawnmowing...

so why should i do it with this(see first image) if i could do it with this(see second image) tool????

it´s not about speed is about how easy i can do the job... time has change and new tools comes with it... we´re not in the 80/90´s we are in 2007 and our pc´s are much more faster than those day´s.

just simply to say "am cool i can code in C/C++!"??? no way!!!
C/C++ are great and i hope they will be around for ever if possible(i will use them too)... but nowdays we have new hardware and new technology which(of course) can be managed with those tools aswell but why should i spend hours writing a code if i have tools that makes my job a bit easyer?

many people complain because is a microsoft product....bla bla bla... microsoft this and that(i personally don´t like microsoft that much)... but aren´t you using microsoft products now? and how many of you use there products?? if you hate microsoft that much why are you using there products?

forget microsoft just look deep into those tools and then talk about it.

nowdays we have a different rhythm of life everything must be better, faster and must be ready in a very shortime... so you don´t have enough time to play around just because you want to be "Cool" you need tools that makes your job easyer for you to be ready in a very short time.

i know that because when i learned C back in the 90´s it was different.. i had more time and the rhythm of life was different.

Programming has no limits... limits are only in your mind.

hope you understand what i mean...
Attached Images
File Type: jpg intro_wiese_g.jpg (56.9 KB, 8 views)
File Type: jpg rasenmaehen2.jpg (30.4 KB, 6 views)
__________________


Current development tools:

Visual C++.net, Visual C#.net
Visual VB.net, Visual Webdeveloper.net
Bloodshed Dev C++, Borland C++
Visual Basic 6

Last edited by @ruantec; May 11th, 2007 at 18:46..
@ruantec is offline   Reply With Quote
Old May 11th, 2007, 18:49   #15
Shin_Gouki
Registered User
 
Shin_Gouki's Avatar
 
Join Date: Jan 2003
Location: Europe / Germany
Posts: 902
The limits is usually defined through the hardware, registers can be very small
Shin_Gouki is offline   Reply With Quote
Old May 11th, 2007, 18:50   #16
guest.r
Registered User
 
Join Date: Mar 2006
Location: emuforums
Posts: 293
Regarding what this place is and was - an exellent example of some serious hobby coding projects with a cross-platform smell on it.

I simply can't endorse commercial hardlining as it can finally lead to a vast majority of single platform single OS emu projects.

And this smells like dumb *hit.

OK the porters might want to say a word or two since there they come and find their meaning.

But as things are now i just might cut my loyalties to MS and keep them with Intel and Ati/nVidia.
So i'll become an App(l)eBaumMensch and the schythe fits perfectly to such dudes.
guest.r is offline   Reply With Quote
Old May 11th, 2007, 18:57   #17
@ruantec
Crazy GFX coder
 
@ruantec's Avatar
 
Join Date: Nov 2002
Location: Dominican Republic/Austria
Posts: 8,119
cross-platform? is that the reason??

i can code cross-platform with C and i like it since you have a compiler for almost every machine... but as i showed before with "Mono" you can do it too using the .net technology.


Quote:
Originally Posted by Shin_Gouki View Post
The limits is usually defined through the hardware, registers can be very small
hehe that´s a good one
__________________


Current development tools:

Visual C++.net, Visual C#.net
Visual VB.net, Visual Webdeveloper.net
Bloodshed Dev C++, Borland C++
Visual Basic 6

Last edited by @ruantec; May 11th, 2007 at 19:15..
@ruantec is offline   Reply With Quote
Old May 11th, 2007, 19:44   #18
xZaRo
Registered User
 
xZaRo's Avatar
 
Join Date: Mar 2007
Location: Argentina
Posts: 231
I found this pages: Visual C++

but I can see if it only uses .net or still continue using win32 native...
__________________
Windows XP Professional SP2 x64 / Windows 7 Ultimate beta 64bit / ASUS P5L-MX / Intel(R) Core(TM)2 CPU e6400 @ 2.13GHz (2133 MHz) / 2048 MB (DDR2-533 DDR2 SDRAM) / MSI GeForce 8600 OC Edition / Western Digital 320 SATA 2 7200RPM 16MB / DVD LG RW+ 16X Dual Layer / Viesonic VG 2021WM.




Dolphin SVN Builds r2239 (x86 & x64)
xZaRo is offline   Reply With Quote
Old May 11th, 2007, 21:24   #19
@ruantec
Crazy GFX coder
 
@ruantec's Avatar
 
Join Date: Nov 2002
Location: Dominican Republic/Austria
Posts: 8,119
That´s the new express versions codename "orcas" which is looking good.

actually Microsoft Intermediate Language (MSIL) is a platform independent language that gets compiled into platform dependent executable file or dynamic link library. It means .NET compiler can generate code written using any supported languages and finally convert it to the required machine code depending on the target machine.

The main advantages of IL are:

IL isn´t dependent on any language and there is a possibility to create applications with modules that were written using different .NET compatible languages.

Platform independence - IL can be compiled to different platforms or operating systems.

need more than that???
__________________


Current development tools:

Visual C++.net, Visual C#.net
Visual VB.net, Visual Webdeveloper.net
Bloodshed Dev C++, Borland C++
Visual Basic 6

Last edited by @ruantec; May 11th, 2007 at 21:36..
@ruantec is offline   Reply With Quote
Old May 12th, 2007, 08:27   #20
guest.r
Registered User
 
Join Date: Mar 2006
Location: emuforums
Posts: 293
Let's say it still requires MS ant thats like pork in a veggie soup.
guest.r is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 02:37.

© 2006 - 2012 Emu Forums | About Emu Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.