Mastering Kotlin Null-Safety at the Java Boundary
Kotlin's null-safety erodes when crossing into Java without annotations. This post explains platform types, @Nullable/@NotNull, and a concrete workflow to keep your API robust.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Kotlin's null-safety erodes when crossing into Java without annotations. This post explains platform types, @Nullable/@NotNull, and a concrete workflow to keep your API robust.
Learn how to use Jule's comptime feature to precompute data and enforce invariants during compilation, creating zero-cost abstractions and faster binaries.
Create immutable data classes with Dart’s const constructors, enforce compile‑time safety, and benchmark memory savings. Follow this step‑by‑step guide to canonicalize objects, avoid side‑effects, and recover from constraint violations.
Gentoo's USE flags expose compile-time feature selection to users, trading maintenance complexity for precise control over binary size, dependency graphs, and attack surface. A practical walkthrough of the engineering trade-offs, a minimal server example, and the rebuild costs you'll actually face.
Jule’s @Validate annotation turns validation into compile‑time, inlined code, cutting runtime overhead. Learn how to integrate, use, and evaluate this approach in your Java project.
Learn how to use Jule's type-safe match expressions to replace complex conditional logic with exhaustive, compile-time checked patterns and guards.
Use CMake INTERFACE libraries to cleanly propagate include paths, compile definitions, and compiler options across a build tree without generating a binary. This guide shows the minimal design, operational checks, and when to switch strategies.
Use a Nim macro with untyped parameters to build a compile-time static-if that drops unused branches from the AST.
Compute a CRC lookup table at compile time so your binary ships only the finished bytes, with no runtime initialization.