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

The Archive Base Latest Questions

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

Firstly yes i know that ints are more native than bytes and that all

  • 0

Firstly yes i know that ints are more native than bytes and that all math and logical operations on bytes are actually done on ints. This of course means that there is a cost of widening and narrowing if using bytes. However on the counterbalance this also means that memory bytes really hold bytes and not potentially some greater than byte value value, eg 256.

Im guessing in both cases there are pros and cons but in would i am after opinions.

  • 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-03T17:20:27+00:00Added an answer on June 3, 2026 at 5:20 pm

    i would use whatever type made is easiest to emulate the the hardware in question.

    if it was an 8-bit computer that would probably be bytes. for something like an x86-64 i imagine a long (64 bits) would make more sense. in both cases the chose size is more likely to match register operations and the size of data “words” transferred between cpu and memory:

    All general-purpose registers (GPRs) are expanded from 32 bits to 64
    bits, and all arithmetic and logical operations, memory-to-register
    and register-to-memory operations, etc., can now operate directly on
    64-bit integers. Pushes and pops on the stack are always in 8-byte
    strides, and pointers are 8 bytes wide.

    from wikipedia

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

Sidebar

Related Questions

Firstly I know that there are many question and solutions to correct thread marshalling
Firstly, YES, this is a duplicate issue that's been asked 100 times on here,
Firstly, let me say that I know that http://sphinxsearch.com/docs/current.html#conf-sql-attr-string says strings can only be
Firstly, I'm a newbie to C# and SharePoint, (less than a month's experience) so
Firstly, here's my script: #!/usr/bin/python import sys, os sys.path.append('/home/username/python') sys.path.append(/home/username/python/flup) sys.path.append(/home/username/python/django) # more path
Firstly, I was wondering if there was some kind of built in function that
Firstly, let me start by saying that I haven't ever directly used SQL views.
Firstly, apologies for all the XAML. I've tried for a few days to resolve
Firstly, I just want to say that the gmaps4rails gem has been fantastic. Easy
Firstly, I apologise if this is a really simple question to those with more

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.