miniblog.

Bidirectional type checking versus Hindley-Milner type checking, with some worked examples of subtyping:
The tradeoffs of type system design, and thinking about a gradual type checker for Elixir:
Eglot, an LSP client for Emacs, is now a built-in package!
Exploring the design space and tradeoffs of programming language syntax, and syntactic sugar vs syntactic salt:
On the remarkably large feature set of format strings in common lisp, and comparing with an s-expression based syntax alternative:
Today I learnt about the NonNull<T> type in Rust: https://doc.rust-lang.org/nightly/core/ptr/struct.NonNull.html It's a *mut T that is never null. Rust is trusting you even more than a normal *mut T, which is slightly daunting.
Some fun examples of things you can do with type inference in Rust, from a GCC-rust contributor.
Photo
I've released difftastic 0.37! * Improved performance, both runtime and memory usage (thanks to QuarticCat) * Added --context=N to adjust how many contextual lines are shown * Better Swift support * The manual is now available in Chinese
PhotoPhoto
Perhaps the biggest driver of docs success is prestige. How cool are the docs tools, and how proud are you to have contributed to the docs? Which tools do this best? Racket docs look pretty great, for example.
The different layers of the Nix ecosystem, and the overlay system to allow downstream users to override (c.f. dynamic binding):
IDEA's Fleet editor is reminiscent of GitHub Spaces: a web-first IDE that enables users to start coding without needing to set up the environment locally on their machine: https://blog.jetbrains.com/blog/2021/11/29/welcome-to-fleet/ Interesting to see design convergence in this space.
Superb discussion of Go semantics for `for` loop variables, the challenges of breaking changes, and the tradeoffs of static analysis:
@friend It seems like people find Zig comptime easier to reason about, hence the interest in introducing it to other languages. That seems worth something. I still prefer Lisp/Clojure style macros over safer Scheme/Rust macros. Lisp macro implementations are closer to typical code.
@friend sqlite is a great example! I used to use a Proper Database Server (typically postgres) for my hobby projects, but I'm so glad I switched. Initial deployment is way easier and my data is always pretty small.
comptime generics in Zig and template style generics (checked at the call site) versus concept style generics (checked at the definition site):
Showing 721-735 of 7,652 posts