From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Generators (iterators) for Gnu Emacs Date: Sun, 07 Dec 2014 18:31:01 -0500 Message-ID: References: <877fy77zhp.fsf@web.de> <87k326d4ww.fsf@gmail.com> <877fy6rp2o.fsf@web.de> <548230FB.40307@dancol.org> <5482C872.5010304@dancol.org> <5483C537.3010707@dancol.org> <54840719.5080209@dancol.org> <87ppbv4bdt.fsf@ferrier.me.uk> <5484C780.3080902@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417995092 25977 80.91.229.3 (7 Dec 2014 23:31:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2014 23:31:32 +0000 (UTC) Cc: Michael Heerdegen , Nic Ferrier , emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 08 00:31:24 2014 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 1XxlIR-0007qg-HN for ged-emacs-devel@m.gmane.org; Mon, 08 Dec 2014 00:31:23 +0100 Original-Received: from localhost ([::1]:59547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxlIR-0007Is-4W for ged-emacs-devel@m.gmane.org; Sun, 07 Dec 2014 18:31:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxlIH-0007Ic-9S for emacs-devel@gnu.org; Sun, 07 Dec 2014 18:31:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XxlI7-0001WW-VT for emacs-devel@gnu.org; Sun, 07 Dec 2014 18:31:13 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:58662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxlI7-0001WS-Rh for emacs-devel@gnu.org; Sun, 07 Dec 2014 18:31:03 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AskIAOwQflRFxLi7/2dsb2JhbABbgweDYMp3BAICgSQXAQEBAQEBfIQDAQEDAVYjBQsLDiYSFBgNJIhKCdZZAQEBAQYBAQEBHpBvB4RIBYsBpC6BeIQZIYJ3AQEB X-IPAS-Result: AskIAOwQflRFxLi7/2dsb2JhbABbgweDYMp3BAICgSQXAQEBAQEBfIQDAQEDAVYjBQsLDiYSFBgNJIhKCdZZAQEBAQYBAQEBHpBvB4RIBYsBpC6BeIQZIYJ3AQEB X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="99813510" Original-Received: from 69-196-184-187.dsl.teksavvy.com (HELO pastel.home) ([69.196.184.187]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Dec 2014 18:31:03 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id E89429896; Sun, 7 Dec 2014 18:31:01 -0500 (EST) In-Reply-To: <5484C780.3080902@dancol.org> (Daniel Colascione's message of "Sun, 07 Dec 2014 13:32:48 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) 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.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:179329 Archived-At: > That's a terrible idea. It makes it much harder to reason about the > correct operation of programs, since now it makes it virtually > impossible to implement find-definition functionality without lots of > type inference. That's indeed the main problem, and I agree it's a serious one. > There's also the runtime overhead of dynamic dispatch. That's not relevant: one way or another there is dynamic dispatch, regardless what system we use. > Common Lisp solved this problem 20 years ago with namespaces. We should > just implement CL namespaces instead of trying to shoehorn Smalltalk > into the language. Would you accept a CL packages implementation? Last time this was discussed (a year ago, maybe?), we neded turning it down, mostly because `M-x grep RET' can't be used for find-definition and find-uses. Stefan