Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Shedskin Architecture
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Prankster  
View profile  
 More options Aug 31 2012, 5:32 pm
From: Prankster <pmmu...@gmail.com>
Date: Fri, 31 Aug 2012 14:32:50 -0700 (PDT)
Local: Fri, Aug 31 2012 5:32 pm
Subject: Shedskin Architecture

I was wondered about how shedskin is converted python program into c++???
I am interested in shedskin development.I would like to know  its basic
mechanism means how it converts python to  c++?
Has it any toolchain like pypy??wht makes it is faster than cpythan??


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joaquin Duo  
View profile  
 More options Sep 1 2012, 10:59 am
From: Joaquin Duo <joa...@gmail.com>
Date: Sat, 1 Sep 2012 11:59:04 -0300
Local: Sat, Sep 1 2012 10:59 am
Subject: Re: Shedskin Architecture

Hi Prankster!
(is that your first name?)

On Fri, Aug 31, 2012 at 6:32 PM, Prankster <pmmu...@gmail.com> wrote:
> I was wondered about how shedskin is converted python program into c++???
> I am interested in shedskin development.I would like to know  its basic
> mechanism means how it converts python to  c++?
> Has it any toolchain like pypy??wht makes it is faster than cpythan??

Probably someone will give you a proper explanation. But for a quick
answer, I can suggest you to read the code.
It's quite self explanatory.
From there you can get more specific questions and post them back here.

Cheers!
Joaquín


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Prankster  
View profile  
 More options Sep 3 2012, 12:40 am
From: Prankster <pmmu...@gmail.com>
Date: Sun, 2 Sep 2012 21:40:06 -0700 (PDT)
Local: Mon, Sep 3 2012 12:40 am
Subject: Re: Shedskin Architecture

Hi Joaquin,
                 I have seen many codes that generated by shedskin.I want
to contribute something in shedskin development.
u didn't get my point.I  would like to know shedskins internal architecture
i meant which algorithm has been used??
What are steps for converting python to c++ I meant compiler phases??

cheers
Prasad


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jérémie Roquet  
View profile  
 More options Sep 3 2012, 4:34 am
From: Jérémie Roquet <arkano...@gmail.com>
Date: Mon, 3 Sep 2012 10:34:03 +0200
Local: Mon, Sep 3 2012 4:34 am
Subject: Re: Shedskin Architecture
Hi Prankster,

2012/9/3 Prankster <pmmu...@gmail.com>:

> I  would like to know shedskins internal architecture
> i meant which algorithm has been used??
> What are steps for converting python to c++ I meant compiler phases??

Have a look at Mark's master thesis¹: while the algorithms described
there have changed with time, this should be a good starting point.

2012/8/31 Prankster <pmmu...@gmail.com>:

> Has it any toolchain like pypy??

CPython + GCC + GNU Make

You also need to have boehm gc and PCRE.

> wht makes it is faster than cpythan??

Please note that Shedskin is not *always* faster than CPython. It's
often the case because compiling Python with Shedskin means that your
code will be translated to native machine code, whereas CPython is
/mostly/ an interpreter (it doesn't even have a JIT — PyPy does). It
also means that you can get the benefits of a very mature C++ compiler
like GCC for optimizations.

Best regards,

¹ https://sites.google.com/site/markdufour/shedskin.pdf?attredirects=1

--
Jérémie


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »