---
title: "#bits articles | Hashnode"
description: "Explore 12 articles tagged #bits on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/bits"
---

Tag

# #bits

12 posts · 0 followers

[Xianyu Sheng](https://hashnode.com/@xianyu-sheng) · [Jan 28](https://hashnode.com/posts/6k6h566x5py677ya5l2n6lq566x5lul57un/6979cd7f720f679bb6a57a5e)

### [计算机：位运算介绍](https://xianyu-sheng.hashnode.dev/6k6h566x5py677ya5l2n6lq566x5lul57un?utm_source=hashnode&utm_medium=feed)

其实位运算（Bitwise Operation）的本质就是数字逻辑电路（与门、或门、非门、异或门）在代码层面的直接应用。 相比于加减乘除这些“宏观”运算，位运算是直接指挥 CPU 的 ALU（算术逻辑单元）去拨弄内存里的开关，所以它通常是最快的。 我把常见的位运算操作符比作你物理实验箱里的工具，用大白话给你盘点一下： 一、 基础工具箱：六大金刚 1. 按位与 & (AND) —— “严苛的安检门” / 串联电路 规则：两个都是 1，结果才是 1；否则是 0。 物理直觉：串联电路。两个开关都...

2 min read · [xianyu-sheng.hashnode.dev](https://xianyu-sheng.hashnode.dev/6k6h566x5py677ya5l2n6lq566x5lul57un?utm_source=hashnode&utm_medium=feed)

[Oyindamola Abiola](https://hashnode.com/@oyindamolaabiola) · [Nov 27, 2025](https://hashnode.com/posts/bits-bytes-and-storage-capacity/695a266a3cd6ec8625a20a16)

### [Bits, Bytes & Storage Capacity](https://oyindamolaabiola.hashnode.dev/bits-bytes-and-storage-capacity?utm_source=hashnode&utm_medium=feed)

How Computers Count What They Can Hold After understanding binary and the conversions, I got into storage and got all confused again; how do all these turn into storage? Like, when someone says "this file is 2MB" or "you have 8GB of RAM," what does t...

6 min read · [oyindamolaabiola.hashnode.dev](https://oyindamolaabiola.hashnode.dev/bits-bytes-and-storage-capacity?utm_source=hashnode&utm_medium=feed)

[Divyansh Sharma](https://hashnode.com/@divyansh1552005) · [Sep 5, 2025](https://hashnode.com/posts/why-your-1tb-laptop-shows-only-931gb-mib-vs-mb-explained/68ba83c1165a437be260ec84)

### [Why Your "1TB" Laptop Shows Only 931GB: MiB vs MB Explained](https://divyanshblogs.hashnode.dev/why-your-1tb-laptop-shows-only-931gb-mib-vs-mb-explained?utm_source=hashnode&utm_medium=feed)

Decimal Byte vs Binary Byte (iB Units)

2 min read · [divyanshblogs.hashnode.dev](https://divyanshblogs.hashnode.dev/why-your-1tb-laptop-shows-only-931gb-mib-vs-mb-explained?utm_source=hashnode&utm_medium=feed)

[Divyansh Sharma](https://hashnode.com/@divyansh1552005) · [Aug 26, 2025](https://hashnode.com/posts/in-real-life-swapping-xor-trick-vs-temp-variable/68ad6ce9942e904e9a522178)

### [In real life swapping - XOR Trick vs Temp variable?](https://divyanshblogs.hashnode.dev/in-real-life-swapping-xor-trick-vs-temp-variable?utm_source=hashnode&utm_medium=feed)

Comparing the XOR swap trick to using a temporary variable for swapping: readability, undefined behavior, and optimization considerations explained

2 min read · [divyanshblogs.hashnode.dev](https://divyanshblogs.hashnode.dev/in-real-life-swapping-xor-trick-vs-temp-variable?utm_source=hashnode&utm_medium=feed)

[Nitin Saini](https://hashnode.com/@saininitin) · [Jul 17, 2025](https://hashnode.com/posts/inside-the-machine-deconstructing-addition-at-the-binary-level/6878cacd359bf56acd845917)

### [Inside the Machine: Deconstructing Addition at the Binary Level](https://nitin-saini.hashnode.dev/inside-the-machine-deconstructing-addition-at-the-binary-level?utm_source=hashnode&utm_medium=feed)

Ever wondered how your code runs? This article breaks down raw machine code, showing a sum calculation, then reveals the full journey from writing C++ to ..

7 min read · [nitin-saini.hashnode.dev](https://nitin-saini.hashnode.dev/inside-the-machine-deconstructing-addition-at-the-binary-level?utm_source=hashnode&utm_medium=feed)

[Mohit Bhutani](https://hashnode.com/@BitsBytesBhutani) · [May 24, 2025](https://hashnode.com/posts/bits-bytes-bhutani-epi-1-null-games/6831a664eef431b2e7b1c276)

### [Bits, Bytes, Bhutani Epi 1 - Null Games](https://mohitbhutani09.hashnode.dev/bits-bytes-bhutani-epi-1-null-games?utm_source=hashnode&utm_medium=feed)

Starting this fun lil’ series: Bits, Bytes & Bhutani ! A weekly dose of data, drama & dry humor from my 12 year ride in analytics and a bit in governance. Doesn’t matter if it’s Monday blues or Thursday chaos — the goal is simple:Give you a smile...

1 min read · [mohitbhutani09.hashnode.dev](https://mohitbhutani09.hashnode.dev/bits-bytes-bhutani-epi-1-null-games?utm_source=hashnode&utm_medium=feed)

[Sumaiya Akter Ria](https://hashnode.com/@SumaiyaRia) · [Jan 12, 2025](https://hashnode.com/posts/cs50-week-0-part-1/6784038255cb75e17f4d2965)

### [CS50 Week 0: Part 1](https://cs50blogs.hashnode.dev/cs50-week-0-part-1?utm_source=hashnode&utm_medium=feed)

Intro to binary, bits, bytes, ASCII, algorithms, and pseudocode using simple explanations and analogies. Ideal for CS50 beginners

5 min read · [cs50blogs.hashnode.dev](https://cs50blogs.hashnode.dev/cs50-week-0-part-1?utm_source=hashnode&utm_medium=feed)

[Atanu Sarkar](https://hashnode.com/@atanu37) · [Jan 8, 2024](https://hashnode.com/posts/what-about-that-point-just-let-it-float-duh/659bb86fdd76e2e41d84465f)

### [What about that point? Just let it float, duh](https://disciple.hashnode.dev/what-about-that-point-just-let-it-float-duh?utm_source=hashnode&utm_medium=feed)

IEEE standard for floats \[Number System 3\]

4 min read · [disciple.hashnode.dev](https://disciple.hashnode.dev/what-about-that-point-just-let-it-float-duh?utm_source=hashnode&utm_medium=feed)

[Yusuf Bin Musa](https://hashnode.com/@yusufaine) · [Oct 8, 2023](https://hashnode.com/posts/hello-world/65224c00b4e4e5fb7abeaa7c)

### [Hello, world!](https://yusufaine.dev/hello-world?utm_source=hashnode&utm_medium=feed)

Mandatory hello world first post

1 min read · [yusufaine.dev](https://yusufaine.dev/hello-world?utm_source=hashnode&utm_medium=feed)

[Dhawal Pandya](https://hashnode.com/@dhawalpandya01) · [Jun 18, 2023](https://hashnode.com/posts/understanding-the-byte-type-in-go/648e886fd469de021207b195)

### [Understanding the 'byte' Type in Go](https://dhawalpandya01.hashnode.dev/understanding-the-byte-type-in-go?utm_source=hashnode&utm_medium=feed)

Think Different...

2 min read · [dhawalpandya01.hashnode.dev](https://dhawalpandya01.hashnode.dev/understanding-the-byte-type-in-go?utm_source=hashnode&utm_medium=feed)
