V Forum

[ log in ]

dynamic layer over V?

rwgk 2019-06-27 09:26
Do you think that a dynamically-typed, interpreted layer over V could be useful (in the future as V gets really big), like Python over C?
medvednikov 2019-06-27 12:16
I think it'd be quite easy to implement a V interpreter.

But it already is simple, compiled quickly, and supports REPL and hot code reloading.
rwgk 2019-06-27 19:18
Thanks!
Just inserting a couple thoughts:
- I spent my life in the science & engineering world. To embrace V they will need something similar to NumPy, ideally supported at the core language level. (IMO can be a lot simpler than NumPy, e.g. I have strong doubts about array views, but the multi-dim indexing+slicing and basic vector math are essential.)
- Compiling all high-level code, like what you usually tackle with NumPy in Python, could lead to binary bloat, for little to no runtime gain, going by the old 90/10 wisdom.



Powered by Vorum, open-source blogging/forum software written in V