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
Compiling to different architectures/mobile?
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
  7 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
 
Ian Ozsvald  
View profile  
 More options Jul 5 2011, 8:01 am
From: Ian Ozsvald <i...@ianozsvald.com>
Date: Tue, 5 Jul 2011 13:01:46 +0100
Local: Tues, Jul 5 2011 8:01 am
Subject: Compiling to different architectures/mobile?
Whilst making coffee I had a random thought...

Since ShedSkin makes pure-C code, can it be compiled to different
architectures like Arm? If so, can it also make static C libraries
rather than executables? I.e. could it be used to make python-written
modules that are used on a mobile device simply as libraries with a
standard C interface? It might be a nice way to let Python devs make
extension modules for Android/iPhone devices?

Shoot this down if the idea is silly...

i.

--
Ian Ozsvald (A.I. researcher, screencaster)
i...@IanOzsvald.com

http://IanOzsvald.com
http://SocialTiesApp.com/
http://MorConsulting.com/
http://blog.AICookbook.com/
http://TheScreencastingHandbook.com
http://FivePoundApp.com/
http://twitter.com/IanOzsvald


 
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 Jul 5 2011, 8:11 am
From: Jérémie Roquet <arkano...@gmail.com>
Date: Tue, 5 Jul 2011 14:11:47 +0200
Local: Tues, Jul 5 2011 8:11 am
Subject: Re: Compiling to different architectures/mobile?
Hi,

2011/7/5 Ian Ozsvald <i...@ianozsvald.com>:

> Since ShedSkin makes pure-C code, can it be compiled to different
> architectures like Arm?

It's C++ code, actually. But as long as there is a C++ compiler and
support for boehm gc, it should be ok.

> If so, can it also make static C libraries
> rather than executables? I.e. could it be used to make python-written
> modules that are used on a mobile device simply as libraries with a
> standard C interface? It might be a nice way to let Python devs make
> extension modules for Android/iPhone devices?

I think yes.
You may want to have a look at shedskin for maemo¹, btw :-)

Best regards,

¹ http://wiki.maemo.org/ShedSkin

--
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.
Mark Dufour  
View profile  
 More options Jul 5 2011, 8:17 am
From: Mark Dufour <mark.duf...@gmail.com>
Date: Tue, 5 Jul 2011 14:17:27 +0200
Local: Tues, Jul 5 2011 8:17 am
Subject: Re: Compiling to different architectures/mobile?

> It's C++ code, actually. But as long as there is a C++ compiler and
> support for boehm gc, it should be ok.

libpcre is also needed for the 're' module, as well as complex numbers
(don't ask.. ;-)). but this is also a very common library.

thanks,
mark.
--
http://www.youtube.com/watch?v=E6LsfnBmdnk


 
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.
Ian Ozsvald  
View profile  
 More options Jul 5 2011, 9:36 am
From: Ian Ozsvald <i...@ianozsvald.com>
Date: Tue, 5 Jul 2011 14:36:41 +0100
Local: Tues, Jul 5 2011 9:36 am
Subject: Re: Compiling to different architectures/mobile?
Thank you both. I guess that libpcre and libboehm (it is mandatory
too, isn't it?) should compile on mobile platforms. I was just musing
to myself about other directions that ShedSkin might open up.
Cheers,
i.

On 5 July 2011 13:17, Mark Dufour <mark.duf...@gmail.com> wrote:

--
Ian Ozsvald (A.I. researcher, screencaster)
i...@IanOzsvald.com

http://IanOzsvald.com
http://SocialTiesApp.com/
http://MorConsulting.com/
http://blog.AICookbook.com/
http://TheScreencastingHandbook.com
http://FivePoundApp.com/
http://twitter.com/IanOzsvald


 
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.
Fahrzin Hemmati  
View profile  
 More options Jul 5 2011, 11:49 am
From: Fahrzin Hemmati <fahh...@gmail.com>
Date: Tue, 05 Jul 2011 08:49:14 -0700
Local: Tues, Jul 5 2011 11:49 am
Subject: Re: Compiling to different architectures/mobile?
I was actually thinking of this yesterday but thought the C++ combined
with BoehmGC would be a bad idea for embedded processors. I don't
remember how stuck Shedskin is to BoehmGC, but it might be possible to
create a stub GC (or use incref/decref) for embedded processors.

Maybe BoehmGC isn't too slow on a phone, I'll look into running shedskin
stuff on my Palm (HP) Pre Plus soon.

--fahhem

On 7/5/2011 6:36 AM, Ian Ozsvald wrote:


 
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.
Sal  
View profile  
 More options Jul 5 2011, 1:06 pm
From: Sal <svfe...@gmail.com>
Date: Tue, 5 Jul 2011 13:06:28 -0400
Local: Tues, Jul 5 2011 1:06 pm
Subject: Re: Compiling to different architectures/mobile?
I've built and run shedskin apps for the iPhone - it works great actually.

It required commenting a few things out, and swapping in the boehm gc for  iOS port.

Of course, no native ui widgets available - but I used phonegap to do the ui in html5 and it called shedskin c++ for all the actual app logic. Phonegap supports connecting html5 -> native c++ via a plugin architecture. Works wonderfully.

High powered, efficient apps on the iPhone via python is a bit of paradise compared to apples own obj-c, I must say.  Huge potential for shedskin adoption there if someone packaged things up this way for the general public...

On Jul 5, 2011, at 8:01 AM, Ian Ozsvald <i...@ianozsvald.com> wrote:


 
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.
Mark Dufour  
View profile  
 More options Jul 5 2011, 2:34 pm
From: Mark Dufour <mark.duf...@gmail.com>
Date: Tue, 5 Jul 2011 20:34:32 +0200
Local: Tues, Jul 5 2011 2:34 pm
Subject: Re: Compiling to different architectures/mobile?

On Tue, Jul 5, 2011 at 5:49 PM, Fahrzin Hemmati <fahh...@gmail.com> wrote:
> I was actually thinking of this yesterday but thought the C++ combined with
> BoehmGC would be a bad idea for embedded processors. I don't remember how
> stuck Shedskin is to BoehmGC, but it might be possible to create a stub GC
> (or use incref/decref) for embedded processors.

please note that the original boehmgc was released about 25 years ago....
;-)

thanks,
mark.
--
http://www.youtube.com/watch?v=E6LsfnBmdnk


 
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 »