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 7866259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:20:21+00:00 2026-06-03T00:20:21+00:00

A simple question: do longs differ from architecture to architecture? I seem to recall

  • 0

A simple question: do longs differ from architecture to architecture? I seem to recall a while back that when we went from a 32-bit machine to a 64-bit machine, the longs might differ, but as I check things now, they appear to be the same (a 64-bit integer, effectively).

I ask, because I am writing some code, which speccs in Int64s (C#), and while longs and Int64s appear to be the same at the moment, the damn autocomplete likes using longs instead of Int64s, which it sees as the same. To save myself from time, should I let it autocomplete with longs, and sleep soundly because they won’t be changing if someone comes out with a 128-bit CPU tomorrow, or should I put forth the extra effort now to ensure that they are Int64s in said code? And yes, I am aware that Int64 = long, so far as the current implementation cares.

  • 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-06-03T00:20:24+00:00Added an answer on June 3, 2026 at 12:20 am

    While in C the size of long may vary, it is well specified in C# to be 64bit integer.

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

Sidebar

Related Questions

Simple question here that I can't seem to find an answer for: Once a
I have a very simple question, in fact I'm a bit frustrated that I
I have a simple question. I have a long std::string that I want to
Simple question here: is there any way to convert from a jagged array to
Simple question, I just want to select the text from the <Template> tag. Here's
Simple question. Are there any tools for generating Xcode projects from the command line?
This is a fairly simple question (or at least from the outset it should
It's a simple question, but the solution appears to be far from simple. I
Simple question, but I'll bet that asking on here will probably be more straight
This might be a simple question for those who know Spring, but since I

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.