scover that a CPU shortcutting multiply by zero
affects a subset of your computations.
> Cheers,
>
> Carl Friedrich
> ___
> pypy-dev mailing list
> pypy-dev@python.org
> https://mail.python.org/mailman/listinfo/pypy-dev
Happy Holidays!
--
Regards,
Bengt Richter
___
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev
subtracting 1,
whereas for a signed maxint, the intermediate value would have to
be specialcased or the value written maybe like (2**62-1)+(2**62) ?
Or does it involve a bigint representation somewhere?
Regards,
Bengt Richter
___
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev
qubes-os.org/doc/HCL/
Maybe something analogous could be done for pypy compatibility?
4) BTW, they seem to be using cpython2.7 a lot, and I'm sure speedup would be
good ;-)
It's an interesting project. Security by compartmentalization, using xen and
fedora, with
others coming.
Just th
Further evidence of your good rpython effects beyond pypy:
http://lambda-the-ultimate.org/node/5152
http://homes.soic.indiana.edu/samth/pycket-draft.pdf
in case any of you hadn't seen it yet.
Kudos.
___
pypy-dev mailing list
pypy-dev@python.org
https:
rds
On Wed, Feb 25, 2015 at 1:12 AM, Bengt Richter wrote:
On 02/24/2015 11:17 PM Maciej Fijalkowski wrote:
Hi Richard.
I will respond inline
On Tue, Feb 24, 2015 at 8:18 PM, Richard Plangger wrote:
hi,
[...]
(1) Is there a better way to get loops hot?
no, not really (you can l
o the checkpoint module
where everything would be restored as it was checkpointed, and execution
would continue as if just returning from the call to the checkpointing method,
which would be after the forced warmup prelude.
Sorry if I am intruding.
Regards,
Bengt Ri
On 09/04/2014 07:27 PM Laura Creighton wrote:
Not important but I just received this in the mail. Those of you
who read python-announce will have got it as well.
--- Forwarded Message
Return-Path:
From: Serge Guelton
To: python-announce-l...@python.org
Subject: Python Obfuscation Challe
self._names or
["(unassigned)"]))
def __repr__(self):
return '<%s obj: %r %r %s>' %(
self.__class__.__name__,
self.args,
self.kw,
'assigned to: %s'%(
', '.join(r
n language design ;-)
When you want to write your compiler, python is there. Or you may find
racket's ability to define alternate syntax languages interesting:
http://docs.racket-lang.org/guide/languages.html
Their home pages is
http://racket-lang.org/
Have fun ;-)
Regards
On 03/30/2014 05:32 PM Leonardo Santagada wrote:
On Sun, Mar 30, 2014 at 9:36 AM, anatoly techtonikwrote:
On ABI level tools can be more useful, and there is where idea
intersects with CFFI. It doesn't cancel the fact that people need safe
feet injury prevention interfaces. Look for my previous
PMJI, but I wonder if some of these objects could come from
trivial re-instatiations instead of re-use of mutable
objects, e.g., fishing out one attribute to use together
with a new value as init values for an (unnecessarily) new obj.
obj = ObjClass(obj.someattr, chgval)
where
obj.chg =
ementation* of
the python lanaguage,
ISTM the implementation should do whatever the version of the python *language*
implies (2.7.3 as of now?).
The version of the implementation (pypy or other) would seem to be orthogonal.
No?
Regards,
Bengt Richter
__
~/.bash_profile?
Regards,
Bengt Richter
___
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev
thing completely different: ``nothing is true''
>>>>
The bench run:
[14:49 ~/wk/py/clp]$ python NathanHurst.py
factorial 1.36516094208
Str time 2.93479013443
my rec time 1.45956683159
equal string: True
strL rec time 1.34501504898
equal string:
ass it to/through one/few place/s that
can be monitored on the way to becoming keys (which I guess never happens?)).
Regards,
Bengt Richter
___
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev
other unicode or wchar_t unicode etc.
Might be interesting if rtype could track jitted and ffi representations too,
and still
have type say the right thing for type(thing). Sorry, got carried away ;-/
BTW, what happens if you import in the opposite order?
Can the 32-bit interpreter process the 64-bit pyc?
Regards,
Bengt Richter
___
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev
nly when actually needed.
Regards,
Bengt Richter
___
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev
.) => True
... 41 repeats of same as above and below ...
+ 71 [_test]: R: _test(...) => True
[10:24 ~/wk/sympy]$
The 72, 71, 66 represent the line numbers of the returns from _test
I didn't grep out the calls, as the args are such l
u would visualize STM helping in bringing either manual or
automated parallelism into this update problem, say with a goal of maximizing
frame rate.
And what do you expect the "untrained programmers" to think of, and to be able
to avoid
thinking about,
at would be cool too.
Maybe you already have something like that?
Regards,
Bengt Richter
___
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev
like typed symbolic links with only a single line of metadata, a blank
line, and an url
in the file. I'm sure you are already ahead of me into other possibilities.
Regards,
Bengt Richter
___
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev
solutions evolved.
http://en.wikipedia.org/wiki/ALOHANET#The_ALOHA_protocol
BTW, does the throughput graph imply anything for what you are doing?
Regards,
Bengt Richter
___
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev
;s factored differently.
Wondering how transaction stuff might play re transaction guarantees for
generator states
and serializing the feed from one to the next. Does it even make sense or does
pipelining need
a different kind of support?
Re names: what about a mnemonic like pasifras == [p]arallel [as] [if]
[ra]ndomly [s]erial
Thence pasifras.add ?
Regards,
Bengt Richter
___
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev
probably have experiments and thoughts under way
that you'd rather work on than discuss or explain, so back to lurking
for some decent interval ;-)
Regards,
Bengt Richter
___
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev
ad enough, sorry
;-/
(OTOH I may represent a few other in that).
BTW, will your solution enable us to create atomic properties using descriptors
and all that?
Regards,
Bengt Richter
PS. Nit: I wasn't familiar with the acronym AME (Automatic Mutual Exclusion).
Might be good to
spell it out on
ate of blobs in the cloud
(with presumable implications for the smart phone environment, maybe
crowd-sourced
updates to crowd-viewed cloud representation of something, whether emergency
info
or flashmob partying status, etc.).
Regards,
Bengt Richter
as created).
Regards,
Bengt Richter
PS. Don't go to any extra trouble to make the info accessible for me --
I was just curious.
___
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev
hon, but does in pypy. Linked differently?)
Regards,
Bengt Richter
___
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev
On 02/05/2012 12:18 AM Ronny Pfannschmidt wrote:
rpython is NOT indented for app-level development.
Does indentation work differently in rpython?
Regards,
Bengt Richter
Sorry, could not resist ;-)
___
pypy-dev mailing list
pypy-dev@python.org
http
IT enabled, it throws that exception shown in
my last email before it uses much swap space at all (using only about
4GB swap with>30GB swap still free).
^^^
could that 4GB correspond to a 32-bit representation of size
somewhere that needs to be bigger?
Regards,
s some config options? Sorry to be so lazy and just ask ;-/
Decided to send it anyway ...
Regards,
Bengt Richter
___
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev
On 12/11/2011 05:38 PM Benjamin Peterson wrote:
2011/12/11 Bengt Richter:
Just musing -- if pypy can discover pure functions (or functions with simple
static
global side effects) and the jit transforms them into machine code in a
runtime memory-resident
image somewhere, could this image be
able, could you pass pypy a
support file
(e.g. -jit purefuncfile=thesupportfile) with a line per function specifying
modulefile
and access path (maybe start with global functions only), asserting suitability?
Regards,
Bengt Richter
___
pypy-dev m
option (-py2x or -py3x) could
tell what kind of main to expect? Polyglot packages? ;-)
Maybe __init__.py could also invoke some kind of annotation
("handwave" ;-) file processing?
Regards,
Bengt Richter
___
pypy-dev mailing list
pypy-dev@p
are welcome to fork PyPy's bitbucket repository and hack there,
but you will have more interested answers if you move this discussion
somewhere more appropriate (like the python-ideas mailing list).
A bientôt,
Armin.
Thank you.
Regards,
Bengt Ri
ation markup methodology. (I'm just looking for reaction to the
general idea, not specific syntax problems).
Regards,
Bengt Richter
___
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev
On 10/17/2011 01:26 PM Alex Gaynor wrote:
On Mon, Oct 17, 2011 at 6:12 AM, Bengt Richter wrote:
On 10/17/2011 12:10 AM Armin Rigo wrote:
Hi,
On Sun, Oct 16, 2011 at 23:41, David Cournapeau
wrote:
Interesting to know. But then, wouldn't this limit the speed gains to
be expected fro
., if a source loop
has z[i]=a*b*c, might you hoist b*c without considering that
assert a*b*c == a*(b*c) might fail, as in
>>> a=b=1e-200; c=1e200
>>> assert a*b*c == a*(b*c)
Traceback (most recent call last):
File "", line 1, in
AssertionError
1] http://en.wikipedia.org/wiki/Lock_convoy
Regards,
Bengt Richter
___
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev
On 07/13/2011 11:37 AM Bengt Richter wrote:
...
Hm. I downloaded pypy and it does optimize constant storage for 1003 is 1000+3
...
Of course, the id's are all still id's of garbage locations
once returned from id ;-)
So how about returning None instead of id's of garbage
On 07/11/2011 04:21 PM William ML Leslie wrote:
On 11 July 2011 23:21, Bengt Richter wrote:
On 07/11/2011 01:36 PM William ML Leslie wrote:
On 11 July 2011 20:29, Bengt Richterwrote:
On 07/10/2011 09:13 PM Laura Creighton wrote:
What do we want to happen when somebody -- say in a C
On 07/11/2011 01:36 PM William ML Leslie wrote:
On 11 July 2011 20:29, Bengt Richter wrote:
On 07/10/2011 09:13 PM Laura Creighton wrote:
What do we want to happen when somebody -- say in a C extension -- takes
the id of an object
that is scheduled to be removed when the gc next runs?
IMO
)
>>>
>>> oldid([]),oldid([]) # dangling pointer value returned
(3083895948L, 3083895948L)
>>> id([]),id([]) # pointer kept live
(, )
>>> idk([]),idk([]) # pointer kept live, constant caching n/a
(, )
>>>
Have fun ;-)
Regards
Bengt Richter
Laura
=
___
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev
On 07/10/2011 04:09 PM Armin Rigo wrote:
Hi Bengt,
On Sun, Jul 10, 2011 at 3:48 PM, Bengt Richter wrote:
>>> id([1]) == id([2])
True
True, I did write that. The key word in my line
before that was `superficially' ;-)
As pointed out by Carl Friedrich, the real definit
> (lambda x,y:(id(x)==id(y)))([],[])
False
>>>
... assuming the lambda above approximates what `is' does.
Using id comparisons instead of `is' can look superficially a bit weird:
>>> id([1]) == id([2])
True
>>>
Bottom line: id does not seem to have a c
On 07/08/2011 10:31 AM William ML Leslie wrote:
On 8 July 2011 17:58, holger krekel wrote:
IOW, i think the issue here is that iterating over keys of a dict usually
gives the exact same ("is") objects in CPython whereas pypy trunk does not
provide that at least for ints.
I couldn't find anyth
nning" a contest for credit?
These are just some thoughts in case the reward process scales up and gets
complicated (not intended
as a proposal for how to complicate things ;-)
Regards,
Bengt Richter
[1] BTW, this is IMO the essential flaw in the patent/copyright exclusive-rights
method of reward
47 matches
Mail list logo