delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/18/22:40:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-8.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_PGP_SIGNED,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-ID: <4FB707FA.5070603@users.sourceforge.net>
Date: Sat, 19 May 2012 10:39:54 +0800
From: JonY <jon_y AT users DOT sourceforge DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Is the Latest Release of Cygwin supported on Windows Server 8/2012
References: <CAHomkLT1PncaF4cd0ZMgm4sD1bFvza3DPSUnxLBQ4K5ZLNyu3A AT mail DOT gmail DOT com> <jp5o12$1fb$1 AT dough DOT gmane DOT org> <000601cd351f$da0e4900$8e2adb00$@motionview3d.com> <jp6jdu$nfo$1 AT dough DOT gmane DOT org> <4FB6DD43 DOT 9080407 AT users DOT sourceforge DOT net> <jp6s6r$cnr$1 AT dough DOT gmane DOT org>
In-Reply-To: <jp6s6r$cnr$1@dough.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------enig8F7DB4BA9476EED90FBB41C5
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 5/19/2012 09:15, Andrew DeFaria wrote:
> On 5/18/2012 4:37 PM, JonY wrote:
>>> OK, OK. Tack on "for most applications" to my statement (I thought it
>>> was assumed).
>> I believe the same was said when transitioning from 16bit to 32bit.
> If so then they were wrong.
>> Those are just pointers, instructions do not necessary double in size,
> I was under the impression that the instruction size matches the natural
> word size of the machine. Therefore they would be 64 bit instructions.

No, we are talking about x86, not MIPS/ARM type RISC.

>> we are talking about CISC CPUs after all, besides, nearly all
>> registers in 64bit long mode doubled in size, not to mention the
>> number of them increased, see AMD64 GPRs compared to x86 GPRs.
> I believe my AMD64 is considered a RISC computer. According to
> http://www.tek-tips.com/faqs.cfm?fid=3D788 "The K5 and K6 series are
> internally a highly parallel RISC processor using an x86 decoding
> front-end". And according to
> https://en.wikipedia.org/wiki/Instruction_set: "In some architectures,
> notably most reduced instruction set computers (RISC), instructions are
> a fixed length, typically corresponding with that architecture's word
> size". Things might be different now. I really don't keep up with
> processors anymore.

Which do not apply to CISC CPUs, whatever implementation underneath is
tangent to the user code ISA, the opcodes did not double in size. Please
at least look at the x86 opcode, they are known to have variable lengths.

>>>> Besides, who cares that much about the image size these days?  We
>>>> don't, within reason.
>>> I, for one, do. These larger binary images need to fit in memory and
>>> reserve swap space and virtual memory. I see virtual memory foot prints
>>> in the hundreds of megs if not gigs. Chrome on my Ubuntu box regularly
>>> takes 1-2 gig of virtual memory and hundreds of megs of real memory. If
>>> you run many things like I do you quickly get to the point where your
>>> swapping and thrashing and waiting for the OS to manage many, many more
>>> fragments of memory. All my systems have 4 gig (XP at work, a couple of
>>> Ubuntu boxes at home) and they all come under memory pressure at times.
>>> Small is beautiful.
>> No modern OS actually loaded the entire executable into memory, not
>> since the MSDOS days, they are mapped, like pagefiles.
> So what.

Binary sizes do not correspond to memory usage, not anymore.

>>> All of this is irrelevant to the request to make say /bin/ls 64 bit.
>> And why not?
> And why not what? Your question doesn't make sense.
>> Even if the rest of the system has transitioned to 64bit?
> Even if the rest transitioned what? Your question doesn't make sense agai=
n.
>> If you didn't know, GCC does win64 applications fine. The hard part
>> for porting Cygwin to win64 is the LP64 vs LLP64 issue. The former is
>> used by newlib, it is not easy to transition to Win64 LLP64.
> I still don't understand what having a 64 bit version of ls or grep will
> do for ya...

Since 64-bit mode cannot be avoided, there is simply no reason to keep
legacy mode applications and all that baggage if you can easily rebuild
and move to 64-bit mode.

You don't keep 16-bit programs lying about when there are 32-bit
programs doing the same thing right?



--------------enig8F7DB4BA9476EED90FBB41C5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iEYEARECAAYFAk+3CAAACgkQp56AKe10wHfJKwCfQsie1jQwunQeI/6H/V4adtDy
ZUoAn1/zh0F+PVigbdHcvn9gDDdDlo7X
=wEWj
-----END PGP SIGNATURE-----

--------------enig8F7DB4BA9476EED90FBB41C5--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019