by IshKebab · 4y ago · 0 comments
Anyway I think the benchmark is underwhelming for a different reason - Python is extremely slow so beating it surely isn't that Impressive?
I guess on the other hand... one guy has made a faster language than one made by an entire army of Python developers.
That said, I don't know what the goals of this language are, and bluntly, perf isn't everything ;)
Since the most popular scripting language is Lua, I can name three big disadvantages of Lua that Umka is trying to fix:
- Verbose and unfamiliar syntax
- Type error detection at run time instead of compile time (a direct consequence of dynamic typing)
- Data structures not compatible with C (which is particularly odd, as Lua is specifically designed to interact with C)
So yes, Umka's main goals are not related to performance.
The creators of Umka chose their own benchmark to show people how good Umka is. It's the first thing you see when you open the github page. They could have chosen anything else, but they chose a matrix multiplication benchmark. Is matrix multiplication relevant for the Umka use case? I don't know, but if it is, the relevant comparison point is Python+Numpy, not Python alone. In which case rather than Umka being twice as fast, Umka is about 10000 slower.