Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1046249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:07:01+00:00 2026-05-16T16:07:01+00:00

(Sorry if this sounds like a rant, but it’s a real question and I’d

  • 0

(Sorry if this sounds like a rant, but it’s a real question and I’d appreciate real answers)

I understand that since C is so old, it might have not made sense to add it back then(MMX didn’t even exist back then). But since then there was C99, and still there are no standard for SIMD variables(as far as I know).

By “SIMD variables”, I mean something like:

vec2_int a = {2, 2};
vec2_int b = {3, 3};
a += b;

I also understand that this can be done with structs and (in theory) the compiler should optimize it to use SIMD when appropriate anyway.

But I recently saw a post from Qt Labs which includes an example with types like “__m128i”(which look clearly non-standard), instead of relying on optimizations. Considering Qt is advertising this as greatly improving Qt’s speed, I’m guessing compiler optimizations are being insufficient, at least for some programmers.

If it was just C, I’d think C was being stupid. But, as far as I know, newer languages such as C++, Java and C# don’t include these either. C# has Mono.SIMD but it’s not a primitive type(and since C# has a “decimal” keyword, I don’t think they were trying to save types).

So here’s what I’m noticing: Languages with vector primitive types seem to be the exception and not the rule.
Because vector primitive types look so obvious, I’m guessing there’s got to be some decent reasons NOT to include these types.

Does anyone here know why these types are so frequently excluded? Some links to rationales against adding them?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T16:07:02+00:00Added an answer on May 16, 2026 at 4:07 pm

    Because not all processors support SIMD instructions. Languages like C and C++ (and even Java and C#) are designed to be used on different kinds of hardware, like microcontrollers, in addition to desktop computers.

    Currently, vectorization of algorithms is not automatic (although that is being actively researched). Algorithms that are “vectorizable” must be explicitly written to take advantage of any SIMD capabilities of the execution environment.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry if this sounds like a really stupid question, but I need to make
Sorry if this sounds like a newbie question, but the other day a Java
Sorry if this sounds like a really silly question. But I Googled the web
Ok sorry this might seem like a dumb question but I cannot figure this
Sorry for this not being a real question, but Sometime back i remember seeing
I'm sorry if this sounds like a stupid question, because it seems to be
Sorry if this sounds like a bit of a noobie question, i'm still relatively
I am sorry, that sounds like a noob question. I am trying to do
Sorry if this sounds like a noob question. I downloaded this asp.net project from
Sorry, if this is a noobish question, but I'm just getting started with Rails

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.