[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs rewrite in a maintainable language
From: |
Eli Zaretskii |
Subject: |
Re: Emacs rewrite in a maintainable language |
Date: |
Mon, 12 Oct 2015 19:18:06 +0300 |
> From: Oleh Krehel <address@hidden>
> Date: Mon, 12 Oct 2015 14:48:47 +0200
> Cc: address@hidden
>
> I think slowly moving the Emacs C core to C++ is a good idea. The two
> languages are supposed to be largely compile-compatible, i.e. g++ can
> understand what was meant for gcc.
C++ is a dying language. On my daytime job we have difficulty
recruiting C++ programmers for the last 2-3 years. Why should we
invest a non-trivial amount of effort, just to get to another language
that is foreign to most contributors? It sounds like waste of
precious resources.
> I've been trying to get into understanding Emacs C core, but it's just
> so hard with all those macros around.
A macro is just like a function when used.
Maybe adding more comments will help. Don't hesitate to ask questions
and point out places where things are hard to understand.
> I think even replacing `#define`
> with `const` would be a huge improvement, worthwhile of the switch.
Standard C supports 'const', and we use it quite a lot in Emacs
sources.
- Re: Emacs rewrite in a maintainable language, (continued)
- Re: Emacs rewrite in a maintainable language, David Kastrup, 2015/10/15
- Re: Emacs rewrite in a maintainable language, Tassilo Horn, 2015/10/14
- Re: Emacs rewrite in a maintainable language, Mathieu Lirzin, 2015/10/14
- Re: Emacs rewrite in a maintainable language, John Wiegley, 2015/10/14
- Re: Emacs rewrite in a maintainable language, Oleh Krehel, 2015/10/15
- Re: Emacs rewrite in a maintainable language, Andy Moreton, 2015/10/14
- Re: Emacs rewrite in a maintainable language, Eli Zaretskii, 2015/10/14
- Re: Emacs rewrite in a maintainable language, John Wiegley, 2015/10/13
- Re: Emacs rewrite in a maintainable language,
Eli Zaretskii <=
- Re: Emacs rewrite in a maintainable language, Steinar Bang, 2015/10/12
- Re: Emacs rewrite in a maintainable language, David Kastrup, 2015/10/12
- Re: Emacs rewrite in a maintainable language, Daniel Colascione, 2015/10/12
- Re: Emacs rewrite in a maintainable language, Óscar Fuentes, 2015/10/15
- Re: Emacs rewrite in a maintainable language, John Wiegley, 2015/10/12
- Re: Emacs rewrite in a maintainable language, Óscar Fuentes, 2015/10/12
- Re: Emacs rewrite in a maintainable language, John Wiegley, 2015/10/12
- Re: Emacs rewrite in a maintainable language, Eli Zaretskii, 2015/10/12
- Re: Emacs rewrite in a maintainable language, Eli Zaretskii, 2015/10/12
- Re: Emacs rewrite in a maintainable language, John Wiegley, 2015/10/12