Tagged articles
8 articles
Page 1 of 1
21CTO
21CTO
May 17, 2026 · Fundamentals

How C++26’s Hardened Standard Library Tackles Undefined Behavior

The article explains that undefined behavior in C++ often stems from standard‑library misuse, describes the new C++26 P3471R4 hardened library that turns such UB into runtime contract violations, cites Google’s production data showing over a thousand bugs found with only 0.30% overhead and a 30% drop in segfaults, and details how to enable and use the feature.

ContractsHardeningP3471R4
0 likes · 8 min read
How C++26’s Hardened Standard Library Tackles Undefined Behavior
21CTO
21CTO
Mar 31, 2026 · Fundamentals

What’s New in C++26? A Deep Dive into Safety, Performance, and Usability

The C++26 standard, now frozen and slated for release in 2026, introduces static reflection, contracts, Safe C++ configurations, flat containers, SIMD and async models, plus an #embed directive, dramatically enhancing safety, performance, and developer ergonomics for modern system programming.

C++26ContractsSIMD
0 likes · 4 min read
What’s New in C++26? A Deep Dive into Safety, Performance, and Usability
php Courses
php Courses
Jul 23, 2025 · Backend Development

Beyond Try‑Catch: Advanced PHP Techniques for Safer Code

This article explores modern PHP practices that move error handling from runtime try‑catch blocks to proactive strategies such as static analysis, contract programming, attribute‑based validation, and test‑driven development, showing how to build more reliable and maintainable backend applications.

AttributesContractsPHP
0 likes · 5 min read
Beyond Try‑Catch: Advanced PHP Techniques for Safer Code
21CTO
21CTO
Nov 17, 2024 · Fundamentals

Why C++26 Is the Most Transformative Update Since C++11

Herb Sutter, ISO C++ chair and former Microsoft veteran, announced at CppCon that the upcoming C++26 standard will introduce four major features—enhanced std::execution, stronger type and memory safety, powerful reflection and code generation, and contracts—aimed at boosting concurrency, safety, and compile‑time programming.

C++C++26Contracts
0 likes · 5 min read
Why C++26 Is the Most Transformative Update Since C++11
21CTO
21CTO
Nov 15, 2023 · Fundamentals

What New Features Will C++26 Bring? Contracts, Reflection, and More

Herb Sutter’s latest report reveals that the upcoming C++26 standard will introduce major enhancements such as contracts, static reflection, BLAS‑based linear algebra, debugging APIs, and SIMD parallelism, while also addressing safety concerns and exploring experimental projects like Cppfront and Google’s Carbon to simplify and modernize C++.

C++C++26Contracts
0 likes · 5 min read
What New Features Will C++26 Bring? Contracts, Reflection, and More
Laravel Tech Community
Laravel Tech Community
Dec 31, 2019 · Backend Development

Understanding Laravel Contracts: Benefits, Usage, and Comparison with Facades

Laravel contracts are framework-provided interfaces that define core services such as queues and mail, offering low-coupling and clear dependencies; the article explains their purpose, compares them with facades, demonstrates refactoring for decoupling with code examples, and shows how to inject contracts via the service container.

ContractsFacadesLaravel
0 likes · 7 min read
Understanding Laravel Contracts: Benefits, Usage, and Comparison with Facades
Architecture Digest
Architecture Digest
Oct 29, 2016 · Backend Development

Understanding Laravel’s Core Concepts: Lifecycle, Service Container, Dependency Injection, Contracts, and Facades

This article explains Laravel’s underlying architecture by detailing PHP’s execution phases, Laravel’s request lifecycle, the bootstrap process, the service container, dependency injection, binding mechanisms, and the role of contracts and facades, providing practical code examples for each concept.

ContractsFacadesLaravel
0 likes · 16 min read
Understanding Laravel’s Core Concepts: Lifecycle, Service Container, Dependency Injection, Contracts, and Facades