By: Jörn Engel (joern.delete@this.purestorage.com), May 23, 2022 12:11 am
Room: Moderated Discussions
anon2 (anon.delete@this.anon.com) on May 22, 2022 11:42 pm wrote:
>
> 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.
template
class Vec256 {
You are right, I don't see a second example. And even this example appears to only implement operators.
I guess I should have complained about templates instead. But that's probably just one more example of the C/C++ cultural divide, you either have a strong dislike or you embrace them.
>
> 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.
template
class Vec256 {
You are right, I don't see a second example. And even this example appears to only implement operators.
I guess I should have complained about templates instead. But that's probably just one more example of the C/C++ cultural divide, you either have a strong dislike or you embrace them.