From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 20799 invoked from network); 25 May 2023 05:26:37 -0000 Received: from minnie.tuhs.org (2600:3c01:e000:146::1) by inbox.vuxu.org with ESMTPUTF8; 25 May 2023 05:26:37 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 519AF402E8; Thu, 25 May 2023 15:26:35 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuhs.org; s=dkim; t=1684992395; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-owner:list-unsubscribe: list-subscribe:list-post; bh=fsaWUpXx/dHkeADg9ZIGmaOenyYbcjdzc/mMMGEaTPg=; b=P+Fp985CyUBpbywcjiJRLu+ETopGeWDxGLdbBmD5LcoCCm4slCfKbWql/DhRAqhM4BjPoD TX26eehSwTbxO4VXGMUbesetE/tbdQnGr7hyp1BkCHXflzLLVKzmolj8HpIKrYbx5fpWi2 n6kOkY1zvT6UOhyHVZ1QC3WYjc2dzA0= Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by minnie.tuhs.org (Postfix) with ESMTPS id 6B10E402E2 for ; Thu, 25 May 2023 15:26:22 +1000 (AEST) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-514447e8578so285997a12.0 for ; Wed, 24 May 2023 22:26:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1684992380; x=1687584380; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=fsaWUpXx/dHkeADg9ZIGmaOenyYbcjdzc/mMMGEaTPg=; b=cd7vGgCA8v+pcFQkWJ0p4GaqPImKc2n68vE3HzncyZad8/yKlKhREHu2d5aLkeRA7N dVgg7RA6uKT7kEPMcsiIrJDMpCT2aLn90ae0bHj4rfqOeQ9639XUe78YNTXFUagzKXCJ 2eEZEodUBALthJvRrYFQBhORCdCNB9UxCCAsQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684992380; x=1687584380; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fsaWUpXx/dHkeADg9ZIGmaOenyYbcjdzc/mMMGEaTPg=; b=Ttp7ZNOy7z9Tfw8dbxA2wY+5jL4CFCpjFRN15g3P9O0JCYLqiWDn+rvFiLGErTSbp9 n2GICQLrMQR7lO6Q3Etr324OT6IVGukeAUisiQV4cFOIrtqZrUYDI+RnQJp7kSvSxQvL tTk6wIQ0JQw+zsakLPkNbtuwBUbqTpjPzos5gTS131DFEFpsrUlc3hUastOuaSkcyxOg jleC2+CfeJuVhz+XDO/8qKWWu0N4aJRxV2u0ECxhiYfEO9Il6FPRqR2Qiy/0W+MiqvOa UN4Qd6T+qYoqNsWHzaHwTqXmgP1pdhlRalvxM1XKuRza28J9SzxTQZxWDzWijX+UD1rJ As+Q== X-Gm-Message-State: AC+VfDzzGGqAKWirm1OcJXNFZxQT+XIi/O2b2ghCrBEM3YkpfLz2U0UG MiR9UFAwfkOeJwVuU/A5oOqsJR6r7WvG5JFgrtGQKrJtQZRGjSRAJ0Esa/r26MdDdSYGHyfpgvN EshJ7tprzk5kZJBPb3myRi7JOlukuFmPvonjiliKq7t2q2WQxzOxde3zf7Y6nBoTL91Q= X-Google-Smtp-Source: ACHHUZ48HuS+tyB5QMV8WXItE3t7YwJra34mi5ELMp+J/coQSdHjhVBDwX8fG0LanXS7VqZ4bJ+m2A== X-Received: by 2002:a17:907:3181:b0:96a:316f:8aaa with SMTP id xe1-20020a170907318100b0096a316f8aaamr203300ejb.37.1684992380414; Wed, 24 May 2023 22:26:20 -0700 (PDT) Received: from mail.ancienthardware.org (2a02-a464-36da-fc--7f.fixed6.kpn.net. [2a02:a464:36da:fc::7f]) by smtp.gmail.com with ESMTPSA id j15-20020a170906830f00b009661cf921b4sm307326ejx.202.2023.05.24.22.26.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 May 2023 22:26:20 -0700 (PDT) Received: from arno by mail.ancienthardware.org with local (Exim 4.96) (envelope-from ) id 1q23UR-006Tiy-0z; Thu, 25 May 2023 07:26:19 +0200 Date: Thu, 25 May 2023 07:26:19 +0200 To: Computer Old Farts Followers Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Message-ID-Hash: GNNBE5EYIHLVDW5T4N4HXOA7F5NWWGSY X-Message-ID-Hash: GNNBE5EYIHLVDW5T4N4HXOA7F5NWWGSY X-MailFrom: arno.griffioen@ieee.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Arno Griffioen X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [COFF] Re: C compiler in 512 bytes List-Id: Computer Old Farts Forum Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Arno Griffioen via COFF Reply-To: Arno Griffioen On Wed, May 24, 2023 at 06:14:42PM -0600, Warner Losh wrote: > This appeared in my news feed and hacker news. > https://xorvoid.com/sectorc.html Thanks! I always also loved the obfuscated C contest as you could pick up so much neat stuff and low-down info from that. Also showed you a lot of the underlying behaviour in the C language and how compilers would 'fill in the blanks' in several cases. As students during my college time we regularly got into friendly competitions to do the 'shoterst source xyz' or 'fastest' or even some obscure 'smallest resulting ASM from the compiler'. Fun times.. Longest running one I remember was cramming a fully compiling and running Conway's 'life' into as little C-source bytes as possible (excluding the playing field data, but it did have to read that..). I vaguely remember it getting down to a ridiculous 30-something bytes or so. Again.. Thanks for the link. Definite reading material for a quiet moment.. Bye, Arno.