Replies: 4 comments 2 replies
-
@rrisner Thank you for your question. Well yes, it will have classes. Considering the fact that objects are just glorified structs it won't be that difficult |
Beta Was this translation helpful? Give feedback.
-
This could be python 4.x |
Beta Was this translation helpful? Give feedback.
-
Maybe consider taking a look at how 'Julia' language implemented multiple dispatch, it is like classes but with speed of c. |
Beta Was this translation helpful? Give feedback.
-
Just a small update |
Beta Was this translation helpful? Give feedback.
-
Are classes an intended feature for Swallow? I think it would be difficult for some users to adopt the language without support for object-oriented design patterns. Is it possible for the language to support C++ code and classes in the same way as (or instead of) C code?
I think that "A compiled and typed Python-like language which runs nearly as fast as C++" sounds like it could be compelling for many use cases, including data science. It could bridge the gap between the ease of writing for interpreted languages and the performance of tedious C++ code. It could potentially also solve one problem I have with Python in that if I make a small application, I cannot share it with anyone who does not have Python installed. The down-side to that is that it would also be easier to write and share malicious code. Compile-time may also increase as more conversions are done between Swallow and C/C++.
Beta Was this translation helpful? Give feedback.
All reactions