Sujet : Re: The joy of FORTRAN
De : 186283 (at) *nospam* ud0s4.net (186282@ud0s4.net)
Groupes : comp.os.linux.misc alt.folklore.computersDate : 04. Oct 2024, 07:03:31
Autres entêtes
Organisation : wokiesux
Message-ID : <o8icnRRnt4ChGGL7nZ2dnZfqn_idnZ2d@earthlink.com>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
On 10/4/24 1:48 AM, Lawrence D'Oliveiro wrote:
On Fri, 4 Oct 2024 01:19:02 -0400, 186282@ud0s4.net wrote:
Ya know ... most of Python IS 'C'-based libs.
Never really looked into it, but the 'advanced'
Python function may just be strtok() with a lot of handy fixes/cheats
in disguise :-)
No, because Python strings can contain any characters, including nulls.
Yea ... but Python = 'C' under the hood. The
Python rules/methods are just a disguise for
what the underlying 'C' is doing.
I think the libs can be found/read.
I’ve written some of those C extension libraries, and I can tell you the
string API is more sophisticated than you think.
Probably.
Everything you can/want to do with strings ... it's
potentially complicated. Lots of ways to do it, it's
up to clever coders to find good/best ways.