Sponsored by Best Buy
Give a Genuine Gibson Guitar for $99 (Price, Not a Typo) view!
bestbuy.com - World-class starter guitar--sweet sound, killer craftsmanship and yeah, you read that price right.
198 Comments
- soxos, on 10/10/2007, -4/+46Ruby is awesome, but I'm certainly not going to build a compiler in an interpreted language
- imikedaman, on 10/10/2007, -9/+51Shouldn't the next version be named C+=2?
- bmanam, on 10/10/2007, -1/+24Second that. Why don't people at least try to understand what a language does best and when/where to use it best before making such stupid comments?
- codegator, on 10/10/2007, -4/+23To me it's all market driven. I started out with 1's and 0's in the Navy because that's what the Navy wanted. As a civilian I used C++ for over 13 years 'till the market for C++ began to dry up, then I started using java. When the java jobs started to disappear I switched to C#. I use C# and ASP.NET right now because that's the best way to earn a living in my hometown. When the C# jobs go away I'll use whatever technology is next in line. Who knows, maybe it will be C++ again. LOL!
- DarkXanthos, on 10/10/2007, -1/+19It's nice to see that you completely miss the point of c# and c++ by comparing the two. They're two different tools for two different problem sets. One big difference? Think unmanaged vs managed code and the pros and cons of each.
- ncdave101, on 10/10/2007, -1/+15Bah, real men use either:
$ cat </dev/tty >myprogram
or
> copy con: myprogram.exe
and type in the machine code from memory. - Shogi, on 10/10/2007, -4/+18You have my sympathy.
- n0va, on 10/10/2007, -2/+15I hate to disappoint you but real men actually use *****.
- inactive, on 10/10/2007, -5/+17I had the pleasure of attending this talk first hand (as well as drinking with him afterwards). It was very insightful.
- AgentQ, on 10/10/2007, -4/+16That's like asking, "I will be learning a variety of sword-fighting techniques this coming fall... I was just wondering how effective is a spoon?"
- beguiledfoil, on 10/10/2007, -2/+13I've always assumed that the dude behind C++ drank nothing but the blood of virgins, can you verify?
- jbreiding, on 10/26/2009, -1/+11Which is why it is called C"++". Clearly you are concentrating on user land for your statement rather than kernel land. Most system level code is better off in C++.
- ours, on 10/10/2007, -2/+12Learning C/C++ before some more modern language like Java has the advantage of teaching people what goes on behind the scenes. The memory management, what really happens when you append a String object. This is good to know before you enjoy working with a language that doesn't show you and forces you to manage all these dirty little thinks.
- imacashew, on 10/10/2007, -1/+11WOW, so close but so far away from the truth. SOOO far. C# is a COMPILED language. No, you can't write on OS in it, but that does NOT make it interprited, that just makes it a third level language (Assembly is lev 1, C++ is level 2). You CAN produce a "tiny EXE" in C#...it will just have the prerequisite of the .net framework being installed...and it does not use TONS of memory...some HD space but calm down, really. Learn your ***** before you go telling people to "learn something about programming"...***** elitist wannabe
- Novagenesis, on 10/10/2007, -2/+12Yeah...keeps the kids from doing anything useful with the code instead of going to college
- RyeBrye, on 10/10/2007, -7/+16C# != open
When you get GCC to compile C# stuff on any platform, then we can talk. - capndan, on 10/10/2007, -1/+10I actually took a C++ class from him my freshman year. Cool guy but not the greatest teacher ^__^
- TRScheel, on 10/10/2007, -2/+10.NET is a god send. I absolutely love it and write as much as I can in it. If for some reason I need C++ or C I can code a separate library for that snippet and just call it.
On a related note, if you need to know, most compilers of C++ compile to a generic machine language (typically P4). .NET compiles to CIL or MSIL (same thing, different name) which is then compiled to your machine's specific machine code on run-time OR you can have it generate the generic machine code (using NGEN) at compile time and ship that. Which when viewing the machine code either method creates (the original C++ and the new .NET) they are nearly identical in function. To continue, .NET is multi-platform capable, although not every platform has libraries for it or compilers. It is language independent too, and its full integration of reflection lets me view someone's code in say Delphi using C#, very powerful indeed.
Don't get me wrong though, there are things that .NET cannot do yet, but for those portions of my code I can revert to C++. IMHO though, it is better for me to spend my time coding the portions I can in C# which can be done at a much quicker pace than C++ and only when I have to code in C++ for the functionality required.
So, don't knock it just because it is new... - Dochtuir, on 10/10/2007, -3/+11Real men don't argue on digg over coding languages
- danc256, on 10/10/2007, -1/+9C# also has Anders Hejlsberg behind it, the genius who developed Turbo Pascal at Borland (and Delphi too I think).
- Novagenesis, on 10/10/2007, -3/+11Wuss. Direct machine code is 100x easier than malbolge or *****
- DrMonkeyLove, on 10/10/2007, -0/+7Real men use whatever gets the job done the fastest, thus giving them more time to drink beer.
- daeken, on 10/10/2007, -1/+8http://research.microsoft.com/os/singularity/ OS in a C# derivative. It's possible to write an OS in any language given enough work. See also: House and Unununium
- digital11, on 10/10/2007, -1/+8If you heard a wooshing sound as you pressed Submit Comment, that was the noise made by imilkedaman's joke flying directly over your head.
For the slow:
++ is an incremental operator, incrementing the variable by one. C+=2 would increment by 2... C++ could be translated C+=1, so logically the next iteration would be C+=2. - raynar, on 10/10/2007, -1/+8Real men go outside.
- elnerdo, on 10/10/2007, -2/+9Would you give TWO kidneys to meet BOTH?
- ours, on 10/10/2007, -3/+10C# is a ECMA standard. Try Mono for an open source implementation of it! And it's not even the only one.
PS: Java was closed source until recently, did you stay away from it as well? - fotbr, on 10/10/2007, -3/+9Mono
- bobbyi, on 10/10/2007, -0/+5C# is an ECMA standard.
- Ramsees79, on 10/10/2007, -2/+7I'd really like to see getters and setters implememnt in the ISO standar C++ , a man can dream.
- netsql, on 10/10/2007, -0/+5TopHer06: http://www.digitalmars.com/d/comparison.html
- xutopia, on 10/10/2007, -0/+5What do you mean more time to drink beer? You are saying that as if drinking beer and coding were mutually exclusive.
- rac3r5, on 10/10/2007, -0/+5Hey Ferrar1,
Ruby is a prorgramming language and Ruby on Rails is an API that makes it easy to program stuff with Ruby. Ruby is more comparable to languages like PHP, or ASP or JSP. Its targeted towards web development and a lot of people are starting to use it.
C/C++ programming is more suited for applications that need to be really small and/or really fast. E.g. when I did firmware programming, I used C at work.
A lot of the job out there seem to target C# and Java (well at least in the Vancouver area). If you are learning Java, you will get C# very easily because its very similar. - pault107, on 10/10/2007, -0/+5I'd rather meet Nicole Ritchie and Jenny McCarthy.
(Okay, maybe not Nicole, but she's the only female I could think of with the surname Ritchie) - UKsHaDoW, on 10/10/2007, -1/+6D is native code, c# needs a runtime.
- Novagenesis, on 10/10/2007, -1/+5It's not mature enough. It's not powerful enough to give reason to learn it without its maturity.
When it gets mature, I'll start using it, at least when outside the corporate environment (another decade for the corporate world to even look at D, if it ever does).
Of course, I say Common Lisp is a good executable native-code-compiler away from becoming something more than any of the above - mempko, on 10/10/2007, -1/+5Yeah but ++C is faster!
- KibibyteBrain, on 10/10/2007, -2/+6***** all the way! I'd like to see someone write a compilier in that!
- manoe, on 10/10/2007, -2/+6No, it's the right form, they left the features of C there... :-)
- Tredici, on 10/10/2007, -0/+4Well I'd rather ***** Nicole Ritchie than Dennis Ritchie...
- Topher06, on 10/10/2007, -0/+4What is so great about D? From what I can see from the wikipedia article, its like C++ with a lot of C# features. Is it great just because its NOT C#.
As for a new C++, get rid of the need for seprate header files. I don't like the redundancy of having to write code twice, even just function headers. At least computers are powerful enough to compile on the fly and thus generate headers dynamically as I complete a function block - dBLiSS, on 10/10/2007, -0/+4Linkedlist is right in this case. C# is platform independent. As it becomes more popular then better open source libraries and compliers will be written for it.
- soxos, on 10/10/2007, -0/+4The interpreted versus compiled debate has taken on new dimension with some recent tests showing more efficient code generation being possible from jit compilers (presumably due to ability of code paths being generated based on current resource environment (within the processor). Most of my knowledge here is theory and not practice (I'll readily admit).
Mostly I was just getting sucked in by a troll and trying to show some respect to Stroustrup.
Maybe developing a compiler in the sandbox of an interpreted lang would be a good exercise... - imacashew, on 10/10/2007, -1/+5I was just kidding on my one comment, it's actually a pretty similar situation in Houston, TX...Java jobs are still around though. He's totally right, people just need to learn to move around to whatever programming language pays the bills, or is best for the task at hand. If you can't do that, you shouldn't call yourself a professional coder.
- ifknot, on 10/10/2007, -0/+3@Drealoth... you sir are an asshat! (because after all the erudite banter about compilers it needed to be said)
- DarkXanthos, on 10/10/2007, -0/+3That makes more sense. It's just when you say C# is the new C++ I'm thinking you mean C++ is out. But totally agree with your reply.
- jarvuss, on 10/10/2007, -6/+9You should look up Mono. Open source C# .Net. Also... it has a compiler for Linux, Win and OS X.
- dcmjzero, on 10/10/2007, -0/+3if by advantage, you mean "makes me want to rip out my eyes." c++ at this point is a hacked together language. have you ever tried wide-character strings in c++? the word kludge comes to mind. it -can- do it, but it is not pretty.
- covertbadger, on 10/10/2007, -1/+4Yeah, because binaries compiled from C++ don't need an OS? And good luck writing anything significant without pulling in the standard library - not the same thing as a runtime, obviously, but pretending that C++ code runs in a vacuum is idiocy.
- wares, on 10/10/2007, -3/+6"D" the best next gen C++... http://www.digitalmars.com/d/
-
Show 51 - 100 of 198 discussions



What is Digg?