From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Can we go GTK-only? Date: Tue, 01 Nov 2016 15:14:22 -0400 Message-ID: References: <24db2975-17ca-ad01-20c8-df12071fa89a@dancol.org> <4615E73A-19E2-4B79-9889-D3FA686DDDE6@raeburn.org> <83bmy0pl8p.fsf@gnu.org> <831sywp7ew.fsf@gnu.org> <83y413nsjm.fsf@gnu.org> <83funbnngl.fsf@gnu.org> <83d1ifnmto.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1478027701 31459 195.159.176.226 (1 Nov 2016 19:15:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 1 Nov 2016 19:15:01 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) Cc: Daniel Colascione , raeburn@raeburn.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 01 20:14:57 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1eW2-0005Gl-LD for ged-emacs-devel@m.gmane.org; Tue, 01 Nov 2016 20:14:34 +0100 Original-Received: from localhost ([::1]:50706 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1eW5-0004wg-Do for ged-emacs-devel@m.gmane.org; Tue, 01 Nov 2016 15:14:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1eVz-0004wP-1Q for emacs-devel@gnu.org; Tue, 01 Nov 2016 15:14:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1eVy-0000cD-Ad for emacs-devel@gnu.org; Tue, 01 Nov 2016 15:14:31 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:60093) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c1eVs-0000aX-Fd; Tue, 01 Nov 2016 15:14:24 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DdBQALW9BX/+953mhdGwEBAQMBAQGDLQEBAQEBHoRNhVCvdoIDhhYEAgKBaTsSAQIBAQEBAQEBXieEYgEBAwFWIwULCzQSFBgNJIhVCLxVAQEIAiWKfYocAQSZWZEVh3iGC5BLJQwjhGwghgoBAQE X-IPAS-Result: A0DdBQALW9BX/+953mhdGwEBAQMBAQGDLQEBAQEBHoRNhVCvdoIDhhYEAgKBaTsSAQIBAQEBAQEBXieEYgEBAwFWIwULCzQSFBgNJIhVCLxVAQEIAiWKfYocAQSZWZEVh3iGC5BLJQwjhGwghgoBAQE X-IronPort-AV: E=Sophos;i="5.30,296,1470715200"; d="scan'208";a="277887151" Original-Received: from 104-222-121-239.cpe.teksavvy.com (HELO ceviche.home) ([104.222.121.239]) by smtp.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 01 Nov 2016 15:14:23 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 099226621B; Tue, 1 Nov 2016 15:14:22 -0400 (EDT) In-Reply-To: <83d1ifnmto.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 01 Nov 2016 19:15:31 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:209083 Archived-At: > This is simply incorrect. On _some_ platforms, that is true. But not > on all, not anywhere near that. Give us a hint what hides behind this "not all". Clearly, I'm not alone here who really has no idea what you're afraid of, here. Multi-threaded programming is nasty, yes, but not nasty enough that you can't use malloc. BTW, w.r.t a GIL, AFAIK this discussion started mentioning threads mostly as a way to *structure* the code to ease up interaction with libs that want to have their own event loop (i.e. a matter of concurrency), not as a way to improve performance. So the use of a GIL wouldn't be particularly scary. Stefan