From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: Dynamic modules: MODULE_HANDLE_SIGNALS etc. Date: Mon, 21 Dec 2015 22:35:00 -0800 Message-ID: <5678EF14.6010707@dancol.org> References: <83mvu1x6t3.fsf@gnu.org> <565779CD.80405@cs.ucla.edu> <83io4nuc68.fsf@gnu.org> <83r3iht93x.fsf@gnu.org> <838u4psznr.fsf@gnu.org> <56772054.8010401@cs.ucla.edu> <83zix4scgf.fsf@gnu.org> <5677DBC9.6030307@cs.ucla.edu> <83io3rst2r.fsf@gnu.org> <567841A6.4090408@cs.ucla.edu> <567844B9.2050308@dancol.org> <5678CD07.8080209@cs.ucla.edu> <5678D3AF.7030101@dancol.org> <5678D620.6070000@cs.ucla.edu> <5678D710.9010406@dancol.org> <5678E8FE.1010502@cs.ucla.edu> <5678EA4E.6080606@dancol.org> <5678EEA3.2060402@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="OR0IPwcvDN0PcnowO2Oa9ELpIUeJObPVD" X-Trace: ger.gmane.org 1450766117 15608 80.91.229.3 (22 Dec 2015 06:35:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Dec 2015 06:35:17 +0000 (UTC) Cc: aurelien.aptel+emacs@gmail.com, p.stephani2@gmail.com, tzz@lifelogs.com, emacs-devel@gnu.org To: Paul Eggert , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 22 07:35:16 2015 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 1aBGXR-0004Uj-Ho for ged-emacs-devel@m.gmane.org; Tue, 22 Dec 2015 07:35:13 +0100 Original-Received: from localhost ([::1]:48964 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBGXR-0004NX-1r for ged-emacs-devel@m.gmane.org; Tue, 22 Dec 2015 01:35:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBGXM-0004LC-Pb for emacs-devel@gnu.org; Tue, 22 Dec 2015 01:35:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBGXM-0001Jl-10 for emacs-devel@gnu.org; Tue, 22 Dec 2015 01:35:08 -0500 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:55442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBGXL-0001JJ-OB; Tue, 22 Dec 2015 01:35:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject; bh=7YICfIkRHfKK5TXqyeMAPGK8Rho2weh3jWrVzuWwRwM=; b=Vcq5J3cVXdn4CuHK4eVb7cQDkEh2Vvlh/w+k1SV9vaNVj2+kwgk/rKcZCty0zQvEiINtvQbzj+D0xHt9dMq0IXOuFxcaYikSXF2OhGM8dF9KLq5a/5MHhuoU+4UiFoU0NUhbfVPugdm8gpvbsi8XZi0R7wYQCeEcHjpyfkEqiu/i0ielm6M1vXXBr0MlwCnN2nlaq5tug3geRzODyafA+shxfHw5/V2N62nvQ29iNAzK2te1zFmpGM5CSIhPrnrRri9o4qWP6J8tMoZSwYjxzEuGtF4NAbQMmgo1JTkDkqqcdlaCd9/QfTIAGApqfOEqkW3D3V1pt7anbelkGFliOQ==; Original-Received: from [2620:10d:c090:180::1:902d] (helo=[IPv6:2620:10d:c081:1103:2ab2:bdff:fe1c:db58]) by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1aBGXK-0004Rb-Ia; Mon, 21 Dec 2015 22:35:06 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 In-Reply-To: <5678EEA3.2060402@cs.ucla.edu> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:196655 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --OR0IPwcvDN0PcnowO2Oa9ELpIUeJObPVD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12/21/2015 10:33 PM, Paul Eggert wrote: > Daniel Colascione wrote: >> Most programs you use don't bother trying to detect or recover from sa= ck >> overflow. Why should they? C stack overflow is a programming error. >=20 > Emacs is different because it's programmable, and it must respond > robustly to programming errors. It's programmable in Lisp. Lisp stack overflows shouldn't kill Emacs. I'm suggesting that we shouldn't care about *C* stack overflows. >> The current stack overflow scheme can't recover reliably >> because it doesn't fix maintain invariants. >=20 > It works well enough now for people to get work done. Introducing > modules should not break this. Modules can just dereference NULL or call abort. Writing a module is more dangerous than writing a bit of elisp. --OR0IPwcvDN0PcnowO2Oa9ELpIUeJObPVD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWeO8UAAoJEN4WImmbpWBl8k0P/2XeGPJngz2OGg4kNG7xjGvy q1eCS6Emdi77yHo55flrkE8a5ZaW9fhpXuV0LogLKPLL3E/LKMsD4WCPaq8/1U6z 2Gp3hN5cP/3pG0TA/Rnvu8iTgMxnylIUYke3EvJ3Q9saIxmYCCK+YiEvLlBnB0Uv Lg4BQo71zLS59UQi0yak0+VPKdrLF1oHk1vpcCZOSaewuIqiSutILrAOVRe2VQJe LfojjpgrGMB2oDGzmbHOM7Fl5/vafVHpB/EG1WCNLfEKuzYTnt7+2AOFYclf87aO oueHwIedG5bgSH8BfoOGARv6c8h3TXqD5elzAgQkB/T1qWq7phqRzjCj5vyVWppf 8Hfqi6nY57hCXkwY5raKN4XBywf736HETg7ygBAT/Rg/DgigXwrQu1yvxoQqnW/g lfUVzsCvrW6p0ucHVv0I2Z4ui4tkqUe2wdF6KDh8QT08S5sk3ZRRWtiP9KKrSCg8 zceOy1JJe7SFtlc7IqZ2aLLnd7FAmU9OTlBFCHVhsnOCpkzuW4ZSPiwq+pJP8WVQ lpbeZwz6XPX8ynwg62A56zMOtBvJnGxeUAXNe5v8YF2N4/OkpnGkcA9uJ/tTTOqe kf+rXu+5KdN0C87gI0FmjW3afQix8dssQru7t4/jwW0zm1ubId+yDor6zk79I0ls 60MdAdXU7MMakNI8Kik/ =HB0S -----END PGP SIGNATURE----- --OR0IPwcvDN0PcnowO2Oa9ELpIUeJObPVD--