[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs rewrite in a maintainable language
From: |
Marcus Harnisch |
Subject: |
Re: Emacs rewrite in a maintainable language |
Date: |
Wed, 14 Oct 2015 15:08:19 +0200 |
User-agent: |
Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b34 (linux) |
Daniel Colascione <address@hidden> writes:
> We can
> always do better with application-specific data structures than we can
> with one-size-fits-all C++ data structures designed as reasonable
> defaults, not optimal implementations.
With all due respect, that is a weak argument[1]. Having things under
your own control does not guarantee better (see below) performance. At
best it may carry the potential of delivering better performance.
> I'd hate for someone to think
> that std::unordered_map, say, is somehow better than the data structures
> we've used for a long time merely because the standard stipulates that
> the runtime must provide it.
I guess that depends on the definition of “better”. Regarding run-time
and/or memory usage, it is much more likely that, say, a processor
vendor will contribute a clever, architecture specific implementation
to a compiler's standard library than to Emacsen.
But then I was just raising this point as another potential in the
unlikely event of someone converting the code base to C++, and not in
order to convince anyone.
Regards
Marcus
Footnotes:
[1] Just as weak as my own attempt to paraphrase a comment whose
source I have been unable to locate all morning :(
- Re: Emacs rewrite in a maintainable language, (continued)
- Re: Emacs rewrite in a maintainable language, Paul Eggert, 2015/10/15
- Re: Emacs rewrite in a maintainable language, Oleh Krehel, 2015/10/15
- Re: Emacs rewrite in a maintainable language, Eli Zaretskii, 2015/10/12
- Re: Emacs rewrite in a maintainable language, David Kastrup, 2015/10/15
- Re: Emacs rewrite in a maintainable language, Stephen J. Turnbull, 2015/10/15
- Re: Emacs rewrite in a maintainable language, Marcus Harnisch, 2015/10/13
- Re: Emacs rewrite in a maintainable language, Richard Stallman, 2015/10/13
- Re: Emacs rewrite in a maintainable language, Daniel Colascione, 2015/10/13
- Re: Emacs rewrite in a maintainable language,
Marcus Harnisch <=
Re: Emacs rewrite in a maintainable language, Przemysław Wojnowski, 2015/10/15
Re: Emacs rewrite in a maintainable language, Thomas Koch, 2015/10/15
Re: Emacs rewrite in a maintainable language, Daniel Colascione, 2015/10/15