Re: CFO: Why C?
From: VBDis (vbdis_at_aol.com)
Date: 09/07/03
- Next message: VBDis: "Re: OPINION: What are the best Linux C++ IDE's out there?"
- Previous message: VBDis: "Re: Huge memory"
- In reply to: wereHamster: "Re: CFO: Why C?"
- Next in thread: Måns Rullgård: "Re: CFO: Why C?"
- Reply: Måns Rullgård: "Re: CFO: Why C?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 07 Sep 2003 12:39:19 GMT
Im Artikel <3f53176e$0$241$4d4ef98e@read.news.ch.uu.net>, wereHamster
<noname@nodomain.no> schreibt:
>Because of the pointer arithmetic.
Pointer arithmetic is obsolete. Other languages need no pointers, and the
compilers can create the same machine code from indexed expressions as well.
But I know that it's hard to forget about pointers, once one is convinced that
they are inevitable for writing non-trivial (and fast) programs.
Hint: access violations only can occur when pointers are used. Used in an
uncontrolled and wrong way, of course. But where no pointer arithmetic /can/ be
used, no such problems /can/ exist.
It's only required to forget about pointers and to learn how to write
intrinsically safe code, to get rid of such problems. At no extra cost, with
regards to flexibility and speed. Likewise you can forget about lint, ctags and
other helpers, these are obsolete as well.
>Sometimes this wak type safety is really
>good, 'read(int fd, void *buffer, size_t size)'
In VB this would be even simpler, just 'GET #file, var'. But not only in VB ;-)
DoDi
- Next message: VBDis: "Re: OPINION: What are the best Linux C++ IDE's out there?"
- Previous message: VBDis: "Re: Huge memory"
- In reply to: wereHamster: "Re: CFO: Why C?"
- Next in thread: Måns Rullgård: "Re: CFO: Why C?"
- Reply: Måns Rullgård: "Re: CFO: Why C?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|