By: anon2 (anon.delete@this.anon.com), May 22, 2022 11:42 pm
Room: Moderated Discussions
Jörn Engel (joern.delete@this.purestorage.com) on May 21, 2022 1:23 pm wrote:
> I dislike the idea of classes. Nothing about vector instructions implies an object-oriented
> approach. It doesn't prevent an object-oriented approach either, so classes clearly work.
> But for an abstraction it is an artificial limitation that is entirely unnecessary. I suppose
> it also indicates a cultural divide, you either prefer C or C++ and I happen to fall on the
> C side of that divide. Guess I will continue to use my way instead of the highway. ;)
Curious: where do you see an object-oriented approach in Highway? All I see is a bunch of specialized parametrized types and tags as well as partially overloaded operations. That’s no more object-oriented than say, distinction between int, float and double.
> I dislike the idea of classes. Nothing about vector instructions implies an object-oriented
> approach. It doesn't prevent an object-oriented approach either, so classes clearly work.
> But for an abstraction it is an artificial limitation that is entirely unnecessary. I suppose
> it also indicates a cultural divide, you either prefer C or C++ and I happen to fall on the
> C side of that divide. Guess I will continue to use my way instead of the highway. ;)
Curious: where do you see an object-oriented approach in Highway? All I see is a bunch of specialized parametrized types and tags as well as partially overloaded operations. That’s no more object-oriented than say, distinction between int, float and double.