Steven D'Aprano wrote:
On Sun, 20 Jun 2010 18:21:43 -0400, Dave Angel wrote:
Something's intrinsically wrong with the argument made in this thread
against generating assembly code. That's exactly what happens every
time you write code in C.
I don't know whether C compilers generate
On Jun 21, 12:00 am, Dave Angel da...@ieee.org wrote:
Steven D'Aprano wrote:
On Sun, 20 Jun 2010 18:21:43 -0400, Dave Angel wrote:
Something's intrinsically wrong with the argument made in this thread
against generating assembly code. That's exactly what happens every
time you write
On Mon, 21 Jun 2010 03:00:12 -0400, Dave Angel wrote:
But the OP said of his friend:
He dynamically generates mashine code and call that from python.
I took that to mean he dynamically generated machine code, not that he
hired some human to do it.
Well, I suppose if his friend is a
On 20 lip, 12:57, DivX sem.r...@gmail.com wrote:
On 20 lip, 12:46, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sun, 20 Jun 2010 03:19:48 -0700, DivX wrote:
On 20 lip, 02:52, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
[...]
I think that
Steven D'Aprano wrote:
On Mon, 21 Jun 2010 03:00:12 -0400, Dave Angel wrote:
But the OP said of his friend:
He dynamically generates mashine code and call that from python.
I took that to mean he dynamically generated machine code, not that he
hired some human to do it.
Well, I
On Mon, Jun 21, 2010 at 12:34 PM, Steven D'Aprano
steve-remove-t...@cybersource.com.au wrote:
On Sun, 20 Jun 2010 22:45:14 +0100, Rhodri James wrote:
Mixing Python and assembler is a bizarre thing to want to do in general,
but...
On Sun, 20 Jun 2010 01:52:15 +0100, Steven D'Aprano
David Cournapeau wrote:
On Mon, Jun 21, 2010 at 12:34 PM, Steven D'Aprano
steve-remove-t...@cybersource.com.au wrote:
On Sun, 20 Jun 2010 22:45:14 +0100, Rhodri James wrote:
Mixing Python and assembler is a bizarre thing to want to do in general,
but...
On Sun, 20 Jun 2010 01:52:15 +0100,
On 6/21/10 10:12 AM, MRAB wrote:
A human can write better assembly code than a compiler, but would take a
much longer, and usually for not much gain, so it's usually a waste of
time (premature optimisation, and all that).
When you get to the point where you're considering writing something in
On Mon, 21 Jun 2010 04:34:40 +0100, Steven D'Aprano
steve-remove-t...@cybersource.com.au wrote:
On Sun, 20 Jun 2010 22:45:14 +0100, Rhodri James wrote:
No. Modern C compilers often produce very good machine code, but the
best hand-written assembly code will be better. I can usually write
DivX sem.r...@gmail.com wrote:
Another thing is that when you have assembler now you can write some
small C compiler so that you don’t have to write assembly language.
That has to be the most paradoxical argument I've ever heard: when
you use assembler you have the ability to not use assembler
On 20 lip, 02:52, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sat, 19 Jun 2010 13:36:57 -0700, DivX wrote:
On 19 lip, 21:18, geremy condra debat...@gmail.com wrote:
On Sat, Jun 19, 2010 at 11:53 AM, DivX sem.r...@gmail.com wrote:
I found on the forum some discussion
On Sun, 20 Jun 2010 03:19:48 -0700, DivX wrote:
On 20 lip, 02:52, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
[...]
I think that mixing assembly and python is a gimmick of very little
practical significance. If you really need the extra performance, check
out PyPy, Cython,
On 20 lip, 12:46, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sun, 20 Jun 2010 03:19:48 -0700, DivX wrote:
On 20 lip, 02:52, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
[...]
I think that mixing assembly and python is a gimmick of very little
On 06/20/10 20:57, DivX wrote:
On 20 lip, 12:46, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sun, 20 Jun 2010 03:19:48 -0700, DivX wrote:
On 20 lip, 02:52, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
[...]
I think that mixing assembly and python is a
On 6/20/2010 12:41 PM, Lie Ryan wrote:
On 06/20/10 20:57, DivX wrote:
On 20 lip, 12:46, Steven D'Apranost...@remove-this-
cybersource.com.au wrote:
On Sun, 20 Jun 2010 03:19:48 -0700, DivX wrote:
On 20 lip, 02:52, Steven D'Apranost...@remove-this-
cybersource.com.au wrote:
[...]
I think
Mixing Python and assembler is a bizarre thing to want to do in general,
but...
On Sun, 20 Jun 2010 01:52:15 +0100, Steven D'Aprano
st...@remove-this-cybersource.com.au wrote:
(3) Modern C compilers can produce better (faster, more efficient)
machine code than the best assembly code
DivX wrote:
On 20 lip, 12:46, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sun, 20 Jun 2010 03:19:48 -0700, DivX wrote:
On 20 lip, 02:52, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
[...]
I think that mixing assembly and python is a
On Sun, 20 Jun 2010 18:21:43 -0400, Dave Angel wrote:
Something's intrinsically wrong with the argument made in this thread
against generating assembly code. That's exactly what happens every
time you write code in C.
I don't know whether C compilers generate assembly mnemonics or direct
On Sun, 20 Jun 2010 22:45:14 +0100, Rhodri James wrote:
Mixing Python and assembler is a bizarre thing to want to do in general,
but...
On Sun, 20 Jun 2010 01:52:15 +0100, Steven D'Aprano
st...@remove-this-cybersource.com.au wrote:
(3) Modern C compilers can produce better (faster, more
Steven D'Aprano steve-remove-t...@cybersource.com.au writes:
Not that I don't believe you, but that is an extraordinary claim that
would require more evidence than just Hey, some guy on the Internet
reckons his assembly code can regularly out-perform optimizing C
compilers before I will
I found on the forum some discussion about crypting text and one guy
did make assembly implementation of crypting algorithm. He dynamically
generates mashine code and call that from python. Here are impressive
results http://www.daniweb.com/code/snippet216632-5.html
Is this better approach then
On Sat, Jun 19, 2010 at 11:53 AM, DivX sem.r...@gmail.com wrote:
I found on the forum some discussion about crypting text and one guy
did make assembly implementation of crypting algorithm. He dynamically
generates mashine code and call that from python. Here are impressive
results
On 19 lip, 21:18, geremy condra debat...@gmail.com wrote:
On Sat, Jun 19, 2010 at 11:53 AM, DivX sem.r...@gmail.com wrote:
I found on the forum some discussion about crypting text and one guy
did make assembly implementation of crypting algorithm. He dynamically
generates mashine code and
On Sat, 19 Jun 2010 13:36:57 -0700, DivX wrote:
On 19 lip, 21:18, geremy condra debat...@gmail.com wrote:
On Sat, Jun 19, 2010 at 11:53 AM, DivX sem.r...@gmail.com wrote:
I found on the forum some discussion about crypting text and one guy
did make assembly implementation of crypting
On 6/19/2010 2:53 PM, DivX wrote:
I found on the forum some discussion about crypting text and one guy
did make assembly implementation of crypting algorithm. He dynamically
generates mashine code and call that from python. Here are impressive
results
25 matches
Mail list logo