Re: Type safety, C++ and code generation




Georg Bauhaus wrote:
How many times does "/" occur in your average computer
program?

That depends on what field you're working in. If you're writing
compilers you may not need it very often. If you're calculating
the positions of objects in the sky it comes up quite often.

One solution to the problem would be to provide a new keyword for
defining types with no default operations. Only the operations you
explicitly defined would be available.

--- Brian

.



Relevant Pages

  • Re: whose cc recognises byte moves
    ... Thank you, yes I see, on C platforms where long essentially means int, ... Writing shifts or byte moves commonly provokes actual C compilers to ...
    (comp.arch.embedded)
  • Re: combobox duplicates
    ... know what explicit references are worth, ... to prefix that dot again with a pointer variable. ... Writing 16 bit code for old, slow and dumb compilers is one thing. ...
    (comp.lang.pascal.delphi.misc)
  • Re: who uses algorithms learned in cs studies?
    ... most algorithms have implementations already ... I frequently use the pattern behind language compilers and interpreters ... An example of writing an interpreter was taking documents written about ...
    (comp.lang.java.programmer)
  • Re: who uses algorithms learned in cs studies?
    ... most algorithms have implementations already ... I frequently use the pattern behind language compilers and interpreters ... An example of writing an interpreter was taking documents written about ...
    (comp.lang.java.programmer)
  • Re: who uses algorithms learned in cs studies?
    ... most algorithms have implementations already ... I frequently use the pattern behind language compilers and interpreters ... An example of writing an interpreter was taking documents written about ...
    (comp.lang.java.programmer)