Deutsch English Français Italiano |
<v4pddb$m5th$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: David Brown <david.brown@hesbynett.no> Newsgroups: comp.lang.c Subject: Re: Baby X is bor nagain Date: Mon, 17 Jun 2024 15:23:55 +0200 Organization: A noiseless patient Spider Lines: 51 Message-ID: <v4pddb$m5th$1@dont-email.me> References: <v494f9$von8$1@dont-email.me> <v49seg$14cva$1@raubtier-asyl.eternal-september.org> <v49t6f$14i1o$1@dont-email.me> <v4bcbj$1gqlo$1@raubtier-asyl.eternal-september.org> <v4bh56$1hibd$1@dont-email.me> <v4c0mg$1kjmk$1@dont-email.me> <v4c8s4$1lki1$4@dont-email.me> <20240613002933.000075c5@yahoo.com> <v4emki$28d1b$1@dont-email.me> <20240613174354.00005498@yahoo.com> <v4okn9$flpo$2@dont-email.me> <20240617002924.597@kylheku.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 17 Jun 2024 15:23:56 +0200 (CEST) Injection-Info: dont-email.me; posting-host="6eee6dfb82180fb756db1a7758fc4b5a"; logging-data="726961"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ZesCM+WhBWCVuj5c1uXbhHy/Q+QQgkfo=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Cancel-Lock: sha1:1hjAc/ZmLk9WsaxKiIkxzb74PYE= Content-Language: en-GB In-Reply-To: <20240617002924.597@kylheku.com> Bytes: 4127 On 17/06/2024 09:30, Kaz Kylheku wrote: > On 2024-06-17, James Kuyper <jameskuyper@alumni.caltech.edu> wrote: >> The problem is that Bart's compiler is VERY unusual. It's customized for >> his use, and he has lots of quirks in the way he thinks compilers should >> work, which are very different from those of most other programmers. In >> particular, compilation speed is very important to him, while execution >> speed is almost completely unimportant, which is pretty much the >> opposite of the way most programmers prioritize those things. > > Most programmers use Javascript and Python, which follow Bart's > priorities. Fast, invisible compilation to some kind of byte code (plus > possibly later JIT), slow execution time. > That is not at all why people use Javascript and/or Python. They want fast /development/ time - compilation speed, to the extent that such languages have a compilation speed - is a minor issue. I know that it would not bother me in the slightest if my Python code took some small but non-zero compilation time for "real" programs (as distinct from small scripts). I use Python rather than C because for PC code, that can often involve files, text manipulation, networking, and various data structures, the Python code is at least an order of magnitude shorter and faster to write. When I see the amount of faffing around in order to read and parse a file consisting of a list of integers, I find it amazing that anyone would actively choose C for the task (unless it is for the fun of it). And people who use these languages - indeed any languages - want their code to be /fast enough/. Faster than that should not be a priority. Bart's priorities in his C compiler do not match those of Python or Javascript programmers. (His scripting language might be closer.) Development time with his C compiler will be significantly worse than normal C with a quality C compiler - you might save a second or two on compilation time, but the lack of features, compatibility, modern standards, and static checking could cost you hours, days, or months. And the fact that it does not produce as efficient results as tools like gcc and clang make it less useful - one of the prime motivations for using C is to get high speed code. His C compiler might have use as a companion tool to his other language tools that generate C, and it could also be seen as a testbed for playing with new potential features in C as it is easier to modify than, say, gcc or clang. But it is not a tool that matches the priorities of languages such as Javascript or Python.