| Deutsch English Français Italiano |
|
<valqv5$367a8$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feeds.phibee-telecom.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Bart <bc@freeuk.com> Newsgroups: comp.lang.c Subject: Re: Top 10 most common hard skills listed on resumes... Date: Wed, 28 Aug 2024 01:28:22 +0100 Organization: A noiseless patient Spider Lines: 23 Message-ID: <valqv5$367a8$1@dont-email.me> References: <vab101$3er$1@reader1.panix.com> <vad7ns$1g27b$1@raubtier-asyl.eternal-september.org> <vad8lr$1fv5u$1@dont-email.me> <vafmiv$202ef$1@dont-email.me> <20240825201124.000017a3@yahoo.com> <86msl05ctt.fsf@linuxsc.com> <vai0ur$2fqc5$1@dont-email.me> <vajl47$2rhoq$3@dont-email.me> <vak058$2t849$2@dont-email.me> <valouj$35rt8$9@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 28 Aug 2024 02:28:22 +0200 (CEST) Injection-Info: dont-email.me; posting-host="1407973ec3a2d1c19c9aff4f00a8367c"; logging-data="3349832"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19z1D/eC44NX+L/GEpmiVwp" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:YiPfsZ54kAPYamHn3uhYjx9ufPg= In-Reply-To: <valouj$35rt8$9@dont-email.me> Content-Language: en-GB Bytes: 2295 On 28/08/2024 00:53, Lawrence D'Oliveiro wrote: > On Tue, 27 Aug 2024 09:44:40 +0200, David Brown wrote: > >> Python does not support any significant degree of low-level programming. >> >> A key example of low-level programming is control of hardware, which on >> most systems means accessing memory-mapped registers at specific >> addresses, reading and writing in specific orders. Python has no means >> to do any of that - C and C++ both provide this ability. > > I’ve got news for you: this kind of thing is perfectly doable in Python > <https://docs.python.org/3/library/ctypes.html>. It's Python calling a special module to do the dirty work. That's not far removed from Python just invoking an external C program to do the job. By contrast, my scripting language can directly do the low level stuff. If there is a byte value at a certain address, it can access it like this: p:=makeref(0x40'0000, byte) println p^