Why does python has a middle layer of creating bytecode?
- Is bytecode platform-specific, and why?
- What does bytecode look like?
- What is the difference between a C++ executable file produced after compilation and what a Python VM produces?
- What does the Python VM actually produce? Is it a binary, CPU instructions, or something else?
- What is the difference between a binary, an executable, and a CPU instruction? Explain from the basics in detail with specific examples.
9 comments · 17% upvoted · other discussions
This is not the place to upload your homework lmao. You’re one google search away btw…
abs0lute888 9 points · 2d ago
honestly props to OP for going an extra mile and posting on reddit instead of using AI lol
B3d3vtvng69 1 points · 2d ago
fair enough lmao
stumpylog 9 points · 2d ago
I swear this basic question was just asked, maybe yesterday too
JanEric1 7 points · 2d ago
19 hours ago by the same OP in the learnpython sub https://www.reddit.com/r/learnpython/comments/1xfeagc/why_do_we_need_cpython_and_python_virtual_machine/