IT Community - Software Programming, Web Development and Technical Support

Python-Perl Memory models

This is a discussion on Python-Perl Memory models within the Python forums, part of the Software Development category; Hi, I am trying to evaluate the scalability and flexibility of Python and Perl - basically how the context switches and ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Python

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 02-04-2008, 03:08 AM
JSureshkumar JSureshkumar is offline
D-Web Sr.Programmer
 
Join Date: Feb 2007
Location: in someone's heart
Posts: 139
JSureshkumar is on a distinguished road
Send a message via Skype™ to JSureshkumar
Default Python-Perl Memory models

Hi,

I am trying to evaluate the scalability and flexibility of Python and Perl - basically how the context switches and the loading of memory models happen when switching tech stacks. Has anyone done this before? Or can share any useful links?

I have tried a very limited version of passing C arguments to python modules and getting the results back in C, but this is a very very rudimentary implementation. I would be interested hearing some experiences along similar lines - the problems, solutions and tips/tricks.
__________________
J Suresh Kumar
Google Hacks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 02-04-2008, 03:14 AM
bluesky bluesky is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 667
bluesky is on a distinguished road
Default Re: Python-Perl Memory models

As far as python is concerned, we have a first rate documentation
regarding the C/Python API. Maybe you were looking for this?
9.1 Overview

And Just curious, did you use PyCObjects? Its real fun..=)

Thanks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 02-04-2008, 03:42 AM
JSureshkumar JSureshkumar is offline
D-Web Sr.Programmer
 
Join Date: Feb 2007
Location: in someone's heart
Posts: 139
JSureshkumar is on a distinguished road
Send a message via Skype™ to JSureshkumar
Default Re: Python-Perl Memory models

Well, I have just started to get my hands dirty w.r.t this. Using more of embedded python in C.
__________________
J Suresh Kumar
Google Hacks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 02-04-2008, 04:25 AM
arjkhanna arjkhanna is offline
D-Web Incredible
 
Join Date: Mar 2007
Posts: 1,949
arjkhanna is on a distinguished road
Default Re: Python-Perl Memory models

Quote:
Originally Posted by JSureshkumar View Post
Hi,

I am trying to evaluate the scalability and flexibility of Python and Perl - basically how the context switches and the loading of memory models happen when switching tech stacks. Has anyone done this before? Or can share any useful links?
What is a tech stack?

Have you looked at SWIG? [1]
Quote:
I have tried a very limited version of passing C arguments to python modules and getting the results back in C, but this is a very very rudimentary implementation. I would be interested hearing some experiences along similar lines - the problems, solutions and tips/tricks.
How does scalability of Perl and Python relate to C calling conventions?

Or did I misunderstand you?

Quite possibly the latter.

What is your real goal?
__________________
A.Rajesh Khanna
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
perl vs python JSureshkumar Python 6 10-01-2009 06:43 AM
Where i start to learn python? a.deeban Python 5 12-28-2007 01:46 AM
How to set Perl Interpreter within perl script sivaramakrishnan Perl 1 07-19-2007 06:45 AM
Python Users nhoj Python 1 04-12-2007 12:54 AM
Why Python deerhunter Python 1 03-19-2007 04:45 AM


All times are GMT -7. The time now is 05:13 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0