designing languages that bake concepts like aliasing and index bounds into type ...
follow my onionfans @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:
- correct (or at least predictable) is more important than fast
- amdahl's law
- 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