[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs and Gnome Canvas
From: |
Eli Zaretskii |
Subject: |
Re: Emacs and Gnome Canvas |
Date: |
Fri, 16 Jul 2010 18:19:21 +0300 |
> From: Óscar Fuentes <address@hidden>
> Date: Fri, 16 Jul 2010 16:24:11 +0200
>
> > I meant link-time and run-time compatibility, not syntactic
> > compatibility.
>
> I use C code on my C++ projects all the time, without those issues. Why
> Emacs should be different?
Because Emacs uses some techniques that a rare C program does. I
mentioned some of them in another thread. Here's a recap:
. The "relocatable allocator" which moves memory of allocated
objects (such as the buffer text) when large chunks of memory are
allocated or freed. Also, allocation of memory off the pure
space, during the build process. These will probably need a
custom new/delete implementations, and various C++ techniques such
as smart pointers may need to be adjusted, or not used.
. The dump and restart process: it's possible that various C++
features such as static constructors will ``need some work'' to
survive these atrocities. That might need hacking the libraries
you use, if you have the sources.
And if you are going to use Qt, you will also need to consider the
implication of the above on its objects.
- Re: Emacs and Gnome Canvas, (continued)
- Re: Emacs and Gnome Canvas, Chong Yidong, 2010/07/15
- Re: Emacs and Gnome Canvas, Óscar Fuentes, 2010/07/15
- Re: Emacs and Gnome Canvas, Eli Zaretskii, 2010/07/15
- Re: Emacs and Gnome Canvas, Óscar Fuentes, 2010/07/15
- Re: Emacs and Gnome Canvas, Eli Zaretskii, 2010/07/15
- Re: Emacs and Gnome Canvas, Óscar Fuentes, 2010/07/15
- Re: Emacs and Gnome Canvas, Eli Zaretskii, 2010/07/16
- Re: Emacs and Gnome Canvas, Óscar Fuentes, 2010/07/16
- Re: Emacs and Gnome Canvas,
Eli Zaretskii <=
- Re: Emacs and Gnome Canvas, Óscar Fuentes, 2010/07/16
- Re: Emacs and Gnome Canvas, Eli Zaretskii, 2010/07/16
- Re: Emacs and Gnome Canvas, Óscar Fuentes, 2010/07/16
- Re: Emacs and Gnome Canvas, Chad Brown, 2010/07/16
- Re: Emacs and Gnome Canvas, Óscar Fuentes, 2010/07/16
- Re: Emacs and Gnome Canvas, Eli Zaretskii, 2010/07/17
- Re: Emacs and Gnome Canvas, Andreas Schwab, 2010/07/17
- Re: Emacs and Gnome Canvas, Eli Zaretskii, 2010/07/17
- Re: Emacs and Gnome Canvas, Andreas Schwab, 2010/07/17
- Re: Emacs and Gnome Canvas, Eli Zaretskii, 2010/07/17