473,503 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CPython VM & byte code resources wanted

Hi,

I am looking to study the CPython source code, but I cannot seem to find the
VM code.
Also is there any where a detailed list of the opcodes ?

Many thanks in advance,

Aaron
Apr 8 '08 #1
4 1215
On Apr 8, 9:29*pm, "Aaron Gray" <ang.use...@gmail.comwrote:
Hi,

I am looking to study the CPython source code, but I cannot seem to find the
VM code.
Also is there any where a detailed *list of the opcodes ?

Many thanks in advance,

Aaron
Bytecodes:
http://docs.python.org/lib/bytecodes.html

VM:
Python/ceval.c

HTH

--
Arnaud

Apr 8 '08 #2
"Aaron Gray" <an********@gmail.comwrote in message
news:66*************@mid.individual.net...
Hi,

I am looking to study the CPython source code, but I cannot seem to find
the VM code.
Found it :)

Python/ceval.c
Also is there any where a detailed list of the opcodes ?
Still could do with an opcodes chart.

Thanks,

Aaron
Apr 8 '08 #3
>Bytecodes:
>http://docs.python.org/lib/bytecodes.html

VM:
Python/ceval.c
Thanks,

Aaron

Apr 8 '08 #4
Aaron Gray wrote:
"Aaron Gray" <an********@gmail.comwrote in message
news:66*************@mid.individual.net...
>Hi,

I am looking to study the CPython source code, but I cannot seem to find
the VM code.

Found it :)

Python/ceval.c
>Also is there any where a detailed list of the opcodes ?

Still could do with an opcodes chart.
Be sure and post it on the Wiki when you finish it ;-)

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/

Apr 8 '08 #5

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

Similar topics

3
1476
by: beliavsky | last post by:
The book "Learning Python" says that a "Python Virtual Machine" interprets "byte code" to run a Python program. Is there a book or site that describes in more detail what Python is doing behind the...
3
2284
by: Jim Hargrave | last post by:
I've read that it is possible to compile jython to native code using GCJ. PyLucene uses this approach, they then use SWIG to create a Python wrapper around the natively compiled (java) Lucene. Has...
2
2465
by: news.tkdsoftware.com | last post by:
Aside from comp.compilers, is there any other forum, newsgroup or medium where I can post questions concerning the development of a byte code compiler & virtual stack machine? --
4
1629
by: Phil Crosland | last post by:
I want to access online graphics for a networked application I am writing & am having trouble using the WebClient for this. Basically I want the users to be able to enter an URI to a file either on...
2
2875
by: valinor | last post by:
Hi guys, (rather lengthy...) I'm trying to speed up the time spent on a postfilter for video. YUV 4:2:0 data, each pixel is 1 byte (0-255) The basic idea is to filter one pixel on each side...
3
2155
by: rn5a | last post by:
To work with files, when should one use the File class & when should one use the FileInfo class? Similarly, to work with directories, when should one use the Directory class & when should one...
0
5518
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
0
997
by: Brett C. | last post by:
I have been working on making Python a secure interpreter to run when embedded in terms of resources with an object representation (e.g., files but not memory or CPU). To save myself from...
26
2078
by: rajiv.battula | last post by:
Hey everyone, I am a Java programmer, somewhere between novice to advanced. I wanted to know if it is still recommended to read "The C Programming Language" 2nd Edition? This edition was...
0
7204
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
7091
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
7282
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,...
1
6998
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
7464
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5018
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...
0
3162
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
741
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
391
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.