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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:56:49+00:00 2026-05-26T14:56:49+00:00

Most strongly typed programming languages have data types of min. 1 byte in size.

  • 0

Most strongly typed programming languages have data types of min. 1 byte in size. I know it is possible to access individual memory cells using bit masking but why programming languages not support data type of less than 1 byte ?

  • 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-26T14:56:50+00:00Added an answer on May 26, 2026 at 2:56 pm

    For languages that have manual memory management/address juggling at all, the hardware dictates some restrictions on those features. Very few, if any, architectures support addressing a single bit. Typically, the smallest unit of storage is a byte, so they use that.

    Making all addresses refer to bits either requires larger-than-average address representation (a performance hit – twice as many instructions for anything touching addresses) or vastly limit the available address space. Adding a special case (and special kind of address) complicates the language for something that is rarely needed (note that C has a related, but IMHO more general version: bitfields in structs – the structs still have a sizeof measured in bytes, but a struct with 8 members may be one byte large overall). Bit fiddling operators that are included anyway allow emulating it in user code.

    In higher-level languages that don’t have a notion of addressing stuff at all, the size is an implementation detail. The implementation are, of course (directly or indirectly), again in lower-level languages that default to bytes over bits. That, and other requirements and limitations (e.g.: objects need to be accessed through pointers), make it impractical in general (though it exists, e.g. BitVector for Python) to expose tricks like “use a machine word, then index the bits through shifting/masking” to the language implemented.

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

Sidebar

Related Questions

As we all know most apps have a data access layer, often using repository
It seems to me that the most invaluable thing about a static/strongly-typed programming language
Most program languages have some kind of exception handling; some languages have return codes,
I have been having multiple problems with getting the Add View.. Create a strongly-typed
Most mature C++ projects seem to have an own reflection and attribute system ,
Most of the MVC samples I have seen pass an instance of the view
Most of my users have email addresses associated with their profile in /etc/passwd .
Most of our Eclipse projects have multiple source folders, for example: src/main/java src/test/java When
What should dictate when I should use the configurationManager.AppSettings or the strongly typed settings
I know that ViewData and ViewBag both use the same backing data and that

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.