-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generic type #1
Comments
Hi @thesombady! Very happy you find this useful. Consider this is just a starting point and I'm glad to have more people onboard. With respect to generics, that would be a great start and I did thought about it at the beginning but when I started I wanted to do it quickly without resorting to any abstractions too early on. Anyway, feel free to issue a PR an discuss it further. Let me share you with you what I have in mind too:
The endgame for me it is to have a good alternative to the Python ecosystem for Data Science and Machine Learning considering all the benefits of the V language Regards, |
Hi, Nice that you already thought about some of the things! I'l make some PR and then you can see what I have in mind. Best regards, |
Hi,
I just saw your code on the discord sever and got excited. I myself have done some stuff like this before.
I'd like to contribute by making the entire linalg/vectors.v generic. so that it could support f32, and integers of different types as well. For me this makes complete sense in some scenarios, e.g. in matrix operations, the identity matrix would take up less space if its a large matrix if it could be represented as an i32 instead.
Your opinion on this would be nice, and if so I'll make the pull-request.
Best regards,
Andreas
The text was updated successfully, but these errors were encountered: