Slashdot Mirror


Free Optimizing C++ Compiler from Microsoft

FortranDragon writes "Microsoft has made the command line toolkit for Visual C++ available for a free download. You can use the toolkit to build applications and redistribute them if you want (though you should read the EULA for the details, as always). This is a nice boon for those that have to deal with cross-platform compatibility, especially since Microsoft has tried to make Visual C++ more conformant to the ISO C++ standard. Go forth and compile your favorite OSS or FS programs today. ;-)"

35 of 953 comments (clear)

  1. Weird Output by naden · · Score: 5, Funny

    I just tried the following program:

    #include

    main()
    {
    printf ("Hello World!\n");
    }

    And I got the output "Hello Suckers" .. anyone have any idea why ?

    --
    Funtage Factor: Purple
    1. Re:Weird Output by Anonymous Coward · · Score: 2, Funny
      Blame Slashcode for removing
      <stdio.h>
    2. Re:Weird Output by KarmaMB84 · · Score: 2, Funny

      Does MS's compiler no longer require a return type for main()?

    3. Re:Weird Output by ion_ · · Score: 5, Funny

      And I got the output "Hello Suckers" .. anyone have any idea why ?

      I tried it as well, the bug exists indeed. The \n really was missing from the output.

    4. Re:Weird Output by Anonymous Coward · · Score: 4, Funny
      unless MS's compiler is different than gcc

      No; they're actually just the same compiler, packaged under different names and under different licenses.

    5. Re:Weird Output by Anonymous Coward · · Score: 1, Funny


      A "good" compiler?

      We're talking about Microsoft products here, buddy. ;)

      "

    6. Re:Weird Output by ElliotLee · · Score: 2, Funny
      The header file part was eaten by /. since it looks like an html tag.

      /. is too hungry when it comes to eating html tags..

  2. Yes! by Flingles · · Score: 5, Funny

    "tried to make Visual C++ more conformant to the ISO C++ standard"

    Score one for the team! Microsoft conformed to something!

    --
    Karma: -2^0.5 . Mainly due to the imbibing of dihydrogen monoxide
    1. Re:Yes! by Anonymous Coward · · Score: 3, Funny

      try {
      std::standards.conform(VisualC++, ISOC++);
      }
      catch (nonstd::ConformanceFailureException cf) {
      /* We are here */
      cout << "Damn!" << endl;
      this.serve(FreeCompiler);
      }

    2. Re:Yes! by nukey56 · · Score: 4, Funny

      Seems firmiliar.. ahh yes.

      Goth Kid #3: "I'm the biggest non-conformist!"
      Goth Kid #4: "I'm such a non-conformist, that I'm not going to conform with the rest of you. I'll do it!"

  3. huh? by Knights+who+say+'INT · · Score: 3, Funny

    Go Forth?

    But isn't it a C compiler?

    What next, Visual PL/I?

  4. Clippy's response to compiling OSS by foidulus · · Score: 5, Funny

    Clippy: "It looks like you are trying to compile the gimp, did you know the GPL was written by Carl Marx, you don't want to be un-American do you? If you need help embracing capitalism, please ask me."

    1. Re:Clippy's response to compiling OSS by Anonymous Coward · · Score: 3, Funny

      That's 'K' - Karl Marx.


      No, no. This is the Gnome version, not the KDE one.

  5. Yes, but... by heironymouscoward · · Score: 3, Funny

    Does it run on Linux?

    Do I still want to write non-portable code in 2004? Apparently MSVC produces better code then gcc on Windows, but is that reason enough to use it rather than (e.g.) cygwin?

    As a programmer, I insist on platforms that are 100% portable, so that my code can survive any OS and vendor changes. At the very least a commercial compiler must implement the standard language and libraries so that my code is portable.

    Still, this is a good move for Microsoft and I welcome it.

    --
    Ceci n'est pas une signature
    1. Re:Yes, but... by nukey56 · · Score: 2, Funny

      The day Microsoft releases a real cross compiler is the day I'm going to add a layer onto this here foil hat of mine...

  6. goes both ways... by TamMan2000 · · Score: 2, Funny

    I recently started doing development for linux and XP. Before that it was Sun (using CC) and linux.

    CL (the vcc compiler) will let you get away with things that you shouldn't even be able to do (use of variables outside of there scope...), but you don't see it, because BCC didn't let you do it.

    CC was the most liberal of them all, it would complile and run your email.

    All of this said, strick is a good thing! I means that your code will work elsewhere (wide variety of elsewheres) with little work. Are you using -wall and -pedantic with gcc?

    --
    "I'll have a Guinness, no wait, make that a Coors Light" -Grad student I work with, who shall remain anonymous...
    1. Re:goes both ways... by Waffle+Iron · · Score: 5, Funny
      CC was the most liberal of them all, it would complile and run your email.

      This highlights once again how Windows is a more flexible and modern development platform than Un*x. With Windows, email can be run automatically and remotely, without the need for a separate compilation step.

  7. Re:Microsoft offers interoperatibility? by ReelOddeeo · · Score: 3, Funny

    I don't know about lately, but years ago, MS development tools had EULAs that prevented you from using MS tools to develop either (1) more development tools or (2) word processors.

    --

    Those who would give up liberty in exchange for security and DRM should switch to Microsoft Palladium!
  8. Re:Awesome by Anonymous Coward · · Score: 0, Funny

    i never found GIMP to be a very exciting game

  9. The FSF Responds! by Anonymous Coward · · Score: 1, Funny

    RMS has declared that, in order to compete with Microsoft's free compilers, he will now charge $250 for each copy of gcc and place restrictions on the transferability of the software.

    "We've got a team scanning Ebay for violations now", the scruffy, odiferous throwback to the 1960's whined during a telephone interview. "I'm hoping I can use this money to rent some college boys at MIT's new GNAA cafeteria. That would rock."

    Microsoft's Steve Ballman responded with "...who? Is doing what? Microsoft is an innovative, customer focused company that hires smart people to do great things for the smart people who do great things with our user-experience enhancing products"

    Sometimes it sucks to be a roving reporter.

  10. Re:MS seems to be doing a lot of this lately... by Anonymous Coward · · Score: 2, Funny

    I thought debug was the DOS assembler?

  11. Mod parent down by leonbrooks · · Score: 1, Funny

    -1, Doesn't know how to spell "|_337".

    <g/d/r>

    --
    Got time? Spend some of it coding or testing
  12. Yes please! Don't increase the cost for the rest! by jotaeleemeese · · Score: 5, Funny

    Fscking CDs are bloody expensive. Look at AOL, the IT magazines, heck, even newspapers that sell for a few cents. All of them are bleeeeding money given those CDs away for free.

    MS, with his zillions of money in the bank, can't affor to spend a few thousend making development tools available.

    No! Those communist ideas should be brought down and burned like the trojan horse they surely are.

    To give something for free! MS! Never!

    --
    IANAL but write like a drunk one.
  13. Re:MS seems to be doing a lot of this lately... by zulux · · Score: 5, Funny

    One could alomst say that it was developers that drive the sucuess of a operating saystem. Without developers, Linux woulden be anwhere. It's time thank all the Linux and *BSD developers, and GNU developers and other Open-Source developers. We need more Developers! Developers! Developers!

    --

    Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

  14. Boy has Slashdot changed by John+Jorsett · · Score: 1, Funny

    Back when I first started posting here, a mention of Microsoft in any context other than consigning it to the fifth circle of hell would have earned the poster a moderation beat-down and major flamage.

    I won't even mention what happened when I made an admiring reference to a female who wasn't Natalie Portman ...

  15. Re:MS seems to be doing a lot of this lately... by andalay · · Score: 5, Funny

    Perhaps what you meant to say is:

    Developers! Developers! Developers! Developers!Whooooo... Cmon. C-c-c-c-cmon!

    If you don't get it, thats ok too

  16. Re:Nice move by Anonymous+Brave+Guy · · Score: 4, Funny
    As a university student I can get VS.NET2003 Pro with the optimizing compiler for free anyway

    You know that copying it over Kazaa from your mate down the corridor is illegal, right? ;-)

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  17. Re:MS seems to be doing a lot of this lately... by E_elven · · Score: 3, Funny

    Oh hell. *Goes in search of the Win 3.1 disk*

    --
    Marxist evolution is just N generations away!
  18. Re:Last I tried, this failed to compiled by Anonymous Coward · · Score: 1, Funny

    Christ, there has to be an arrogant fucking cock in every thread, doesn't there?

    Here's a tip, sonny: Calm the fuck down, be polite to people, and you're less likely to have your food spit in when you go to restaurants, ok?

  19. Aha! So _that's_ where... by leonbrooks · · Score: 4, Funny

    ...Ken Thompson's version of the C compiler went! (-:

    --
    Got time? Spend some of it coding or testing
  20. Code theft? by moosesocks · · Score: 4, Funny

    It looks like some GNU developer has already disassembled it and integrated some of the code into GCC.

    I just went to compile vi, and an ASCII paper clip popped up onto my terminal:
    "It looks like you're trying to compile EMACS. Would you like me to launch the EMACS wizard now. Because you are stupid, I will launch it anyway"

    --
    -- If you try to fail and succeed, which have you done? - Uli's moose
  21. Re:MS seems to be doing a lot of this lately... by SquadBoy · · Score: 4, Funny

    don't forget power, a desk, somewhere to put it. You need to buy food and something to eat it on/with. My god I hate those bastards. :)

    --

    Cypherpunks: Civil Liberty Through Complex Mathematics. Those who live by the sword die by the arrow.
  22. Obligartory SNL ref by Rick+and+Roll · · Score: 2, Funny
    When I was a kid, if we were lucky enough to have a modem, we would have to wait a full minute for it to connect, and then another minute for each page of text, AND WE LIKED IT!

    When I was a kid, the only game we had to play was pong, and we spent a hundred dollars on the game, and played it every day, rather than going outside, AND WE LIKED IT!

    When I was a kid, we programmed using punched cards, and when there was a bug in our program, we had to throw away the punch card, and start a new one, AND WE LIKED IT!

    When I was a kid, we were so poor, that we could not afford chicken breasts, or even thighs and legs, so we had to settle for chicken wings and necks, AND WE LIKED IT!

    When I was a kid, we had to use assembly language, and keep our code down to 640 bytes of memory and 2 4-bit registers, but we learned a hell of a lot more about computers than you, AND WE LIKED IT!

    When I was a kid, we were lucky if our girlfriends wore deodarant, let alone shave their legs, if we were even lucky enough to have a girlfriend, but that didn't matter, because WE LIKED IT!

  23. Re:Using new compiler with Visual Studio 6? by baxissimo · · Score: 3, Funny

    What's the problem? The problem is that they've taken a perfectly good word and used it to describe something that it is not. Yes it's just terminology, but all I'm saying is it's a stupid name, and there was no reason not to continue calling it a "workspace". At least "workspace" was a made up word to which they are free to assign whatever meaning they wish, since they made it up.

    I guess the thing that really irks me about the name "solution" is that it almost makes sense. It's so close to making sense that I want to interpret it literally, like the code I need written is the problem and the solution is contained in a "solution" file. But the "solution" file doesn't contain the solution to my problem most of the time. Like for instance when my code doesn't even compile yet. That's hardly a solution. Or maybe I should interpret it as the solution to the problem of building my application. The build configuration problem. But the most difficult bits of the build problem are contained in the project files. The "solution" file is just a glorified list pointing to several projects. So it doesn't really make sense to think of it as the solution to the build problem.

    And I can't think of any other context in which it could be the solution. So it just bugs me, ok.

    I think we need to think of a new interpretation of the .sln suffix. From this day on, I declare that it's is no longer a "solution" file -- instead .sln will stand for a "sirloin" file. Yes, that's it. It's the file that contains the meat that makes up your application. The sirloin file. That's what it is. Ok, now I'm happy. Maybe I'll even upgrade to VC7 now that I can use these cool new sirloin files.

  24. Re:Wait a minute... by Ilgaz · · Score: 2, Funny

    I am not sure: http://sourceforge.net/projects/wix

    Thats free from MS and... opensource and... hosted at Sourceforge!

    Armageddon is coming, run! :)