Re: Which compiler for a learner of C?



On Thu, 28 Sep 2006 01:12:11 +0200, in comp.lang.c , jacob navia
<jacob@xxxxxxxxxxxxxxxx> wrote:

Richard Heathfield wrote:
pkirk25 said:
I own a legit copy of Visual C++ 6.0

Its nice but it is 10 years old and aimed at C++.

It still does C just fine, though. It's a very good C compiler with a fine
IDE. In fact, on the rare occasions when I use Windows, it's my C compiler
of choice. (And I'm Mr Anti-Microsoft!)

The flaw that I pointed out doesn't disturb you of course:

<snip code example>

The libraries are not in phase with the compiler (gcc).
The program compiles with no warnings under Bloodshed,
but it gives wrong results.

I'm struggling to understand why you think a flaw in Bloodshed is even
remotely relevant to Richard's comment about Visual C++ 6.0

What flaws are concerned, you seem to be very selective...

Or possibly, he reads carefully before typing.
--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
.



Relevant Pages

  • Re: RAD vs. performance
    ... Thing if the compiler doesn't let you get away with this. ... command1 and command2 defined as before, and a lot of Common Lisp ... written compiler for a dynamic language isn't inherently slower than ... The difference is that, for static typing, you reject programs ...
    (comp.lang.misc)
  • Re: RAD vs. performance
    ... Thing if the compiler doesn't let you get away with this. ... command1 and command2 defined as before, and a lot of Common Lisp ... written compiler for a dynamic language isn't inherently slower than ... The difference is that, for static typing, you reject programs ...
    (comp.lang.misc)
  • Re: PEP 3107 and stronger typing (note: probably a newbie question)
    ... You can have declarative static typing with very few type *checking* - I may be wrong here but I think one could even write a C compiler without *any* type checking. ... some dynamically typed languages have grown type-annotations for the very same reason: hinting the compiler about possible optimizations. ... Most of the errors I have to deal with are logical errors, not type errors, and given the kind of "logic" you can find in business applications, I have some doubt about what a static type system - even a _very_ smart one - could prove here, at least if we hope to deliver the application within time and budget constraints. ...
    (comp.lang.python)
  • Re: static, dynamic and implicitely typed languages
    ... You can also explicitly declare the types of variables, ... The compiler obviously knows that the function must return a list, ... It had no static typing at all ... compile time) (you can emulate implicit typing by casting around the ...
    (comp.lang.lisp)
  • Re: Obstacles for Tcl/Tk commercial application development ?
    ... The "error" is at a level that no compiler can catch. ... typing doesn't mean you have no type-induced errors in your code. ... language that uses strong static typing. ... On static type systems, this is no problem: ...
    (comp.lang.tcl)