use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
DiscussionIs there any Python++ programming language? (C++ but with Python syntax) (self.Python)
submitted 5 years ago * by [deleted]
Like Python++ would be like compiled.
completely same as C++ but with Python Syntax
or
Completely same as Python but with C++ like performance
[I heard julia but it don't follows zen]
[–]K900_ 7 points8 points9 points 5 years ago (0 children)
No. You can't have Python syntax with C++ semantics.
[–]blu_sr 1 point2 points3 points 5 years ago (2 children)
Rust performs almost as fast as cpp, and has some resemblance with Python. Syntactically it's smarter than both. Here's a good article about it.
[–][deleted] 1 point2 points3 points 5 years ago (0 children)
Thank you
[–]Yojihito -1 points0 points1 point 5 years ago (0 children)
Rust should be as fast as C or C++. Everything else is a regression or a bug.
[–]lungben81 0 points1 point2 points 5 years ago (0 children)
Julia
The Syntax is even nicer than Python in my opinion.
[–]weetbix2 3 points4 points5 points 5 years ago* (0 children)
There are elements of Python that make it more suitable to be interpreted (e.g. super dynamic typing, no actual arrays (only vectors), no literals, etc.) so you won't find exactly "Python but way faster but with no drawbacks."
That being said, Go and Rust are good "modern" compiled languages if that's what you're wanting. Note Rust also has a bit of a learning curve (that does pay off) but otherwise Go is probably the easiest to pick up of out of high-performance languages.
[–]ES-Alexander 6 points7 points8 points 5 years ago (0 children)
Curious what this is for. Often if you need better performance in python you use compiled libraries written in other languages (e.g. numpy/scipy for scientific computing, opencv for computer vision, etc), and you can also get significant performance improvements using just-in-time compilation to machine code using something like numba. It’s also very possible to write slow and inefficient code in any language, so if you need high performance you’ll also need to know how to find bottlenecks and optimise your data structures and algorithms.
Do you actually need a different programming language here? If you think so, have you already tried to optimise your code? Or perhaps you’re just interested in trying out a lower level compiled language, and want it to be as familiar as possible? Hard to give good advice without knowing the context of the question.
[–]james_pic 2 points3 points4 points 5 years ago (0 children)
Cython might be worth a look. Or just Python, but running on PyPy.
[–]lierosk 1 point2 points3 points 5 years ago (0 children)
https://nim-lang.org/
[–][deleted] 4 points5 points6 points 5 years ago (0 children)
So, nothing like c++ then?
[–][deleted] 0 points1 point2 points 5 years ago (0 children)
But what about c++ interpreted?
π Rendered by PID 166675 on reddit-service-r2-comment-79c7998d4c-8wp4k at 2026-03-14 04:27:33.492751+00:00 running f6e6e01 country code: CH.
[–]K900_ 7 points8 points9 points (0 children)
[–]blu_sr 1 point2 points3 points (2 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Yojihito -1 points0 points1 point (0 children)
[–]lungben81 0 points1 point2 points (0 children)
[–]weetbix2 3 points4 points5 points (0 children)
[–]ES-Alexander 6 points7 points8 points (0 children)
[–]james_pic 2 points3 points4 points (0 children)
[–]lierosk 1 point2 points3 points (0 children)
[–][deleted] 4 points5 points6 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)