From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: C and Emacs Lisp code parts Date: Fri, 1 Jul 2016 23:42:43 -0400 Message-ID: <57773833.1050902@gmail.com> References: <624c3d37-c829-7187-a699-7d7bbc211a20@online.de> <87bn2gd89r.fsf@tromey.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HM48aRfxJTblUhMqAgqjqkdm609xRTkAi" X-Trace: ger.gmane.org 1467431019 22117 80.91.229.3 (2 Jul 2016 03:43:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Jul 2016 03:43:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 02 05:43:29 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bJBq3-0006EY-5J for ged-emacs-devel@m.gmane.org; Sat, 02 Jul 2016 05:43:27 +0200 Original-Received: from localhost ([::1]:36798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJBq2-0007e5-09 for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2016 23:43:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJBpV-0007dm-UR for emacs-devel@gnu.org; Fri, 01 Jul 2016 23:42:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJBpP-0000TD-WD for emacs-devel@gnu.org; Fri, 01 Jul 2016 23:42:52 -0400 Original-Received: from mout.kundenserver.de ([217.72.192.73]:51108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJBpP-0000T1-Lo for emacs-devel@gnu.org; Fri, 01 Jul 2016 23:42:47 -0400 Original-Received: from [18.189.1.110] ([18.189.1.110]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0MEWGP-1b7r9I2K89-00Fijc for ; Sat, 02 Jul 2016 05:42:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 In-Reply-To: <87bn2gd89r.fsf@tromey.com> X-Provags-ID: V03:K0:NHQaLku/dGvbEpA0QVyTKOaMTdwjWXkbX4ObKToE0Lkriq6QYUn 5MWJCn81mOtmS/D6TlMShvZSkQRL/CxNoIyrt3XB2HxpE7C48Ltxv/8wSvSynRrDXlcJ8lV 7i/eYY/QulldjsrrdbWG4o/cU5RI3Tcls7GU73MurbRkjCWKTtN1KHeEmHeX6qO/4uOuxMd hUbUJwnZf5qk2XSGPps8w== X-UI-Out-Filterresults: notjunk:1;V01:K0:u67NNP5DroM=:kLdhig9MoBuvonIA6ByVdU A2cW8TNoi0vTf7PKe+QYvYDkBeNmjg+YNzwdwGLvG3W1BpvkYtXA8e+IZ45cU6RegWFndoeEu 0C3YArGRYfHec+OaL5EHFviZZstJmS+KC4fnHFhUun5ggG8Ced7YZK0D52N5rtd4opNlYkdlw 6684Fhv3I0DuJXMeeZyJ3PwVnmf0hIv6qNt5MV18g62CC+LGCc6VMbNvVDifqKoka75GKqXK3 kxL0c/cE/wOjCH6+kar3SIPAh/+FM3nKhm2SorwE4eGqMTqUC7oH6KQRDba2GkoTXP6+J3AkE ixf1dF47bHytymkERbFwjC5q8QnWLPBNb86OvQcx9Iy9hRpL/5YtPfClJ4MMbsQMVQnXGjYaG 5agK7WmUxBdpmZVhVViuZJELaW2lqMYBhp5yC6DPubxLt9IkmTfiNt3ROTZl3Ui7f7+DLXcNb 8C74TjVX1ZjcIMEy/1jeBgOo/fut3x8VxUtInYY4rZnmReiVK3osYmgd1N/fIBTOYhwlW6uBk q4Rt3lH5rKhdO/1eWcDMNcxBCgxFF21JL71iQFkoge7OfkKq13IktyzNITxnYBi4jJ9NCNrAC oDwxgCklST1TYK45AQNCI7a02V9wjOy1DKgMOG9beb4BLuOnSbOfxLG7XHdv6mvVTK3ibmdE4 5EzRtA9JXz0U2ELO5nS114sGChdZsHcQMGOSrlpyrXfyyegYnIcnY4fvH47HZoxCHOHI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.72.192.73 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:205069 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HM48aRfxJTblUhMqAgqjqkdm609xRTkAi Content-Type: multipart/mixed; boundary="flfLRdgAX0rswVlG3Gu3jIB3iUHfBJxt6" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: emacs-devel@gnu.org Message-ID: <57773833.1050902@gmail.com> Subject: Re: C and Emacs Lisp code parts References: <624c3d37-c829-7187-a699-7d7bbc211a20@online.de> <87bn2gd89r.fsf@tromey.com> In-Reply-To: <87bn2gd89r.fsf@tromey.com> --flfLRdgAX0rswVlG3Gu3jIB3iUHfBJxt6 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-07-01 23:32, Tom Tromey wrote: >>>>>> "Andreas" =3D=3D Andreas R=C3=B6hler w= rites: >=20 > Andreas> last years parts of C code have been switched into the Lisp > Andreas> area. There are pro and cons, the cons seems to be an easier > Andreas> maintenance, to protect against the lack of skilled C-develope= rs. >=20 > Andreas> The backside is a general slowness, not felt in details of suc= h a > Andreas> change, but cumulated.Would liketo see this strategy changed. = Rather > Andreas> focus at a fast and small core. Reduce the rate of changes may= be. My > Andreas> preferred Emacs must not provide everything, but be quick and = reliable > Andreas> and easy to extend. Emacs Lisp seen as designed for the user-s= pace. >=20 > Another approach is to just write Emacs Lisp, and use a compiler to > translate important parts to C. I've done a lot of this work, but it > needs some love to get to the finish line. This. Quoting from your page (which I +1'd a while ago): I think Emacs should move more strongly toward self-hosting. Too much= of Emacs is written in C, and in the long term this should be migrated t= o lisp. Couldn't agree more. There are so many benefits to code written in Elisp= : readability, simplicity of debugging, simplicity of editing and replaci= ng code, safety, etc. Moving code to C by hand may be a way to make some= functions faster, but there are many other less drastic ways. Cl=C3=A9ment. --flfLRdgAX0rswVlG3Gu3jIB3iUHfBJxt6-- --HM48aRfxJTblUhMqAgqjqkdm609xRTkAi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJXdzgzAAoJEPqg+cTm90wj88AQALTkJ6FZm46f4Xu3RQnGovaM GOt8b31zQLWioDQokO7tmvTunoJ7U5H0eff37QoMcLGLYVaBcor0RgrmaaKUANuo BhtAXMjIOHTnzyVaE2ly9RUGo5+k9biG7A73x8/mR61eubr5WRyBFd9luWkm4dtn +QUujH94LbrKUFVu9nz1ohvBB8eAsjQQMu7iGo0T+fxCkKDpPGLwAVM28vBBJrD4 YkGErI0fhG52HReglQ9IuVMBQmsp5hr1aOcdDnKcXpEOz6hWqdRQUyoCx7x77NaA tKLAvbbgIvU/UXRKOxTOHf7HKGyeQGFooncwY0s5yhfAZpyuqy1NCa38EXeT6BmO ZplTXrDHXTJ5lEUgKyIvYdfjrqt7PnAI6qhsj8MlUXwLCGNCfrpy3oiAPRqsO3oT C6/4ImJLaZh5wXox1E7SUM4Fom7ql6yUJNy2t1RrMvGTTGwJp2xiqU6zsIq5d8Ca wAcAcIsacxTXkHtn7bezgzdqawMJ/NznU+9e48injSoJLApNkZdRdNmkrIv8cIZd CHCYF0nd39G3B+RzRlExHq+0i8rDrkkhsnJTHAbfPs8m5M0cHHJigc91zssTdx47 FgbNaxVVIgRsm/Ue13tZexsJPvvvDGgq+sZfvHkmqlRvrWmO0jh0EvQshhO/z0jp wSPLebGuzs8/nqT/bCkI =OQJa -----END PGP SIGNATURE----- --HM48aRfxJTblUhMqAgqjqkdm609xRTkAi--