[ANN] Shed Skin 0.9

2011-09-10 Thread Mark Dufour
Hi all, I have just released version 0.9 of Shed Skin, a (restricted-)Python to C++ compiler. Please see my blog for the full announcement: http://shed-skin.blogspot.com The Shed Skin homepage is located here: http://shedskin.googlecode.com Thanks! Mark Dufour. -- http://www.youtube.com

[ANN] Shed Skin 0.8

2011-06-21 Thread Mark Dufour
Hi all, I have just released version 0.8 of Shed Skin, an experimental (restricted-)Python-to-C++ compiler. Please see my blog for the full announcement: http://shed-skin.blogspot.com The Shed Skin homepage can be found here: http://shedskin.googlecode.com Thanks, Mark Dufour -- http

[ANN] Shed Skin 0.7.1

2011-03-26 Thread Mark Dufour
hed-skin.blogspot.com Or go straight to the homepage: http://shedskin.googlecode.com Please have a look at the tutorial, try it out, and file any problems in the issue tracker. I'm also always very interested in hearing about potential new programs to add to the example set! Thanks, Mar

ANN: Shed Skin 0.7

2010-12-17 Thread Mark Dufour
hi malcolm, Congratulations on your latest release! > thanks! :D > > How well do python extension modules created with ShedSkin work with > applications that expose a GUI, eg. Tkinter or wxPython apps? > quite well I think, but there are some limitations you probably want to be aware of. these

ANN: Shed Skin 0.7

2010-12-16 Thread Mark Dufour
see my blog for the full announcement: http://shed-skin.blogspot.com Or go straight to the homepage: http://shedskin.googlecode.com Please have a look at the tutorial, try it out, and report issues at the homepage. Thanks, Mark Dufour -- http://www.youtube.com/watch?v=E6LsfnBmdnk -- http

ANN: Shed Skin 0.6

2010-10-23 Thread Mark Dufour
example (around 2000 lines, sloccount). Please see my blog for the full announcement: http://shed-skin.blogspot.com Or go straight to the homepage: http://shedskin.googlecode.com Please have a look at the tutorial, try it out, and report issues at the homepage. Thanks, Mark Dufour -- http

ANN: Shed Skin 0.5

2010-08-08 Thread Mark Dufour
Hi all, I have just released Shed Skin 0.5, an experimental (restricted) Python-to-C++ compiler. Please see my blog for more details about the release: http://shed-skin.blogspot.com/ Thanks, Mark Dufour. -- http://www.youtube.com/watch?v=E6LsfnBmdnk -- http://mail.python.org/mailman/listinfo

ANN: Shed Skin 0.4

2010-03-31 Thread Mark Dufour
Hi all, I have just released Shed Skin 0.4, an experimental (restricted) Python-to-C++ compiler. Please see my blog for more details about the release: http://shed-skin.blogspot.com/ Thanks, Mark Dufour. -- "Overdesigning is a SIN. It's the archetypal example of what I call

ANN: Shed Skin 0.3

2010-01-15 Thread Mark Dufour
Hi all, I have just released Shed Skin 0.3, an experimental (restricted) Python-to-C++ compiler. Please see my blog for more details about the release: http://shed-skin.blogspot.com/ Thanks, Mark Dufour. -- "Overdesigning is a SIN. It's the archetypal example of what I call

ANN: Shed Skin 0.2, an experimental (restricted) Python-to-C++ compiler

2009-07-19 Thread Mark Dufour
, loops such as 'for a, b in enumerate/zip(sequence[, sequence])' should now be dramatically faster (also inside list comprehensions), by avoiding allocation of intermediate tuples. Finally, basic list slicing should now be much faster. Please try it out! Mark Dufour. -- "

ANN: Shed Skin 0.1.1

2009-04-25 Thread Mark Dufour
y blog for some ideas on how to help out. More test cases and bug reports would also be very welcome. Thanks, Mark Dufour. -- "One of my most productive days was throwing away 1000 lines of code" - Ken Thompson -- http://mail.python.org/mailman/listinfo/python-list

ANN: Shed Skin 0.1, an experimental (restricted-)Python-to-C++ Compiler

2009-02-23 Thread Mark Dufour
Hi all, I have recently released version 0.1 of Shed Skin, an experimental (restricted-)Python-to-C++ compiler. Please see my blog for more info about the release: http://shed-skin.blogspot.com Thanks, Mark Dufour. -- "One of my most productive days was throwing away 1000 lines of

ANN: Shed Skin 0.0.30, an experimental (restricted-)Python-to-C++ Compiler

2008-12-05 Thread Mark Dufour
Hi all, I have just released version 0.0.30 of Shed Skin, an experimental (restricted) Python-to-C++ compiler. Most importantly, this release adds (efficient) support for user-defined classes in generated extension modules, which should make it much easier to integrate compiled code within larger

Shed Skin (restricted) Python-to-C++ compiler 0.0.29

2008-09-30 Thread Mark Dufour
Hi all, I have just released Shed Skin 0.0.29, with the following changes. Thanks to those mentioned for helping out! - datetime implementation (Karel Heyse, Pavel Vinogradov, FFAO, David Marek) - ConfigParser implementation (suggested by Albert Hofkamp) - staticmethod and property decorator supp

Re: [ANN] Shed Skin (restricted) Python-to-C++ compiler 0.0.27

2008-02-24 Thread Mark Dufour
Of course I forgot to add the URL: http://shedskin.googlecode.com Mark Dufour. -- "One of my most productive days was throwing away 1000 lines of code" - Ken Thompson -- http://mail.python.org/mailman/listinfo/python-list

[ANN] Shed Skin (restricted) Python-to-C++ compiler 0.0.27

2008-02-24 Thread Mark Dufour
e previous release we have a nice tutorial online. It explains in detail how to install and use Shed Skin, how to use it to build (simple) extension modules and how to combine Shed Skin with numpy and parallel processing solutions such as Parallel Python. Thanks, Mark Dufour. -- "One of my mo

Shed Skin (restricted) Python-to-C++ Compiler 0.0.26

2008-01-16 Thread Mark Dufour
for more details about the release, or visit the new Google code hosting site: http://shed-skin.blogspot.com http://shedskin.googlecode.com Thanks, Mark Dufour. -- "One of my most productive days was throwing away 1000 lines of code" - Ken Thompson -- http://mail.python.org/mailma

Shed Skin Python-to-C++ compiler 0.0.24, 0.0.25

2007-10-21 Thread Mark Dufour
Hi all, I've just released Shed Skin 0.0.25. Together with the (unannounced) 0.0.24 release, there have been some interesting changes. Most importantly perhaps, Shed Skin now caches (most) 1-length strings, which can improve performance dramatically for string-intensive programs. I also performed

ANN: Shed Skin 0.0.24, 0.0.25

2007-10-16 Thread Mark Dufour
Hi all, I've just released Shed Skin 0.0.25. Together with the (unannounced) 0.0.24 release, there have been some interesting changes. Most importantly perhaps, Shed Skin now caches (most) 1-length strings, which can improve performance dramatically for string-intensive programs. I also performed

Shed Skin Python-to-C++ compiler 0.0.23

2007-08-20 Thread Mark Dufour
l RSI) -add more tests to unit.py Thanks, Mark Dufour. -- "One of my most productive days was throwing away 1000 lines of code" - Ken Thompson -- http://mail.python.org/mailman/listinfo/python-list

Re: Shed Skin Python-to-C++ Compiler 0.0.21, Help needed

2007-07-10 Thread mark . dufour
practically no help at all). >But there is such a large gap betwixt the >twain that such dreaming is but an excercise in fantasy (there's >always pypy). yes, pypy will solve all problems, including world hunger ^^ thanks, mark dufour - shed skin author -- http://mail.python.org/mailman/listinfo/python-list

Re: Shed Skin Python-to-C++ Compiler 0.0.21, Help needed

2007-07-01 Thread Mark Dufour
e, and compile this into an extension module or separate program. Look at Shed Skin as something that allows you to write fast extension modules in pure Python, not as something that can convert arbitrary Python programs. Thanks, Mark Dufour. -- "One of my most productive days was thr

Re: Shed Skin Python-to-C++ Compiler 0.0.21, Help needed

2007-06-29 Thread Mark Dufour
syco on my computer), please visit the homepage at: http://mark.dufour.googlepages.com I could really use some help in pushing Shed Skin forward. Please try the latest release and send in bug reports, or join the project via the homepage. Thanks, Mark Dufour. On 3/31/07, Mark Dufour <[EM

Re: Shed Skin Python-to-C++ Compiler 0.0.21, Help needed

2007-04-01 Thread mark . dufour
VB and it has not even much to do > with what existed before in language design. I think it's more Pythonic to just profile a program to learn about actual types.. mark dufour (Shed Skin author). -- http://mail.python.org/mailman/listinfo/python-list

Re: Shed Skin Python-to-C++ Compiler 0.0.21, Help needed

2007-04-01 Thread mark . dufour
eople have managed to compile things with Visual Studio or whatever it is called. btw, the windows version of Shed Skin comes with GCC so it's easy to compile things further (two commands, 'ss program' and 'make run' suffice to compile and run some program 'progr

Re: Shed Skin Python-to-C++ Compiler 0.0.21, Help needed

2007-04-01 Thread mark . dufour
ever placed a GPL > restriction on its output. Whether this is explicit or implicit doesn't > matter, so long as it's there. it's fine if people want to create non-GPL software with Shed Skin. it is at least my intention to only have the compiler proper be GPL (LICENSE states that th

Shed Skin Python-to-C++ Compiler 0.0.21, Help needed

2007-03-31 Thread Mark Dufour
esis subjects in improving Shed Skin, such as transforming heap allocation into stack- and static preallocation, where possible, to bring performance even closer to manual C++. Please let me know if you are interested in helping out, and/or join the Shed Skin mailing list. Thanks! Mark Dufour. -- &qu

Re: To count number of quadruplets with sum = 0

2007-03-26 Thread mark . dufour
with > Shed Skin CVS at least: after optimizing dicts a bit for Shedskin 0.0.21 (http:// mark.dufour.googlepages.com), the speedup for this program is now about 16.5 times for the same test. Thanks, Mark Dufour (Shed Skin author - send me bug reports!) -- http://mail.python.org/mailman/listinfo/python-list

Re: To count number of quadruplets with sum = 0

2007-03-17 Thread mark . dufour
else: h[x+y] = 1 for x in e: for y in r: sch += h.get(-(x+y),0) print sch print time.clock() - t Thanks, Mark Dufour (Shed Skin author - send me bug reports!) -- http://mail.python.org/mailman/listinfo/python-list

Shed Skin Python-to-C++ Compiler

2007-02-08 Thread Mark Dufour
of about 40 times over CPython and 11 times over Psyco on my computer), please visit the homepage at: http://mark.dufour.googlepages.com Thanks! Mark Dufour. -- "One of my most productive days was throwing away 1000 lines of code" - Ken Thompson -- http://mail.python.org/mailman/listi

Shed Skin Python-to-C++ Compiler

2007-01-18 Thread Mark Dufour
hi all, I have just released Shed Skin 0.0.18. besides many fixes and optimizations, this release should work on OSX and 64-bit systems (thanks john, larry, gustavo and denis!) more interestingly, I collected 25 'largish' programs (at a total of more than 6,000 lines!) that work fine with Shed Sk

Re: some OT: how to solve this kind of problem in our program?

2006-12-30 Thread mark . dufour
Shed Skin: 0.30 s Thanks, Mark Dufour. -- Shed Skin author, http://mark.dufour.googlepages.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Shed Skin 0.0.15

2006-12-17 Thread Mark Dufour
option to ss.py (disables checking for negative indices) -several minor bug-fixes reported by users of 0.0.15 Thanks, Mark. On 12/9/06, Mark Dufour <[EMAIL PROTECTED]> wrote: > Hi all, > > After getting bogged down with work for a few months, I'm finally back > to Shed Skin d

Shed Skin 0.0.15

2006-12-09 Thread Mark Dufour
Hi all, After getting bogged down with work for a few months, I'm finally back to Shed Skin development. I have just released 0.0.15, with the following changes: -python2.5 support/compatibility -any, all, conditional expression support -moved libs to 'lib' dir; made it easier to add modules (see

Re: slow non-blocking reads

2006-07-03 Thread Mark Dufour
interestingly, leaving out the fcntl stuff makes it work much faster. it seems to block only sometimes now, for just a moment, but on the whole the performance is acceptable now. On 6/29/06, Mark Dufour <[EMAIL PROTECTED]> wrote: > hello all, > > I am trying to fire up a chil

slow non-blocking reads

2006-06-29 Thread Mark Dufour
{ read(0, &c, 1); printf("%c", c); fflush(stdout); } } } the child sends a 'start' message and then echoes the parent. any thoughts about why this runs extr

Shed Skin Python-to-C++ Compiler - Summer of Code?

2006-05-04 Thread Mark Dufour
Hello all, As Bearophile pointed out, I have just released Shed Skin 0.0.8. For those of you that do not know Shed Skin, it is an optimizing Python-to-C++ compiler, that allows for translation of pure (unmodified) Python programs into optimized machine language. The speed of generated code is typi

Shed Skin (Python-to-C++ Compiler) 0.0.5.9

2005-12-15 Thread Mark Dufour
Hello Python lovers, I have just released Shed Skin 0.0.5.9. It's almost where I want it to be for 0.0.6. What remains to be coded is some kind of connection to the standard library (probably a simple one at first: working only for 'opaque handlers'). I also want to improve cases where ints and fl

Shed Skin Python-to-C++ compiler 0.0.5 released!

2005-11-07 Thread Mark Dufour
Hi all, I have just released Shed Skin 0.0.5. It fixes many bugs and adds many minor features to the Python builtins, most notably, the 'set' class. There have also been some optimizations on the C++ side. Finally, the README now better explains the compiler's limitations, and a TODO file has been

Shed Skin Python-to-C++ Compiler 0.0.3 Release: some fixes, 3 MB Windows package

2005-09-24 Thread Mark Dufour
hat I can easily fix, provided someone shows me a nice use case. Thanks to the people that have sent me failing code snippets before! http://shedskin.sourceforge.net http://shed-skin.blogspot.com Thanks! Mark Dufour. -- http://mail.python.org/mailman/listinfo/python-list

Release of Shed Skin 0.0.2: Easy Windows/OSX Installation

2005-09-20 Thread Mark Dufour
Hi! Shed Skin is an experimental Python-to-C++ compiler. Along with GNU/Linux, version 0.0.2 should now also install easily under Windows 2000/XP and OSX. Please give it a try and let me know if there are still some problems. If you would like to help me improve Shed Skin, please send me small co

Release of Shed Skin 0.0.2: Easy Windows/OSX Installation

2005-09-20 Thread Mark Dufour
Hi! Shed Skin 0.0.2 is up on SourceForge. It should install easily under Windows 2000/XP and OSX. Please give it a try and let me know if there are still some problems. If you would like to help me improve Shed Skin, please send me small code snippets, preferrably extracted from real-life use cas

Re: Shed Skin under Windows and OSX

2005-09-18 Thread Mark Dufour
> *** success: small factorization program by Rohit Krishna Kumar 124 > *** no failures, yay! > > > :) > > Well done. So what was causing that crash in test '__class__ and > __name__ attributes' after all? Well, I did something like this: class_ c(..); class_ *cp = &c; class list { list()

Shed Skin under Windows and OSX

2005-09-17 Thread Mark Dufour
> By the way, I read in your blog that you would be releasing a windows > intaller soon. > Have you, or anyone else, managed to do it? I just finished making a 20 MB (!) package for Windows XP (I'm not sure which older versions of Windows it will run on.) It includes the Boehm garbage collector an

First release of Shed Skin, a Python-to-C++ compiler.

2005-09-13 Thread Mark Dufour
>You have achieved so much with the first release of Shed Skin that it's >strange to see you apparently trying to argue that exceptions aren't >necessary when in fact they are such a fundamental part of Python's >philosophy. To be honest, I am a relative newcomer to Python, and Shed Skin is the

Re: First release of Shed Skin, a Python-to-C++ compiler.

2005-09-13 Thread Mark Dufour
> You forgot to check for an error when: > o when you wrote f.error [attribute "error" might not exist e.g. f is >None] > o you called str(f.error) [might contain unicode characters that can't > be converted to a string using the default >

First release of Shed Skin, a Python-to-C++ compiler.

2005-09-13 Thread Mark Dufour
>> Hehe. Okay. It will probably always be the case that you have to lose >> some Python features if you want the code to run really fast. I >> suppose PyPy's restricted Python subset doesn't support duck typing >> either. Luckily not all code is performance critical, or you could >> just try and op

Using Shed Skin under Windows or OSX

2005-09-13 Thread Mark Dufour
Hello all, My apologies to everyone who has tried Shed Skin under Windows or OSX, and could not get it to run. I have to stress that it really is experimental software, and certainly not ready for production use at this point. However, that is not an excuse for a vague and/or too difficult install

First release of Shed Skin, a Python-to-C++ compiler.

2005-09-12 Thread Mark Dufour
>I am reluctant to attempt an arduous installation on Windows, but if >Mr. Dufour or someone else could create a web site that would let you >paste in Python code and see a C++ translation, I think this would >expand the user base. Alternatively, a Windows executable would be >nice. The web site i

First release of Shed Skin, a Python-to-C++ compiler.

2005-09-12 Thread Mark Dufour
>In general it's considered quite pythonic to catch exceptions :-) >It's a particularly useful way of implementing duck typing for example. >I'm not sure if I've got *any* code that doesn't use exceptions >somewhere Hehe. Okay. It will probably always be the case that you have to lose some Pyt

Re: First release of Shed Skin, a Python-to-C++ compiler.

2005-09-12 Thread Mark Dufour
On 9/12/05, Brian Quinlan <[EMAIL PROTECTED]> wrote: > Mark Dufour wrote: > > The latter is certainly my goal. I just haven't looked into supporting > > exceptions yet, because I personally never use them. I feel they > > should only occur in very bad situ

First release of Shed Skin, a Python-to-C++ compiler.

2005-09-12 Thread Mark Dufour
>First the good news: ShedSkin (SS) more or less works on Windows. After >patching gc6.5 for MinGW, building it, and testing it on WinXP with >some succuess, and after patching my local copy of SS, I can get the >test.py to compile from Python to C++, and it seems that I can get >almost all the uni

First release of Shed Skin, a Python-to-C++ compiler.

2005-09-12 Thread Mark Dufour
>Obviously, neither the 0 nor the message following should have been >displayed. It's a pity that this assumption was made, but given the short >time the project's been going I can understand it, hopefully Mark will >continue towards greater python compliance :) The latter is certainly my goal. I

First release of Shed Skin, a Python-to-C++ compiler.

2005-09-11 Thread Mark Dufour
>> After nine months of hard work, I am proud to introduce my baby to the >> world: an experimental Python-to-C++ compiler. >Wow, looks really cool. But why that instead of Pypy? I agree with anyone that a JIT compiler that supports the full Python semantics (which I thought to be the goal of Py

First release of Shed Skin, a Python-to-C++ compiler.

2005-09-10 Thread Mark Dufour
After nine months of hard work, I am proud to introduce my baby to the world: an experimental Python-to-C++ compiler. It can convert many Python programs into optimized C++ code, without any user intervention such as adding type declarations. It uses rather advanced static type inference techniques