From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Rethinking the design of xwidgets Date: Wed, 14 Oct 2020 22:07:17 -0400 Message-ID: References: <864kmzupp0.fsf@akirakyle.com> <835z7e2ouj.fsf@gnu.org> <86v9fet5sg.fsf@akirakyle.com> <86sgait1wt.fsf@akirakyle.com> <83ft6i0xth.fsf@gnu.org> <86k0vtu9i5.fsf@akirakyle.com> <83wnzszx2d.fsf@gnu.org> <865z7cba2j.fsf@akirakyle.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6095"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , qhong@mit.edu, emacs-devel@gnu.org To: Akira Kyle Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 15 04:08:41 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kSsh7-0001VP-Py for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Oct 2020 04:08:41 +0200 Original-Received: from localhost ([::1]:39286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSsh6-0005Aw-Ro for ged-emacs-devel@m.gmane-mx.org; Wed, 14 Oct 2020 22:08:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSsfw-0004TM-8a for emacs-devel@gnu.org; Wed, 14 Oct 2020 22:07:28 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:37770) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSsft-00026C-OP; Wed, 14 Oct 2020 22:07:27 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 0DDF14415C7; Wed, 14 Oct 2020 22:07:24 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 9EA3C4415C2; Wed, 14 Oct 2020 22:07:18 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1602727638; bh=aPezM5P6RalPOy4Sf/S1qF1wVAHgOM6sHftqjCerdhk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=pT4/fXslEOhBsjHycK3Ezv6Y2GeilmZL20QegFF8D0c0DMme82oXSMuYOXvo/sNSd v7Pe12I+Xg3UO8ugQWxqK40BfLBTgOeBG9ohqvnbHFB1nBbFdqHmNRM2Q9/EffC0T8 mtndoS0pg2hZny7oiGOUPnYT0+dG+dhlnmqNywjYNfpjzbZ8pFmvR0wLl07hLfVZrZ QS04JO5260Xo6VQgbRWLnDBhEvAvlp+c04farS7TYTsDdMMfaYK06okvmRx0BMXOve ZXS4ZwaxSaBjb7AzPV2fG02PN4CW8cai1uYzHOkXT7SE6ojmjjj0uOybtIzci+b6k9 AemVnhCsX4lRA== Original-Received: from alfajor (unknown [157.52.9.240]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 671061202C2; Wed, 14 Oct 2020 22:07:18 -0400 (EDT) In-Reply-To: <865z7cba2j.fsf@akirakyle.com> (Akira Kyle's message of "Wed, 14 Oct 2020 18:35:16 -0600") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/14 21:42:10 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:257697 Archived-At: > I didn't mean the code that actually draws the plot the, but rather the > computation that was run to generate the data that the plot is displaying as > in principle that could be very expensive, which is why I was talking about > having to cache the data that the plot is working from. Sometimes, people who have worked on the code for a long time (like myself) get "stuck in a rut" and fail to see how a different approach could come with all kinds of strong advantages which makes it worthwhile (despite the many downsides that we can foresee and which you luckily can't see as clearly). So I encourage you to try the approach you imagine, and see where it leads you. It will have significant shortcomings, most likely, but that doesn't mean it can't be tremendously useful and successful. Just be aware of the fact that it may also turn out to be just not very satisfactory. Stefan