Slashdot Mirror


C, Objective-C, C++... D! Future Or failure?

TDRighteo writes "OSNews is carrying a quick introduction to a programming language under development - D. Features include garbage collection, overrideable operators, full C compatibility, native compilation, inline assembler, and in-built support for unit testing and "Design by Contract". With all the discussion about the future of GNOME with Java/Mono, does D offer hope of a middle-road? Check out the comparison sheet."

41 of 791 comments (clear)

  1. wow by spangineer · · Score: 5, Funny

    Who said computer geeks don't have any creativity in naming their programming languages?

    Oh, wait...

    1. Re:wow by slickepott · · Score: 3, Funny

      I think they still had some good choices with the C.. I have loads of cool signs on my number keys to play around with. *C, //C, &C, "C", /*C*/, C--, C+=1 Why the rush for D already?

    2. Re:wow by rishistar · · Score: 5, Funny

      You guys are all behind the times. I'm already on E!

      Yeah - turn up that thumping music man!!!

      --
      Professor Karmadillo Songs of Science
    3. Re:wow by twocents · · Score: 3, Funny

      Yes yes yes.

      Look for .Net in Google - the first result is php.net. That should offer a lesson for anyone.

    4. Re:wow by xSquaredAdmin · · Score: 2, Funny

      Well, the value of 'C'++ is 'D'. Looks like they're gonna need a new name (maybe... 'E'?)

      --
      Crushing dreams at the speed of sarcasm
    5. Re:wow by ByteSlicer · · Score: 2, Funny

      Don't worry. In a while they will add some new extensions and call it D++.

    6. Re:wow by schapman · · Score: 2, Funny

      no... DEF-G and DEF+G will have to be two separate specs that arent compatible with each other at all. Then we can have big corps battle it out until the poor compilier makers have to write DEF+-G compilers for us.

      --
      Wouldnt you like to be a pepper too?
    7. Re:wow by gwjgwj · · Score: 2, Funny

      The value of C++ is actually C. It is guaranteed to be C+1 after a sequence point.

    8. Re:wow by Salsaman · · Score: 2, Funny
      I'm already on E!

      Shush ! They can arrest you for that, you know.

    9. Re:wow by Anonymous Coward · · Score: 1, Funny

      Oh yeah? Well my language goes to 11!

    10. Re:wow by mrjb · · Score: 2, Funny

      Look for 'estupido' on google and the first hit is that of the Portuguese government.

      --
      Visit http://ringbreak.dnd.utwente.nl/~mrjb/growingbettersoftware to download your free copy of the book
  2. Microsoft will come out with it's own version by eclectus · · Score: 5, Funny

    Microsoft will come out with it own version, and call it D-.

    --
    This signature is a waste of 42 characters
    1. Re:Microsoft will come out with it's own version by e8johan · · Score: 0, Funny

      Nope, D#.

    2. Re:Microsoft will come out with it's own version by b4rtm4n · · Score: 5, Funny

      Visual D

      Cue loads of VD jokes :-D

      --
      "goatse? What's that? Anyone have a link?" - AC
    3. Re:Microsoft will come out with it's own version by stevesliva · · Score: 4, Funny

      I was thinking Double-D.

      --
      Who do you get to be an expert to tell you something's not obvious? The least insightful person you can find? -J Roberts
    4. Re:Microsoft will come out with it's own version by Lord_Slepnir · · Score: 4, Funny

      Heck, I got enough of a kick out of Visual C (VC). Made me want to listen to acid rock and hunt Charlie.

    5. Re:Microsoft will come out with it's own version by Anonymous Coward · · Score: 5, Funny

      You know why you can't get information on Visual C on the web? 'Cos Charlie don't surf.

    6. Re:Microsoft will come out with it's own version by T-Kir · · Score: 3, Funny

      Or instead of sharp, use the hash orientation and you could have D-bong... mind you'd have to be on drugs to be able to use it though ;-)

      --
      Are you local? There's nothing for you here!
    7. Re:Microsoft will come out with it's own version by lacrymology.com · · Score: 2, Funny

      You know; whenever I startup Microsoft's IDE I get flashbacks, curl into a ball, and shiver. Now I see why.
      -m

      --

      #
      # Modus Ponens
      #
    8. Re:Microsoft will come out with it's own version by Anonymous Coward · · Score: 1, Funny

      Better than F+ which I once got from a bastard teacher. True.

    9. Re:Microsoft will come out with it's own version by red+floyd · · Score: 2, Funny

      I suppose you will need virus protection when using VD?

      --
      The only reason we have the rights we have is that people just like us died to gain those rights. -- Cheerio Boy
  3. What does D stand for? by Spiked_Three · · Score: 2, Funny

    Doom of course.

    --
    slashdot troll = you make a compelling argument I do not like the implications of.
  4. Looking forward to job ads by swapsn · · Score: 5, Funny

    Looking forward to job ads saying :
    • 10+ years of C#,Java programming experience
    • 10+ years Windows 2000 experience
    • 10+ years programming experience in D

    Duh !!
  5. A, B, C, D, ... R! by KjetilK · · Score: 4, Funny

    Bah, We've allready made it all the way to R!

    --
    Employee of Inrupt, Project Release Manager and Community Manager for Solid
  6. What a good choice of name! (sarcasm intended) by OwlWhacker · · Score: 2, Funny

    Sheesh. You'd have thought they'd come up with a name that's a little more interesting than "D".

    No, I'm not going to suggest that it should have been called "Rupert".

  7. C! by zegebbers · · Score: 5, Funny

    We want C!
    with apologies to eminem...
    to the tune of 'without me'

    Two GUI classes go on the inside; on the inside, on the inside
    Two GUI classes go on the inside; on the inside, on the inside
    Guess who's back Back again C is back Tell a friend
    Guess who's back, guess who's back, guess who's back, guess who's back
    guess who's back, guess who's back, guess who's back..

    Sun's created a monster, cause nobody wants to code Java no more
    or basic, but something quicker
    Well if you want speed, this is what I'll give ya
    A language called C that won't let you do "is a"
    Some "has a" that makes me feel sicker
    than the bugs when I build patch that's critical
    using make to compile and be building
    with a language that allows object orientating

    Your var name's too long, now stop line breaking
    Cause I'm back, I'm a new var and instantiating
    I know that you got a job Bill and Steve
    but your company's trust problem's complicating

    So GCC won't follow ANSI or copy memory, so let me see
    They try to recompile with visual C But it feels so bloated, without C
    So, connect with SLIP, or create a RIP Fuck that, write a function, and shift some bits
    And get ready, and use a pattern like proxy MS just settled their lawsuits, expect a levy!

    Now this looks like a job for C So everybody, just code in C
    Cause we need a little, bit more speed Cause it runs so slowly, without C
    Now this looks like a job for C So everybody, just code in C
    Cause we need a little, bit more speed Cause it runs so slowly, without C

    Little Hallions, MS feelin litigious Embarrassed that users still listen to RMS
    They start feelin like ellen feiss 'til someone comes on the television and yells SWITCH!!!

    A visionary, beard's lookin' scary Could start a revolution, lives in a bear cave
    A rebel, although emacs ain't real fast and there's the fact that I only got one class
    And it's a disaster, such a castastrophe for you can see so damn much of my class; meant to use C.

    Well I'm back, i-j-k-x-y-z-out-ta-var-names Fix your damn indentifier tune your code and I'm gonna
    open it, under vim, maybe pico and variables, no such thing as a member
    I'm interesting, the best thing since assembly but not Polluting the namespace with inherits
    We're Testing, your functions please Feel the tension, soon as someone commits some C
    Here's my webpage, my code is free who'll pay the rent? What, You code with vi?

    Now this looks like a job for C So everybody, just code in C
    Cause we need a little, bit more speed Cause it runs so slowly, without C
    Now this looks like a job for C So everybody, just code in C
    Cause we need a little, bit more speed Cause it runs so slowly, without C

    An object in .NET, I go tit for tat with anybody who's setting this bit, that bit
    AT&T, you can get your ass kicked worse than those little C++ bastards

    And Ruby? just like a static property not even used with KDE and QT
    You're not like C, you're too slow, let go It's over, nobody'll code in OO!
    Now let's go, -9's the signal I'll be there with a whole list of XM and L
    I use SOAP, XPATH with XSL And you know perl's just like coding in symbols
    everybody only just codes C so this must mean, some com-pile-ing
    but it's just me i'm obfuscating And though I'm not the first king of controversy
    And i'm not the worst thing since assembly but I am the worst thing since 86 XFree
    do use BASIC and JSP and used it to get myself wealthy
    Here's a concept that works twenty million new coders emerge
    but no matter how many fish in the sea half of them can't even code C

    Now this looks like a job for C So everybody, just code in C
    Cause we need a little, bit more speed Cause it runs so slowly, without C
    Now this looks like a job for C So everybody, just code in C
    Cause we need a little, bit more speed Cause it runs so slowly, without C

    1. Re:C! by Jugalator · · Score: 3, Funny

      by EnglishTim (9662)

      You fucking geek.


      You must be new h... No, wait...

      --
      Beware: In C++, your friends can see your privates!
    2. Re:C! by Anonymous Coward · · Score: 4, Funny

      I just HAVE to add this one:

      (sorry for the OoO, but else it wouldn't post cause I had to few chars per line)

      OoOoOoOoO WRITE IN C
      OoOoOoOoO
      OoOoOoOoO (sung to The Beatles "Let it Be")
      OoOoOoOoO
      OoOoOoOoO When I find my code in tons of trouble,
      OoOoOoOoO Friends and colleagues come to me,
      OoOoOoOoO Speaking words of wisdom:
      OoOoOoOoO "Write in C."
      OoOoOoOoO
      OoOoOoOoO As the deadline fast approaches,
      OoOoOoOoO And bugs are all that I can see,
      OoOoOoOoO Somewhere, someone whispers"
      OoOoOoOoO "Write in C."
      OoOoOoOoO
      OoOoOoOoO Write in C, write in C,
      OoOoOoOoO Write in C, write in C.
      OoOoOoOoO LISP is dead and buried,
      OoOoOoOoO Write in C.
      OoOoOoOoO
      OoOoOoOoO I used to write a lot of FORTRAN,
      OoOoOoOoO for science it worked flawlessly.
      OoOoOoOoO Try using it for graphics!
      OoOoOoOoO Write in C.
      OoOoOoOoO
      OoOoOoOoO If you've just spent nearly 30 hours
      OoOoOoOoO Debugging some assembly,
      OoOoOoOoO Soon you will be glad to
      OoOoOoOoO Write in C.
      OoOoOoOoO
      OoOoOoOoO Write in C, write in C,
      OoOoOoOoO Write In C, yeah, write in C.
      OoOoOoOoO Only wimps use BASIC.
      OoOoOoOoO Write in C.
      OoOoOoOoO
      OoOoOoOoO Write in C, write in C,
      OoOoOoOoO Write in C, oh, write in C.
      OoOoOoOoO Pascal won't quite cut it.
      OoOoOoOoO Write in C.
      OoOoOoOoO
      OoOoOoOoO Guitar Solo
      OoOoOoOoO
      OoOoOoOoO Write in C, write in C,
      OoOoOoOoO Write in C, yeah, write in C.
      OoOoOoOoO Don't even mention COBOL.
      OoOoOoOoO Write in C.
      OoOoOoOoO
      OoOoOoOoO And when the screen is fuzzy,
      OoOoOoOoO And the editor is bugging me.
      OoOoOoOoO I'm sick of ones and zeroes.
      OoOoOoOoO Write in C.
      OoOoOoOoO
      OoOoOoOoO A thousand people people swear that T.P.
      OoOoOoOoO Seven is the one for me.
      OoOoOoOoO I hate the word PROCEDURE,
      OoOoOoOoO Write in C.
      OoOoOoOoO
      OoOoOoOoO Write in C, write in C,
      OoOoOoOoO Write in C, yeah, write in C.
      OoOoOoOoO PL1 is 80's,
      OoOoOoOoO Write in C.
      OoOoOoOoO
      OoOoOoOoO Write in C, write in C,
      OoOoOoOoO Write in C, yeah, write in C.
      OoOoOoOoO The government loves ADA,
      OoOoOoOoO Write in C.

  8. D'oh! by SkimTony · · Score: 2, Funny

    I believe you're mistaken. D stands for "Duke Nukem Forever."

    The delays in release of the game are simply a result of having to wait for a new programming language in which to write the software.

  9. D as Delphi? by Tuqui · · Score: 3, Funny

    It will be interesting to see how it compares to Delphi too.

  10. All the C++ programmers are laughing at you... by Chemisor · · Score: 3, Funny

    Every once in a while people try to improve on C++. Usually it is those wet-behind-the-ears kids straight out of college who think that because C++ is too hard for them, it is a bad language. But real programmers just shrug and keep on coding in C++. Let the kids have their fun; they'll come around eventually when they want to write some real code. Maybe someday they'll discover that garbage collection is not necessary when you know who owns your memory and encapsulate allocation in logical places, like STL containers. They'll discover that C++ already has overridable operators, full (well, all that matters, anyhow) C compatibility, native compilation (VMs are for script kiddies), inline assembler, and in-built support for unit testing (called a debugger). And as for "Design by Contract", good luck getting any contracts in your new D.

  11. this is strikingly similiar to Pike by Anonymous Coward · · Score: 2, Funny
    from Pike website:

    Pike is a dynamic programming language with a syntax similar to Java and C. It is simple to learn, does not require long compilation passes and has powerful built-in data types allowing simple and really fast data manipulation.


    Syntatically, D is almost identitical to Pike, like the foreach and the range operator "..". Pike is also loosely object oriented, and has a rich set of libraries just like Python, Perl or even Java.

    I'm not sure if the Author has borrowed ideas from Pike, but it is is really a great language that has been around for 10+ years, tested in real world applications.

  12. Ooops by EnglishTim · · Score: 3, Funny

    Meant to post that anonymously...

  13. i loved D!! by dioscaido · · Score: 1, Funny

    .. when it was called C#!

  14. I thought from the headline... by Anonymous Coward · · Score: 1, Funny

    I thought from the headline that the new title was D!; D bang. Ahhahaahhahahaaa.. what a cool name!

  15. Google incompatible by uncadonna · · Score: 3, Funny
    In addition to D, there's another interesting language called J, not related to Java at all but a descendant of APL. And in today's news there's also a story about X.

    Exactly how are we expected to Google for such things?

    Please give your projects distinctive names with more than one character, thanks.

    --
    mt
  16. Nah... by StoatBringer · · Score: 1, Funny

    I think I'll wait for D++.

    --
    Cress, cress, lovely lovely cress
  17. Re:Old news by b17bmbr · · Score: 2, Funny

    also, perl code could be written to be readable

    no. it can't.

    --
    My problem? I was perfectly gruntled, until some numbnuts came by and dissed me.
  18. Re:full C compatability? by Chester+K · · Score: 2, Funny

    Yes, if you read my post carefully -- perhaps you missed a word or two when the garbage collector in your head did some clean-up -- I didn't say that pauses were inevitable. My complaint -- and not just mine, it's no revelation that garbage collection has may detractors -- is that the pauses are not predictable by writer of the program.

    There are an awful lot of dashes at random places in this paragraph. Were you by chance running garbage collection?

    --

    NO CARRIER
  19. " ... the most important thing by baudolino · · Score: 3, Funny

    in the programming language is the name. A language will not succeed without a good name. I have recently invented a very good name and now I am looking for a suitable language." -- D. E. Knuth, 1967

  20. Here's one by sacrilicious · · Score: 3, Funny
    I'd like them to come up with a better name [than "D"]

    How about "Double-D"? *That* will bring out the programmers in hordes.

    --
    - First they ignore you, then they laugh at you, then ???, then profit.