Re: Food for thought

From: Tony Morris (dibblego_at_optusnet.com.au)
Date: 05/31/04

  • Next message: Wolfgang: "drawString with special Unicode characters to Graphics object"
    Date: Mon, 31 May 2004 16:42:56 +1000
    
    

    > This is not the sort of thing people sit up nights worrying about or
    > testing. A bug could slip by in a compiler. It this not wise to rely
    > on such fine semantics.
    >
    > For the same reason I suggested people not rely on the semantics of %
    > for negative numbers. It is too easily screwed up.

    This seems very odd indeed.

    If I was going to recommend against such a practice because it may not be
    implemented properly (not saying that I would do such a thing), I'd also be
    inclined to recommend against all the other language constructs which could
    just as easily allow the introduction of a bug in the compiler. This rules
    out much of what is we know as "Java". So why rule out the use of the
    language because the compiler might contain a bug?

    -- 
    Tony Morris
    (BInfTech, Cert 3 I.T.)
    Software Engineer
    (2003 VTR1000F)
    Sun Certified Programmer for the Java 2 Platform (1.4)
    Sun Certified Developer for the Java 2 Platform
    

  • Next message: Wolfgang: "drawString with special Unicode characters to Graphics object"

    Relevant Pages

    • Re: C portability is a myth
      ... > solicitation for the availability of a compiler for a given platform. ... People frequently talk about porting applications where no ... Yet further down you say the Java standard ports. ...
      (comp.lang.c)
    • Re: JDK1.5, improved FOR loop and generics - How?!
      ... Java does not help you maintain these ... other, I want the compiler to signal an error, so that I can look at each ... affected code segment and make any necessary changes. ... When I detect a bug in my code, ...
      (comp.lang.java.programmer)
    • Re: Text box throws an Error 7 Out of Memory with less than 27K in it!
      ... I'd have to agree with Bob here, ... >> those exact numbers and then concatenates that many more, ... I used to work supercomputer compiler support at CDC. ... > My favorite such bug at CDC was a benchmark that ran instantaneously. ...
      (microsoft.public.vb.enterprise)
    • Re: Bug in latest IAR MSP430 compiler optimization???
      ... It has been assigned bug id EW20095, and it will be fixed in the ... The tests compiler companies do are quite extensive. ... register allocation when combined with post-incs and rollup. ... IAR use an industry standard test suite like this (that you don't ...
      (comp.arch.embedded)
    • Re: strange problem with optimisation
      ... > I have encountered quite a strange problem with a new function i've ... Compiler specific questions are off-topic here. ... If your standard library does have a bug, I imagine you are not the first ... And you can try to find a platform specific group, ...
      (comp.lang.c)