473,397 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

The ASPN compiler

What's the score on this (the ASPN python compiler) - is it a true
compiler for python ? - what does it output - binary or C++ for .NET
framework............ if the latter then it could be very cool as it
may work with the PocketPC 2003 SDK.... for producing binaries for
PDAs from python... cool...
(I'm sure my terminology is way out of line here... sorry)

Does it work yet ?

Fuzzyman
---
Everyone has talent. What is rare is the courage to follow talent to the dark place where it leads. -Erica Jong
Ambition is a poor excuse for not having sense enough to be lazy. -Milan Kundera

http://www.voidspace.org.uk
Where Headspace Meets Cyberspace
Cyberpunk and Science Resource Site
Exploring the worlds of Psychology, Spirituality, Science and Computing
--
http://www.fuchsiashockz.co.uk
http://groups.yahoo.com/group/void-shockz
http://www.learnlandrover.com
Jul 18 '05 #1
5 1951
Fuzzyman wrote:
What's the score on this (the ASPN python compiler)
There was a proof-of-concept implementation of a Python compiler for the
..NET platform done by ActiveState and sponsored by Microsoft.
- is it a true
compiler for python ?
Read the whitepaper, available on the ActiveState site.
- what does it output - binary or C++ for .NET
framework............
Read the whitepaper, available on the ActiveState site.
if the latter then it could be very cool as it
may work with the PocketPC 2003 SDK.... for producing binaries for
PDAs from python... cool...
Forget it. Instead what you probably want is a Python implementation for
Windows CE 3.0. There is one.
(I'm sure my terminology is way out of line here... sorry)

Does it work yet ?


Read the whitepaper, available on the ActiveState site.

RTFM. STFW. etc. :-P

-- Gerhard

Jul 18 '05 #2
On Sat, 12 Jul 2003 02:21:33 +0200, Gerhard Häring <gh@ghaering.de>
wrote:
Fuzzyman wrote:
What's the score on this (the ASPN python compiler)
There was a proof-of-concept implementation of a Python compiler for the
.NET platform done by ActiveState and sponsored by Microsoft.
- is it a true
compiler for python ?


Read the whitepaper, available on the ActiveState site.

Done that - its not entirely clear - any chance you could answer the
question......
- what does it output - binary or C++ for .NET
framework............


Read the whitepaper, available on the ActiveState site.


Done that - its not entirely clear - any chance you could answer the
question......
if the latter then it could be very cool as it
may work with the PocketPC 2003 SDK.... for producing binaries for
PDAs from python... cool...


Forget it. Instead what you probably want is a Python implementation for
Windows CE 3.0. There is one.


Not for the SH3 processor... doesn't produce binaries.
(I'm sure my terminology is way out of line here... sorry)

Does it work yet ?


Read the whitepaper, available on the ActiveState site.

RTFM. STFW. etc. :-P

-- Gerhard


ATFQ

:-)

Fuzzyman

---
Everyone has talent. What is rare is the courage to follow talent to the dark place where it leads. -Erica Jong
Ambition is a poor excuse for not having sense enough to be lazy. -Milan Kundera

http://www.voidspace.org.uk
Where Headspace Meets Cyberspace
Cyberpunk and Science Resource Site
Exploring the worlds of Psychology, Spirituality, Science and Computing
--
http://www.fuchsiashockz.co.uk
http://groups.yahoo.com/group/void-shockz
http://www.learnlandrover.com
Jul 18 '05 #3
Fuzzyman wrote:
On Sat, 12 Jul 2003 02:21:33 +0200, Gerhard Häring <gh@ghaering.de>
wrote:
Fuzzyman wrote:
What's the score on this (the ASPN python compiler)


There was a proof-of-concept implementation of a Python compiler for the
.NET platform done by ActiveState and sponsored by Microsoft.
- is it a true
compiler for python ?

Read the whitepaper, available on the ActiveState site.


Done that - its not entirely clear - any chance you could answer the
question......


The resulting output can be executed by the .NET runtime and two-way
interoperability between Python and .NET is currenty possible according
to that paper.
- what does it output - binary or C++ for .NET
framework............

Read the whitepaper, available on the ActiveState site.


Done that - its not entirely clear - any chance you could answer the
question......


MSIL.
if the latter then it could be very cool as it
may work with the PocketPC 2003 SDK.... for producing binaries for
PDAs from python... cool...


Forget it. Instead what you probably want is a Python implementation for
Windows CE 3.0. There is one.


Not for the SH3 processor... doesn't produce binaries.


Then you could ask the maintainer to produce such binaries. Or download
the free WinCE SDK + Emulator + whatnot yourself and build binaries
yourself. You might even learn a little C that way ;-)

Or install Linux or NetBSD on that handheld instead :-)

-- Gerhard

Jul 18 '05 #4
no**@noah.org (Noah) wrote in message news:<c9**************************@posting.google. com>...
Gerhard Häring <gh@ghaering.de> wrote in message news:<ma*********************************@python.o rg>...
Fuzzyman wrote:
What's the score on this (the ASPN python compiler)

Read the whitepaper, available on the ActiveState site.
...
-- Gerhard


The short answer is that it looks like a dead project.

Actually, you are better off going to Mark Hammond's .NET page here:
http://starship.python.net/crew/mhammond/dotnet/


Well, folks, I actually went off and read the paper. In spite of the
declaration of success at the end of the paper, the project appears to
have been just an academic proof of principle exercise. The compiler
is too slow to be of practical use and not much of the much of the
runtime and modules were implemented. You should read it; it doesn't
look like it could have ever succeded.

The paper suggests that a way around the mismatch between the dynamic
typing of Python and the static typing of .NET would have been to
introduce advisory type declarations into Python. Think Guido would
buy that? It also suggested maybe type inferences could solve the
problem.

From this paper it's evident that this was not a class effort like
Jython. Was Active State suckered by some marketing ploy of
MicroSoft? To be fair maybe they all expected a follow-on project to
do a real implementation, but I bet it's all part of VB-forever.

I also noted there is a dead-in-the-water Perl.NET implementation.

-- Russ
Jul 18 '05 #5
cl*********@russellsalsbury.com (Russ Salsbury) writes:
[...]
Well, folks, I actually went off and read the paper. In spite of the
declaration of success at the end of the paper, the project appears to
have been just an academic proof of principle exercise. The compiler
is too slow to be of practical use and not much of the much of the

[...]

Since all they wanted to demonstrate was that "the .NET runtime and
Intermediate Language were capable of supporting the language", I
think somebody should have told Microsoft about this guy called
Turing. With great foresight <wink>, he proved that the .NET runtime
*is* capable of supporting Python, which should have saved Mark & Greg
all that hard work. <0.5 wink>
John
Jul 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jeff Epler | last post by:
Hello. Recently, Generator Comprehensions were mentioned again on python-list. I have written an implementation for the compiler module. To try it out, however, you must be able to rebuild...
0
by: dw | last post by:
I thought someone would like ASPN's python cookie book inside chm for easy offline-searching: http://miaw.compeng.org/~dody/aspncookbook.chm last crawled around 15jan04. ...
4
by: dody | last post by:
ASPN Python cookbook in a .chm file =================================== last updated: 25 August 2004 http://miaw.tcom.ou.edu/~dody/aspnpython.chm -- dody suria wijaya
13
by: Bryan Parkoff | last post by:
You may notice that switch (...) is much faster than function that can gain a big improved performance because it only use JMP instruction however function is required to use CALL, PUSH, and POP...
10
by: Bjorn | last post by:
I'm using interfaces in C++ by declaring classes with only pure virtual methods. If then someone wants to implement the interface they needs to inherit from the class. If the implementing class...
7
by: Tao Wang | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I saw cuj's conformance roundup, but the result is quite old. I think many people like me want to know newer c++ standard conformance test...
0
by: rollasoc | last post by:
Hi, I seem to be getting a compiler error Internal Compiler Error (0xc0000005 at address 535DB439): likely culprit is 'BIND'. An internal error has occurred in the compiler. To work around...
3
by: Mark Rockman | last post by:
------ Build started: Project: USDAver2, Configuration: Debug .NET ------ Preparing resources... Updating references... Performing main compilation... error CS0583: Internal Compiler Error...
41
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.