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: Making --with-wide-int the default Date: Thu, 19 Nov 2015 21:20:16 -0500 Message-ID: References: <56117F37.9060808@dancol.org> <83oag087gs.fsf@gnu.org> <83oafz70im.fsf@gnu.org> <5620AF43.4050401@cs.ucla.edu> <83k2qn6xfm.fsf@gnu.org> <5620B4FA.1000804@cs.ucla.edu> <83wptojs1r.fsf@gnu.org> <56444C66.8050506@gmx.at> <83r3jugx8g.fsf@gnu.org> <87io56nu0a.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1447986067 12509 80.91.229.3 (20 Nov 2015 02:21:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2015 02:21:07 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 20 03:20:54 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 1ZzbJi-0001Hb-8I for ged-emacs-devel@m.gmane.org; Fri, 20 Nov 2015 03:20:50 +0100 Original-Received: from localhost ([::1]:45009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzbJh-0003FU-Hc for ged-emacs-devel@m.gmane.org; Thu, 19 Nov 2015 21:20:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzbJO-0003Eb-JT for emacs-devel@gnu.org; Thu, 19 Nov 2015 21:20:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzbJL-0000q0-Fz for emacs-devel@gnu.org; Thu, 19 Nov 2015 21:20:30 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:59304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzbJL-0000pu-9F for emacs-devel@gnu.org; Thu, 19 Nov 2015 21:20:27 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZzbJI-0000YP-DB for emacs-devel@gnu.org; Fri, 20 Nov 2015 03:20:24 +0100 Original-Received: from 23-91-153-239.cpe.pppoe.ca ([23.91.153.239]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Nov 2015 03:20:24 +0100 Original-Received: from monnier by 23-91-153-239.cpe.pppoe.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Nov 2015 03:20:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 23-91-153-239.cpe.pppoe.ca User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:3EJZ+Z+w/8BVHbJPAt/s4RSuKw4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:194845 Archived-At: >> I think it is quite reasonable _not_ to use wide ints by >> default on architectures with a 32-bit address space. > +1. Another +1 here. My impression from here is that 32bit userlands are becoming the minority anyway, so they're mostly used on machines with limited resources (CPU, cache, RAM). In this context, I think it's wrong to use up more CPU, RAM and cache by default all the time, just on the off-chance that the user will want to view a file that happens to fall just within the 512MB to 2GB window. Would it have ever helped me to build with wide-int? Yes, maybe a couple of time over the last few years. But those are dwarfed by the tens of times that this would have made no difference because the file was greater than 2GB anyway. For those rare >512MB cases, there's GNU ELPA's "vlf" package. If we care about users being able to open very large files on 32bit systems, we should improve that package rather than enable wide-ints by default. Stefan