Comment by jpardy

9 months ago

For me, this is Odin-Lang, it doesn't meet all the requirements you have listed, but it's ergonomic, fast, and comes with extensive core and vendor libraries. It's all just fun and reasonable.

https://odin-lang.org/

Oh, that's quite on the mark!

Nitpicking: I'm not fond of reserving keywords like len or append.

  len(arr)
  append(arr, v)

Better is

  arr.len
  arr.append(v)

Also

  x: [dynamic]int

is quite verbose

Maybe better would be

  x: [int]   //dyn
  x: [int,2] //fixed