Boot loaders are another type of software which would be impractical
to write in existing Python implementations.
I wonder if TinyPy (http://www.tinypy.org/) could be used to write a
boot loader. It would probably need some more code to replace the
services it uses from an OS, and perhaps it
In article 0022052b$0$2930$c3e8...@news.astraweb.com,
Steven D'Aprano st...@remove-this-cybersource.com.au wrote:
On Fri, 28 Aug 2009 15:37:46 -0700, qwe rty wrote:
i know that an interpreted language like python
Languages are neither interpreted nor compiled. *Implementations* are
interpreted
On Tue, 08 Sep 2009 00:09:26 +, Albert van der Horst wrote:
Existing Python implementations don't give you direct access to
hardware, and bit-manipulation has a lot of overhead in Python.
Numerical
Surely you don't mean that
0x17 0xAD
has more overhead than
17 + 123
So what do
On Aug 28, 5:37 pm, qwe rty hkh00...@gmail.com wrote:
i know that an interpreted language like python can't be used to make
an operating system or system drivers.
what else can NOT be done in python? what are the limitations of the
language?
Neither of those is strictly true. It is true,
On Fri, 04 Sep 2009 08:21:15 -0700, Mike Coleman wrote:
It is true, though, that Python
cannot be used to write arbitrarily complex one-liners, though.
Incorrect.
exec x=1\0while x 5:\0 x+=1\0print x.replace('\0','\n')
5
Take (almost) any arbitrary piece of Python code. Replace all
On 2009-09-05, Steven D'Aprano st...@remove-this-cybersource.com.au wrote:
On Fri, 04 Sep 2009 08:21:15 -0700, Mike Coleman wrote:
It is true, though, that Python
cannot be used to write arbitrarily complex one-liners, though.
Incorrect.
exec x=1\0while x 5:\0 x+=1\0print
On Fri, 04 Sep 2009 22:27:39 -0500, Grant Edwards wrote:
Take (almost) any arbitrary piece of Python code. Replace all newlines
by nulls. Escape any quotation marks. Wrap the whole thing in quotes,
and pass it to exec as above, and you have an arbitrarily complex
one-liner.
I don't
Steven D'Aprano st...@remove-this-cybersource.com.au writes:
On Sat, 29 Aug 2009 05:37:34 +0200, Tomasz Rola wrote:
My private list of things that when implemented in Python would be
ugly to the point of calling it difficult:
1. AMB operator - my very favourite. In one sentence,
On Sat, 29 Aug 2009 23:07:17 +, exarkun wrote:
Personally, I consider Python to be a good language held back by
too-close ties to a naive interpreter implementation and the lack
of a formal standard for the language.
Name one language under active development that has not been harmed by
exar...@twistedmatrix.com wrote:
On 10:23 pm, a...@pythoncraft.com wrote:
In article 4a998465$0$1637$742ec...@news.sonic.net,
John Nagle na...@animats.com wrote:
Personally, I consider Python to be a good language held back by
too-close ties to a naive interpreter implementation and the
On Saturday 29 August 2009 02:14:39 Tim Chase wrote:
I've also been sorely disappointed by Python's ability to make a
good chocolate cream silk pie.
This is not pythons fault - it is yours, for failing to collaborate with a
good hardware designer for the robotics.
- Hendrik
--
On Aug 29, 4:26 am, qwe rty hkh00...@gmail.com wrote:
On Aug 29, 3:14 am, Tim Chase python.l...@tim.thechases.com wrote:
what else can NOT be done in python? what are the limitations of the
language?
I understand there's a little trouble getting Python to prove
that P=NP You'll
On Sat, 29 Aug 2009, Timothy N. Tsvetkov wrote:
On Aug 29, 4:26 am, qwe rty hkh00...@gmail.com wrote:
On Aug 29, 3:14 am, Tim Chase python.l...@tim.thechases.com wrote:
what else can NOT be done in python? what are the limitations of the
language?
[...]
I forgot about solving
On Sat, 29 Aug 2009, Steven D'Aprano wrote:
On Sat, 29 Aug 2009 05:37:34 +0200, Tomasz Rola wrote:
My private list of
things that when implemented in Python would be ugly to the point of
calling it difficult:
1. AMB operator - my very favourite. In one sentence, either language
Theoretically a microkernel could be used to do the stuff python directly
couldn't do and the rest could be done once an interpreter was loaded in
theory.
On Fri, Aug 28, 2009 at 4:37 PM, qwe rty hkh00...@gmail.com wrote:
i know that an interpreted language like python can't be used to make
an
On Aug 28, 7:05 pm, Tim Chase python.l...@tim.thechases.com wrote:
qwe rty wrote:
i know that an interpreted language like python can't be used to make
an operating system or system drivers.
As long as you are willing to write the OS hooks in C, you can
write the userspace device drivers
On Aug 28, 6:37 pm, qwe rty hkh00...@gmail.com wrote:
i know that an interpreted language like python can't be used to make
an operating system or system drivers.
what else can NOT be done in python? what are the limitations of the
language?
Now that you have some good answers, may I ask
qwe rty wrote:
On Aug 29, 5:11 am, Nobody nob...@nowhere.com wrote:
On Fri, 28 Aug 2009 17:26:06 -0700, qwe rty wrote:
if you don't know the answer please don't reply
If you don't understand the question, don't post it in the first place.
don't be so angry ,not good for your health
You
exar...@twistedmatrix.com wrote:
For my part, I will agree with John. I feel like Python's big
shortcomings stem from the areas he mentioned. They're related to each
other as well - the lack of a standard hampers the development of a less
naive interpreter (either one based on CPython or
i know that an interpreted language like python can't be used to make
an operating system or system drivers.
what else can NOT be done in python? what are the limitations of the
language?
--
http://mail.python.org/mailman/listinfo/python-list
qwe rty wrote:
i know that an interpreted language like python can't be used to make
an operating system or system drivers.
what else can NOT be done in python? what are the limitations of the
language?
Python is a high level language. It's not designed for low level stuff
like bit
On Aug 28, 5:37 pm, qwe rty hkh00...@gmail.com wrote:
what else can NOT be done in python? what are the limitations of the
language?
Why would you even want to know what can't be done? What is it that
you would like to do with Python? If you want a one size fits all
language you may be looking
qwe rty wrote:
i know that an interpreted language like python can't be used to make
an operating system or system drivers.
As long as you are willing to write the OS hooks in C, you can
write the userspace device drivers in Python:
what else can NOT be done in python? what are the limitations of the
language?
I understand there's a little trouble getting Python to prove
that P=NP You'll also find that it only comes close to solving
the unrestricted three-body problem and the Traveling Salesman
problem is still limited
On Aug 29, 3:14 am, Tim Chase python.l...@tim.thechases.com wrote:
what else can NOT be done in python? what are the limitations of the
language?
I understand there's a little trouble getting Python to prove
that P=NP You'll also find that it only comes close to solving
the
On Aug 28, 7:05 pm, Tim Chase python.l...@tim.thechases.com wrote:
(snip)
Since Python is Turing-complete, there's no reason a whole OS
couldn't be authored in Python.
Yes, and one could go from NY to LA on a unicycle but would one really
want to? Talk about some redass and blueballs! *yikes*
On Fri, 28 Aug 2009 15:37:46 -0700, qwe rty wrote:
i know that an interpreted language like python
Languages are neither interpreted nor compiled. *Implementations* are
interpreted or compiled.
Perl has only one implementation, which is interpreted (as far as I
know); Java has a number of
qwe rty hkh00...@gmail.com wrote in message
news:00a36f89-52dd-4d90-a455-cee6a0c9d...@q5g2000yqh.googlegroups.com...
i know that an interpreted language like python can't be used to make
an operating system or system drivers.
what else can NOT be done in python? what are the limitations of
qwe rty wrote:
On Aug 29, 3:14 am, Tim Chase python.l...@tim.thechases.com wrote:
what else can NOT be done in python? what are the limitations of the
language?
I understand there's a little trouble getting Python to prove
that P=NP You'll also find that it only comes close to solving
the
if you don't know the answer please don't reply
I'm not sure you understand -- Being a Turing complete language,
anything you can do in any other language, you can do in Python.
As r observed, it might not be a pleasant experience (though
there are a lot of things I'd rather do in Python
On Aug 29, 4:17 am, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Fri, 28 Aug 2009 15:37:46 -0700, qwe rty wrote:
i know that an interpreted language like python
Languages are neither interpreted nor compiled. *Implementations* are
interpreted or compiled.
Perl has only
On Fri, 28 Aug 2009 17:31:22 -0700, r wrote:
Since Python is Turing-complete, there's no reason a whole OS
couldn't be authored in Python.
Yes, and one could go from NY to LA on a unicycle but would one really
want to? Talk about some redass and blueballs! *yikes*
Yes, if i have learned
On Fri, 28 Aug 2009 17:26:06 -0700, qwe rty wrote:
if you don't know the answer please don't reply
If you don't understand the question, don't post it in the first place.
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 29, 5:11 am, Nobody nob...@nowhere.com wrote:
On Fri, 28 Aug 2009 17:26:06 -0700, qwe rty wrote:
if you don't know the answer please don't reply
If you don't understand the question, don't post it in the first place.
don't be so angry ,not good for your health
--
On Fri, 28 Aug 2009, qwe rty wrote:
i know that an interpreted language like python can't be used to make
an operating system or system drivers.
what else can NOT be done in python? what are the limitations of the
language?
Oh, my. And now everybody points at you this Turing-completeness.
In article bbe16797-95c6-4fc3-89d5-8d69c4744...@f10g2000vbf.googlegroups.com,
qwe rty hkh00...@gmail.com wrote:
if you don't know the answer please don't reply
I'm not sure you understand -- Being a Turing complete language,
anything you can do in any other language, you can do in Python.
On Sat, 29 Aug 2009 05:37:34 +0200, Tomasz Rola wrote:
My private list of
things that when implemented in Python would be ugly to the point of
calling it difficult:
1. AMB operator - my very favourite. In one sentence, either language
allows one to do it easily or one would not want to do
37 matches
Mail list logo