On Mon, Jun 10, 2002, Christoph Bugel wrote about "Re: [Job Offer] Qlusters is looking 
for a few good main()":
> Sorry if this is a stupid question, but why would templates be a bad
> idea for kernel code (assuming for this argument that dumbed down C++
> is OK)? I thought templates do the hard work at compile time, but
> don't have overhead at runtime?  Or is it just more bug prone and
> harder to debug?

I think the problem is that unless you're careful, you are quite likely
to generate huge code without noticing - some of it even unneeded and unused
code. The kernel, unlike most executables, takes up real memory (it is
not demand-paged from disk) so having a huge kernel is a real bummer.

-- 
Nadav Har'El                        |       Monday, Jun 10 2002, 1 Tammuz 5762
[EMAIL PROTECTED]             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |Welcome to the Church of the Holy
http://nadav.harel.org.il           |Cabbage. Lettuce pray...

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to