[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs rewrite in a maintainable language
From: |
Óscar Fuentes |
Subject: |
Re: Emacs rewrite in a maintainable language |
Date: |
Mon, 12 Oct 2015 15:22:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Oleh Krehel <address@hidden> writes:
> 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.
Many times, while looking at the Emacs C sources, I thought "this would
be much simpler to understand and modify with C++." Furthermore, I would
volunteer to work on it.
However, there are two factors against it:
* If the rewrite happens, using a better language than C++ is
desirable. C++ is better than C, but it sucks too. Developing our own
subset of Elisp that can be compiled to native code and can
inter-operate with C looks more attractive.
* Current maintainers are not likely to welcome the idea, for several
legitimate reasons ("don't know C++", "I dislike it", etc). And
Stallman would forbide it alright ("C++ in my Emacs? No way!" :-)
Making the pill easier to swallow by restricting ourselves to the
simpler C++ features greatly diminishes its effectiveness too.
See the case of GCC. It was too obvious that switching to C++ would
improve the code, but it was resisted for many years.
[snip]
- Re: Emacs rewrite in a maintainable language, (continued)
- 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, 2015/10/12
- 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 <=
- 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
- Re: Emacs rewrite in a maintainable language, Marcin Borkowski, 2015/10/12
- Re: Emacs rewrite in a maintainable language, Óscar Fuentes, 2015/10/12
- Re: Emacs rewrite in a maintainable language, Eli Zaretskii, 2015/10/13
- Re: Emacs rewrite in a maintainable language, John Wiegley, 2015/10/13