Enjoy !
you lost me
Talking about verbosity, i tested the nim VM. I honestly don't mind the extra -> void :P
| Benchmark | Etch VM | Etch C | NimScript | VM vs NimScript | C vs NimScript |
| --------------------- | ------- | ------ | --------- | --------------- | -------------- |
| arithmetic_operations | 20.2ms | 3.0ms | 852.7ms | 🟢 42.16× | 🟢 286.29× |
| array_operations | 10.4ms | 4.5ms | 395.1ms | 🟢 38.09× | 🟢 88.33× |
| for_loop_print | 7.7ms | 9.0ms | 665.9ms | 🟢 86.53× | 🟢 74.37× |
| function_calls | 11.1ms | 3.3ms | 293.0ms | 🟢 26.41× | 🟢 89.35× |
| math_intensive | 8.3ms | 3.8ms | 249.1ms | 🟢 30.11× | 🟢 65.52× |
| memory_allocation | 3.8ms | 2.8ms | 229.3ms | 🟢 59.78× | 🟢 81.61× |
| nested_loops | 12.3ms | 2.7ms | 249.6ms | 🟢 20.31× | 🟢 93.09× |
| option_operations | 6.6ms | 2.6ms | 471.4ms | 🟢 71.56× | 🟢 181.63× |
| ref_operations | 16.9ms | 4.4ms | 237.7ms | 🟢 14.06× | 🟢 53.54× |
| result_operations | 20.5ms | 4.4ms | 636.7ms | 🟢 31.12× | 🟢 145.54× |
| string_operations | 5.6ms | 11.7ms | 247.0ms | 🟢 44.41× | 🟢 21.16× |It's not verbose, well not more than nim at least (apart the braces ...
Well these two things cannot both be true at the same time... ;-)
and i don't care 6 more characters if it runs 50 times faster than nim VM regardless of its excuses brought to the table. You seems to care more about superflous things than others...
Maybe, no idea what you care about though. If you don't mind the braces (nothing wrong with that) there are lots of scripting languages that offer decent performance. Sure, you enjoy what you do and learn all sort of useful things while you're at it, have fun.
Well, there are many JavaScript, wasm engines to choose from. TypeScript adds a type system on top of that, there is also Godot's scripting language, etc etc.
PS: No idea if the benchmarks for the VM reflect reality, I've found the VM to be tedious to measure due to its startup time (it needs to compile system.nim ...)