Messages in this thread | | | Date | Tue, 11 Feb 2003 00:28:40 +0100 | From | "J.A. Magallon" <> | Subject | Re: gcc 2.95 vs 3.21 performance |
| |
On 2003.02.10 Andrea Arcangeli wrote: > On Wed, Feb 05, 2003 at 12:51:12AM +0100, Jakob Oestergaard wrote: > > On Tue, Feb 04, 2003 at 03:21:01PM -0800, Larry McVoy wrote: > > > > I'd love to see a small - and fast - C compiler, and I'd be willing to > > > > make kernel changes to make it work with it. > > > > > > I can't offer any immediate help with this but I want the same thing. At > > > some point, we're planning on funding some extensions into GCC or whatever > > > reasonable C compiler is around: > > > > [snipping Linus from To:] > > > > Cool. > > > > > > > > - associative arrays as a builtin type > > > > > > { > > > assoc bar = {}; // anonymous, no file backing > > > > > > bar{"some key"} = "some value"; > > > if (defined(bar{"some other value"})) ... > > > } > > > > Allow me: > > > > { > > std::map<std::string,std::string> bar; > > > > bar["some key"] = "some value"; > > if (bar.find("some other value") != bar.end()) ... > > } >
And don't forget smart pointers with reference counting so you can get rid of all those stupind kfree's... ;)
-- J.A. Magallon <jamagallon@able.es> \ Software is like sex: werewolf.able.es \ It's better when it's free Mandrake Linux release 9.1 (Cooker) for i586 Linux 2.4.21-pre4-jam1 (gcc 3.2.1 (Mandrake Linux 9.1 3.2.1-5mdk)) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |