designing languages that bake concepts like aliasing and index bounds into type ...

@sjolsen@tech.lgbt

designing languages that bake concepts like aliasing and index bounds into type safety is very brain candy, but if you consider the following principles:

  1. correct (or at least predictable) is more important than fast
  2. amdahl's law
  3. the majority of the time is spent executing a minority of a program's code

you gotta wonder if maybe it's a lot more practical to just bounds check everything, disallow memory reordering, etc. and give the programmer directives to manually apply specific, potentially unsound optimizations