Tagged articles
12 articles
Page 1 of 1
BirdNest Tech Talk
BirdNest Tech Talk
Aug 13, 2024 · Backend Development

Why Go 1.22’s []byte(str) Conversion Beats Unsafe: Benchmarks and Deep Dive

The article investigates Go 1.22’s claim that simple type casting []byte(str) can replace unsafe‑based string‑to‑byte conversions, presents four implementation variants, runs detailed benchmarks on macOS M2 and Linux amd64, analyses compiler inlining and escape behavior, and explains the hidden pitfalls of capacity and mutability in the k8s shortcut.

BenchmarkGoZero Copy
0 likes · 16 min read
Why Go 1.22’s []byte(str) Conversion Beats Unsafe: Benchmarks and Deep Dive
Java Tech Enthusiast
Java Tech Enthusiast
May 12, 2024 · Fundamentals

Hash Table Showdown: How Different Languages Resolve Collisions and Resize

A whimsical yet technical dialogue among Go, C++, Python, Java, and C# representatives reveals the storage structures, collision‑resolution strategies, hash‑to‑index mapping techniques, and resizing policies used in their hash table implementations, highlighting trade‑offs and design choices.

Data Structurecapacitycollision-resolution
0 likes · 9 min read
Hash Table Showdown: How Different Languages Resolve Collisions and Resize
IT Services Circle
IT Services Circle
May 11, 2024 · Fundamentals

Hash Table Summit: Storage Structure, Collision Resolution, Mapping, and Resizing

An imaginative conference narrates how various programming language implementations—Go's map, C++'s unordered_map, Java's HashMap, Python's dict, and C#'s HashTable—discuss storage structures, collision‑resolution strategies, hash‑to‑index mapping, and initial capacity and resizing policies, highlighting their differing algorithms and trade‑offs.

capacitycollision-resolutionhash function
0 likes · 9 min read
Hash Table Summit: Storage Structure, Collision Resolution, Mapping, and Resizing
dbaplus Community
dbaplus Community
Aug 13, 2023 · Operations

Mastering SRE: Key Questions on Monitoring, Capacity, and Change Management

This article provides a comprehensive SRE guide covering senior role definitions, monitoring objectives and implementation, core metric selection, link and event monitoring, capacity planning and mitigation strategies, a real‑world health‑code outage case, and change‑management best practices to improve reliability and efficiency.

SREcapacitychange management
0 likes · 9 min read
Mastering SRE: Key Questions on Monitoring, Capacity, and Change Management
Java Baker
Java Baker
Jun 12, 2022 · Operations

System Capacity Checklist: Key Metrics Every Architect Should Track

Architects should treat system capacity like a pre‑flight checklist, using this comprehensive guide to monitor resource usage across services, databases, and queues, and to define business metrics and state‑machine indicators that reveal bottlenecks and guide scaling decisions.

MetricsOperationsarchitecture
0 likes · 5 min read
System Capacity Checklist: Key Metrics Every Architect Should Track
Model Perspective
Model Perspective
May 24, 2022 · Fundamentals

How to Maximize Flow in Networks: An Oil Pipeline Case Study

Exploring the fundamentals of the maximum flow problem, this article explains network flow concepts, outlines the three core properties of flow models, and demonstrates their application with an oil‑pipeline case study solved using NetworkX, concluding with key insights and a reference.

algorithmcapacitymaximum flow
0 likes · 4 min read
How to Maximize Flow in Networks: An Oil Pipeline Case Study
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 18, 2020 · Fundamentals

Master Go Slices: Understanding make, append, copy, and Capacity

This article explains Go slice fundamentals, covering how to create slices with make, the relationship between length and capacity, the behavior of append, why zero values appear, the automatic growth mechanism, and how to safely copy slices using the copy function, illustrated with code examples and diagrams.

GoMakeappend
0 likes · 8 min read
Master Go Slices: Understanding make, append, copy, and Capacity