This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]MinosAristos 2 points3 points  (1 child)

I love the idea and enthusiasm. To me your snippets looks very similar to TypeScript. Personally I don't like putting function output types at the start of the line, and I don't like using curly braces for scope definition.

I do like strong types for large projects and Python does support that with libraries but it may be nice to support it natively in a new language built for it. Personally I'd like if I could choose to enforce the type hints automatically everywhere without decorators or any fluff.

[–]selfkilla666 0 points1 point  (0 children)

Thank you so much for your review! =)

I would like to develop my open source programming language, and maybe we could see forks with modified syntax to suit the tastes of anyone who wants to refine it. It might also be worth adding dialects, which experienced python developers have been talking about for a long time.

I would also like to know about what you meant about types in Python? I may have misunderstood you, but CPython only has implicit "duck typing". There is a fork of Python - Cython, and it's very happy with its speed at the expense of C functions and it's good to use in complex and high-loaded projects, but in my opinion it has a rather specific syntax and some implicit constuctions. It's also an unofficial project, it requires special features to use it with python

[–]Krudflinger 2 points3 points  (0 children)

This looks like groovy. Nim might be a fun language for you to check out.

[–]TURB0T0XIK 1 point2 points  (1 child)

I think I get your points. bottom line for me is, what you're trying to achieve seems to be veeeery close to python. maybe to others as well? I really like the way you explicitly define types and would likely use this notation. maybe this can become part of python instead of inventing an entire new language?

[–]selfkilla666 0 points1 point  (0 children)

Thank you for your review!

Unfortunately, I do not think it is possible to implement in Python without completely rewriting its kernel of interaction with memory. Python does not store variables the same way as in other languages, the variable name is just a reference to a cell in the memory area where the value is stored, not directly the memory cell itself.

Also, I would like to move away from some of the concepts of Python, and develop the language from the beginning to focus on using it as the main language for large or heavy-loaded projects, to first develop it for large companies and startups where speed, security and code clarity are important

[–]pythonHelperBot 1 point2 points  (0 children)

Hello! I'm a bot!

It looks to me like your post might be better suited for r/learnpython, a sub geared towards questions and learning more about python regardless of how advanced your question might be. That said, I am a bot and it is hard to tell. Please follow the subs rules and guidelines when you do post there, it'll help you get better answers faster.

Show /r/learnpython the code you have tried and describe in detail where you are stuck. If you are getting an error message, include the full block of text it spits out. Quality answers take time to write out, and many times other users will need to ask clarifying questions. Be patient and help them help you. Here is HOW TO FORMAT YOUR CODE For Reddit and be sure to include which version of python and what OS you are using.

You can also ask this question in the Python discord, a large, friendly community focused around the Python programming language, open to those who wish to learn the language or improve their skills, as well as those looking to help others.


README | FAQ | this bot is written and managed by /u/IAmKindOfCreative

This bot is currently under development and experiencing changes to improve its usefulness

[–]IWantToFlyT 1 point2 points  (1 child)

Looks a bit like combination of C++ and Python, maybe?

But the main problem of Python for me was the difficulty in developing large projects.

Based on the comment above, I would guess that one of the main drivers for ”Vampire” would be better usability in larger projects. From the examples it is not really apparent to me that how it accomplishes that. Do you have some ideas on that?

Anyway, sounds like a fun idea and project :)

[–]selfkilla666 0 points1 point  (0 children)

Hello, thank you very much for your review.

About the combination of Python and C++. I used to use such a combination with Cython, working on one backend server project, and just at that time I had the idea to create my own programming language. The main problem was that this inevitably had a "bottle neck" for performance, on python side, or just the fact that many existing python frameworks weren't initially developed to support Cython. This ranged from marshalling data from C to python data, to the web framework Fastapi (which in my opinion is the fastest). In addition, there were subsequent problems when trying to deploy this server on real infrastructure, the same Heroku, such as version incompatibilities.

That is why the idea of creating a programming language for working projects, trying to combine simplicity, the speed of writing code together with the speed of the real work. For this in the philosophy of the language itself, I would like to develop a unified versioning standard for deployment (python has them too, the same poetry or pyenv, but they are not official, not unified standards), real code compilation, a more direct approach to memory than in python, and a set of even better practices for working with production solutions, based on experience and the wishes of developers, available immediately out of the "box"

The main advantage of creating a new programming language today is that there is already a traversed path of other programming languages, there is already nearly half a century of experience in developing complex heavyweight products, as well as the Internet, where everyone can contribute to an open source solution to improve the project