Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #86627 > unrolled thread

Re: Python Worst Practices

Started byMark Lawrence <breamoreboy@yahoo.co.uk>
First post2015-02-28 16:28 +0000
Last post2015-02-28 16:28 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python Worst Practices Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-28 16:28 +0000

#86627 — Re: Python Worst Practices

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2015-02-28 16:28 +0000
SubjectRe: Python Worst Practices
Message-ID<mailman.19337.1425140924.18130.python-list@python.org>
On 28/02/2015 15:46, Chris Angelico wrote:
> On Sun, Mar 1, 2015 at 2:33 AM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
>>
>> It also makes me wonder what idiot decided to use C as the language for the
>> first Python implementation? Or was it written in something else and then
>> ported?
>
> Guido, probably. And what other language would you suggest? What other
> language has comparably extensive multi-platform support? Writing a
> Python implementation in C instantly makes Python available on all
> sorts of platforms, with direct access to native libraries on all of
> them. For example, CPython on Windows can make use of a whole bunch of
> Microsoft's win32 APIs, via the pywin32 extensions; meanwhile, CPython
> on Linux can use the inotify functions, again via an extension module
> (pyinotify or python-inotify). Jython doesn't offer that, as far as I
> know; or rather, Jython offers access to Java classes rather than to C
> libraries, and there are a lot more of the latter than the former. Of
> all the languages that offer convenient access to the same sorts of
> libraries that C code can (generally, those that compile to machine
> code and use the same kinds of linker information), which would you
> suggest as being better than C?
>
> C may not be perfect, but it's pretty decent at what it does.
>
> ChrisA
>

I love fishing, just dangle the bait and wait to see what bites :)

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web