Deutsch   English   Français   Italiano  
<vr93a6$3i2s$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Muttley@DastardlyHQ.org
Newsgroups: comp.lang.c
Subject: Re: Python recompile
Date: Mon, 17 Mar 2025 12:07:34 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 57
Message-ID: <vr93a6$3i2s$1@dont-email.me>
References: <vq1qas$j22$1@gallifrey.nk.ca> <vqefn1$3flpt$1@dont-email.me>
 <vqeu5c$3imil$1@dont-email.me> <vqeun4$3iqbq$1@dont-email.me>
 <vqfcbe$3lkkc$1@dont-email.me> <871pv861ht.fsf@nosuchdomain.example.com>
 <20250308192940.00001351@yahoo.com> <vqi1ge$8jg8$1@dont-email.me>
 <vqmgjv$3a2il$1@paganini.bofh.team> <vqn4dn$1eb9s$1@dont-email.me>
 <vqo3ss$3hkas$1@paganini.bofh.team> <vqph2e$203bs$2@dont-email.me>
 <vqvtop$cpvn$1@paganini.bofh.team> <vr1nkh$1miii$1@dont-email.me>
 <G8_AP.37556$D_V4.24121@fx39.iad> <vr1uk1$1sb5s$1@dont-email.me>
 <874izvjs4m.fsf@nosuchdomain.example.com> <vr27td$22vgq$2@dont-email.me>
 <87senfi7ii.fsf@nosuchdomain.example.com> <vr2dbm$2995t$1@dont-email.me>
 <vr2onl$2hjmt$3@dont-email.me> <vr3k67$3a5r2$1@dont-email.me>
 <vr3li9$3bqnp$1@dont-email.me> <vr3php$3di63$2@dont-email.me>
 <vr3qa3$3fua7$1@dont-email.me> <vr3vup$3jjoq$1@dont-email.me>
 <vr4ba0$3tj6e$1@dont-email.me> <vr4emj$3vejc$1@dont-email.me>
 <vr67qo$1inip$1@dont-email.me>
 <vr6ert$1ob25$1@dont-email.me>
Injection-Date: Mon, 17 Mar 2025 13:07:35 +0100 (CET)
Injection-Info: dont-email.me; posting-host="2ab1be3dd2111373d3063d43a619f6ca";
	logging-data="116828"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18t8vx/lGheZSGth2W70lVl"
Cancel-Lock: sha1:2QR1b5k9TAKwvw3hWMS/qhQ1wwM=
Bytes: 4024

On Sun, 16 Mar 2025 12:06:20 +0000
bart <bc@freeuk.com> wibbled:
>On 16/03/2025 10:06, Muttley@DastardlyHQ.org wrote:
>> Well does it do anything useful? You seem rather dismissive of including any
>> kind of OS API with it rendering it effectively useless except as an academic
>
>> exercise.
>
>I first used it as an in-house product over 40 years ago. It was used 
>internally in my company that developed hardware, for writing test 
>software. Later it was used to make commercial low-end CAD products, 
>which included integrated scripting languages.
>
>Basically, it could do anything C could do, but more comfortably (I 
>never managed to switch to C and prefered my product).

Anything C could do so long as you don't include all the standard C libraries 
in "anything".

>> You plucked cpython out your arse and expect me to go download and build it?
>> Are you fucking kidding me, you think I have nothing better to do with my
>time?
>
>EXACTLY!
>
>It was actually YOU who brought up the Python example, because you 
>thought that:
>
>    python file.py
>
>for a scripting language with a lead module file.py was a fair 
>comparison with my product being able to do the same with:

You asked how to run a program in another language with 2 words. I gave you
an example. FWIW python does internally compile the code down to some 
intermediate language before it runs it.

>It's instant, like turning on a light switch. But using your normal 
>Linux tools would be more like first building a fire, then using that to 
>drive a steam-powered generator!

So how would your compiler know what libraries to link with? I imagine its
not a problem if you don't bother with libraries in the first place.

>> Only by people who don't know what they're doing.
>
>I've only been writing compilers since 1979, so you could be right!

I'd find another hobby given no one has heard of any language you've written.

>However, 'gcc *.c' worked!

Yes, you can use that old school method and sometimes it does work and leave
an a.out there, but more often that not different modules require different
compilation parameters and it all goes tits up. And thats assuming you don't
get multiple definition errors when it tries to link.