Thread: standard language, standard compiler?

  1. #1
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459

    standard language, standard compiler?

    i remeber thinking about why they, uh 'they' that is, never made a standard compiler. i think i was begining to read my big book o' C [the complete reference], and it had repeated references to ANSI C, etc... i realize there are a myriad of platforms and processors to write code for... but shouldn't their be some sort of standard to conform to? thanks...
    hasafraggin shizigishin oppashigger...

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Well I would think GCC comes pretty close to this, it has an impressive list of supported architectures.
    link
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >&<>&2Minimization of boolean functions, PROM,PLA design >&0>&WA, USA guitar, dogsCommercial Aviation >&>>&USAProgramming
    Posts
    742
    What are you talking about? Ofcourse there is a sandard. Do you want it? ISO/IEC 9899
    I compile code with:
    Visual Studio.NET beta2

  4. #4
    of Zen Hall zen's Avatar
    Join Date
    Aug 2001
    Posts
    1,007
    I think he means, why isn't there a compiler that fully conforms to the standard?

  5. #5
    junior member mix0matt's Avatar
    Join Date
    Aug 2001
    Posts
    144
    In my opinion, a standards commitee slows the improvement of the language. For example, how many independent vendor libraries (MFC's container classes) were there before the STL was adopted into the C++ standard?

    mxr

    p.s. don't get me wrong, i embrace the benefits of a standardized language as well...
    THIS IS NOT JUST A CHRONICLING OF THINGS WE HAVE DONE IN THE PAST BUT OUR RISE TO POWER.

  6. #6
    .
    Join Date
    Aug 2001
    Posts
    598
    Borland builder (and vs.net according to dean) follow the standereds, quite well.
    To Err Is To Be Human. To Game Is Divine!"

  7. #7
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    And let's not forget the noble Bloodshed Dev-C/C++ compiler(a mingw)...
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  8. #8
    .
    Join Date
    Aug 2001
    Posts
    598
    >And let's not forget the noble Bloodshed Dev-C/C++ compiler(a mingw).<
    No the gnu compilrs regard for the standered is poor, as in visual C++ 6.
    To Err Is To Be Human. To Game Is Divine!"

  9. #9
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >&<>&2Minimization of boolean functions, PROM,PLA design >&0>&WA, USA guitar, dogsCommercial Aviation >&>>&USAProgramming
    Posts
    742
    I like the standard myself. Have not had any troubles following the standard thus far in VS.NET. Ofcourse VS.NET has a lot more to offer than the standard but I'd rather not get into that for a while.
    I compile code with:
    Visual Studio.NET beta2

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 09:13 AM
  2. Type casting
    By Lionmane in forum C Programming
    Replies: 28
    Last Post: 08-20-2005, 02:16 PM
  3. Language Script..
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 03-30-2003, 06:48 AM
  4. why do we 'int main()'?
    By jasrajva in forum C Programming
    Replies: 25
    Last Post: 11-05-2001, 06:36 AM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 02:41 PM