Re: Teach myself C++.
- From: Le Chaud Lapin <jaibuduvin@xxxxxxxxx>
- Date: Fri, 24 Jul 2009 15:38:18 -0700 (PDT)
On Jul 24, 1:35 pm, Tom St Denis <t...@xxxxxxx> wrote:
To return to the OP he's looking [presumably] to implement his cipher
in something other than ADA. He's better served writing it in C to
broaden it's application (well he's better served by reading crypto
papers and not trolling usenet... but I digress...) than writing it in
C++ and narrowing it's scope.
It's not that you can't write something like an ECC library [or
whatever] in C++, it's that you narrow [needlessly] it's applicable
scope in doing so.
But there a limit to what is considered reasonable.
For example, there was once a machine with 9-bit bytes, which,
technically, the C standard allows. The programmer might decide if his
code should support such bytes or not.
The 1KB example you gave is not so drastic, but would be regarded by
many as being a fringe case.
The question is whether C++ is beneficial, in general, where general
has an extremely large scope compared to fringe cases.
It should also be noted that there is not any mystery in C++. C++ is
as deterministic as C, because in both, there is what the standard
prescribes, and what it does not, and most programmers know what they
know based on reasonable deduction of how a they would do it had they
been the author of compiler, which generally turns out to be true,
assuming, of course, that the programmer knows what's going on.
The only difference is that certain operations in C++ tend to do more
than certain operations in C, but the same reasonable/unreasonable
assumptions can be made.
-Le Chaud Lapin-
.
- References:
- Teach myself C++.
- From: adacrypt
- Re: Teach myself C++.
- From: Richard Herring
- Re: Teach myself C++.
- From: Le Chaud Lapin
- Re: Teach myself C++.
- From: Tom St Denis
- Re: Teach myself C++.
- From: Le Chaud Lapin
- Re: Teach myself C++.
- From: Tom St Denis
- Re: Teach myself C++.
- From: Le Chaud Lapin
- Re: Teach myself C++.
- From: Tom St Denis
- Teach myself C++.
- Prev by Date: Re: Teach myself C++.
- Next by Date: Re: Securing a C++ class
- Previous by thread: Re: Teach myself C++.
- Next by thread: Re: Teach myself C++.
- Index(es):
Relevant Pages
|