|
|
|
|
|
by Someone
901 days ago
|
|
Wirth ran an OS research lab. For that, the compiler likely is a fairly typical workload. But yes, it wouldn’t work well in a general context. For example, auto-vectorization likely doesn’t speed up a compiler much at all, while adding the code to detect where it’s possible will slow it down. So, that feature never can be added. On the other hand, may lead to better designs. If, instead, you add language features that make it easier for programmers to write vectorized code, that might end up being easier for programmers. They would have to write more code, but they also would have to guess less whether their code would end up being vectorized. |
|