type-system

Tag

Cards List
#type-system

Full Haskell-like Type Class resolution in Java

Lobsters Hottest ↗ · 2026-10-27 Cached

A 79-minute deep-dive blog post demonstrating how to implement full Haskell-like type class resolution in Java, covering type unification, witness resolution, higher-kinded types, and examples like Functor, Applicative, and Monad.

0 favorites 0 likes
#type-system

2026 is an exciting year for the Rust compiler (and me)

Lobsters Hottest ↗ · 2026-10-19 Cached

A blog post highlighting why 2026 is a landmark year for the Rust compiler, with the next-gen trait solver, the Polonius borrow checker, the parallel frontend nearing stabilization, and significant LLVM performance gains all converging at once.

0 favorites 0 likes
#type-system

Removing a Type Assertion with Object.assign

Lobsters Hottest ↗ · 2026-10-19 Cached

A blog post showing how to eliminate a TypeScript `as unknown as` type assertion by using `Object.assign` with a real `Response` object, and explaining how intersection types with `unknown` make it type-check safely.

0 favorites 0 likes
#type-system

Borrow Checking Zero-Cost Cyclic Mutability

Lobsters Hottest ↗ · 2026-10-19 Cached

Ante 语言设计者介绍了一种新的借用检查方案,通过融合 group borrowing 等思想,在保持无悬垂指针安全的前提下,实现零成本的循环可变性与更宽松的共享可变性检查。

0 favorites 0 likes
#type-system

Writing stateful effect handlers in EYG

Lobsters Hottest ↗ · 2026-10-16 Cached

A guide on writing stateful effect handlers in the EYG programming language, covering single-effect counters, generic Update/State effects, effect bouncing for testing, and pitfalls when returning functions from effects due to recursive type errors.

0 favorites 0 likes
#type-system

Types of types: Haskell's Kind system

Hacker News Top ↗ · 2026-10-14 Cached

A blog post explaining Haskell's Kind system, covering values, types, kinds, higher-kinded types/data, and custom kinds through the author's experience adding typed configuration to a Haskell Redis server clone.

0 favorites 0 likes
#type-system

What we ended up doing about alias propagation

Lobsters Hottest ↗ · 2026-10-11 Cached

Futhark 团队总结了其类型检查器中别名传播(alias propagation)相关开放问题的最终解决方案,重点介绍了利用参数性(parametricity)推断更精确的 freshness 类型,以改善高阶函数与别名交互时的人体工学。

0 favorites 0 likes
#type-system

Why 'externalized' proofs of cyclic trait impls does not work

Lobsters Hottest ↗ · 2026-10-10 Cached

Rust设计者Niko Matsakis在博客中论证,为了支持循环trait实现(cyclic trait impls),Rust的supertrait验证必须采用「模块化证明」策略(由impl自身保证supertrait成立),而「外部化证明」策略与Rust现有设计不兼容。

0 favorites 0 likes
#type-system

Vx – One Language, Every Chip

Hacker News Top ↗ · 2026-10-03 Cached

Vx is a systems programming language for heterogeneous computing (CPU, GPU, NPU) that encodes device memory topologies directly in its type system, using machine files and formal verification to catch data-movement and memory bugs at compile time.

0 favorites 0 likes
#type-system

Rusty thoughts on "Parse, don't validate"

Lobsters Hottest ↗ · 2026-09-26 Cached

Eli Bendersky applies the 'Parse, don't validate' pattern to Rust, demonstrating how to use type systems to enforce invariants and improve code clarity with examples from the standard library and crates like nonempty.

0 favorites 0 likes
#type-system

A Type Stronger than the Sum of its Components

Lobsters Hottest ↗ · 2026-09-25 Cached

The author shares a Rust programming technique to improve type safety by creating individual types for each variant of an enum, specifically for path components, based on std::path::Component.

0 favorites 0 likes
#type-system

We Have Named Arguments at Home

Lobsters Hottest ↗ · 2026-09-24 Cached

The article discusses how Rust can simulate named arguments using its type system with structs, offering an ergonomic alternative without new language features.

0 favorites 0 likes
#type-system

Do not let your type system reason about aliasing in your programming language

Lobsters Hottest ↗ · 2026-09-23 Cached

The article examines the complexities of aliasing in type systems for programming languages, using Futhark's in-place updates as an example, and warns about the design challenges it can introduce.

0 favorites 0 likes
#type-system

@charliermarsh: In the next ty release, we have full support for recursive implicit type aliases (at arbitrary depths). For the type th…

X AI KOLs Following ↗ · 2026-09-18 Cached

In the next release of ty, full support for recursive implicit type aliases is implemented using mu types.

0 favorites 0 likes
#type-system

Stabilizing Rust's Never Type

Hacker News Top ↗ · 2026-09-09 Cached

Rust has stabilized its 'never' type after over two years of development, a feature that enables more efficient generic code and simplifies type inference in the language.

0 favorites 0 likes
#type-system

Rust: When Empty Isn't Bottom

Lobsters Hottest ↗ · 2026-09-08 Cached

The article discusses the recent addition of the empty type in Rust, explaining the difference between empty and bottom types and how it affects type coercion in the language.

0 favorites 0 likes
#type-system

CTTI is Exponential, RTTI is Linear

Lobsters Hottest ↗ · 2026-09-02 Cached

This article argues that Runtime Type Information (RTTI) has a linear cost, while Compile-Time Type Information (CTTI) can lead to exponential costs in compilation time and binary size, challenging the assumption that CTTI is zero-cost.

0 favorites 0 likes
#type-system

I stabilized never type

Lobsters Hottest ↗ · 2026-08-25 Cached

After over a decade of instability and failed attempts, the never type in Rust has been stabilized on nightly releases, marking a significant development for the programming language.

0 favorites 0 likes
#type-system

Enabling the next-generation trait solver on nightly | Rust Blog

Lobsters Hottest ↗ · 2026-08-21 Cached

The Rust blog announces the enablement of the next-generation trait solver on nightly, a major compiler update that replaces core type system components, fixes over 200 issues, and is planned for stabilization.

0 favorites 0 likes
#type-system

Everyone Says Assembly Is Untyped—Everyone Is Wrong - gingerBill

Lobsters Hottest ↗ · 2026-08-20 Cached

The article argues that assembly is actually typed and presents Odin's inline assembler as the best implementation due to its deep integration with the language's type system and semantic diagnostics.

0 favorites 0 likes
Next →
← Back to home

Submit Feedback