|
|
On 16-Dec-08 23:40, Warp wrote:
> andrel <a_l### [at] hotmailcom> wrote:
>> Just as that some
>> things are more easy expressed in sql or prolog or with lex/yacc than in
>> C and run faster
>
> That last point I don't buy.
>
> You can do *anything* with C.
to quote my next line after that '(even if you could do it in C and even
if C was used as an intermediate step)'. So, yes I am aware that you
could, but the point is that you wouldn't.
You can implement on the fly garbage collection in C but if your library
does not support that you simply won't do that when writing e.g. a
simple TCP stack. In that case you simply allocate a buffer that is
large enough. And we all know what happens next. If you have a
language/system that does support that you go for a different solution.
I am not saying that is as it should be, simply that is like it is.
Another more safe example (as less religious aspects are involved) is
something like battle chess. There is of course a PC version of it, but
it would not have come to life if it was not for the blitter in the
Amiga. There are numerous examples of this kind where the solution space
for a project is shaped by the available hardware/language/libraries.
Post a reply to this message
|
|