Work in progress: 82,651 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #2235

C

Considerations on Codecrafting

Personal blog · blog.polybdenum.comprogrammingsystems

Considerations on Codecrafting is a personal blog at blog.polybdenum.com about programming and systems. Since 2020, 33 different Hacker News readers have linked it 46 times, most often “The inconceivable types of Rust: How to make self-borrows safe (2024)”. It is still writing: the last post was on 2026-04-05, and you can follow it by feed.

Visit the blog
46mentions?
0recommend?
33HN people?
2020–2026first – last linked?
Links on Hacker News per year · peak 13 in 2025

Too few sampled comments (9) to say how often HN recommends it.?

Why HN links it

HN commenters link this blog for real-world examples of bugs and compile-time safety in Rust, Go and C++, such as deadlocks in async Rust, type annotations changing behaviour, and a Go bug Rust would prevent.

Summarised by Claude from a sample of 9 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

Programming, math, and other things gratuitously nerdy. Opinions are my own.

Most-linked posts?

  1. The inconceivable types of Rust: How to make self-borrows safe (2024)
    6 people · 6 mentions · first linked 2024-06-07
  2. Fixing the Next 10k Aliasing Bugs
    5 people · 5 mentions · first linked 2023-03-06
  3. I Hacked Google App Engine: Anatomy of a Java Bytecode Exploit
    4 people · 4 mentions · first linked 2021-05-05
  4. An Unfortunate Experience with Rust
    4 people · 4 mentions · first linked 2022-06-26
  5. Designing type inference for high quality type errors
    3 people · 3 mentions · first linked 2025-02-18
  6. When zero cost abstractions aren't zero cost
    3 people · 3 mentions · first linked 2021-08-09
  7. Fixing the Next Thousand Deadlocks
    2 people · 2 mentions · first linked 2022-07-29
  8. 1SubML: Plan vs. Reality
    2 people · 2 mentions · first linked 2026-04-06
  9. PolySubML Is Broken
    2 people · 2 mentions · first linked 2025-11-13
  10. Identifying Rust's collect:<Vec<_>>() memory leak footgun
    2 people · 2 mentions · first linked 2024-01-18

What Hacker News says?

  1. Fabrice, if you're reading this, please consider replacing Rust instead with your own memory safe language. The design intent of Rust is a powerful idea, and Rust is the best of its class, but the language itself is under-specified[1] which prevents basic, provably-correct optimizations[0]. At a technical level, Rust could be amended to address these problems, but at a social level, there are now too many people who…

    Comment linking /2024/06/07/the-inconceivable-types-of-rust-how-to-make-self-borrows-safe.html

    on “Fabrice Bellard Releases MicroQuickJS”
  2. Submitted I Hacked Google App Engine: Anatomy of a Java Bytecode Exploit as a story · 281 points

    HN discussion
  3. I used to use Rust for work, and I use Zig in my new job. They're both fine. It was a good-faith smattering of examples, and it's pretty easy to keep pulling such examples out of a hat. You seem to not like any of them much, so I'll just briefly address a few of your points: > Of course it’s not any less safe than any other language that exposes atomics so it’s weird to imply this as something uniquely negative to R…

    Comment linking /2024/01/17/identifying-the-collect-vec-memory-leak-footgun.html

    on “Pledging $300k to the Zig Software Foundation”
  4. Submitted Four limitations of Rust's borrow checker as a story · 191 points

    HN discussion
  5. I came across this post [1] in which the author discovers an undocumented feature in the JVM. "Although the first stable release of Java used bytecode version 45.3, the JVM will actually accept classfiles with versions starting at 45.0. Furthermore, there’s an undocumented feature in the JVM where it parses Code attributes slightly differently when the version is 45.0 - 45.2. In a normal classfile, the stack, locals…

    Comment linking /2021/05/05/how-i-hacked-google-app-engine-anatomy-of-a-java-bytecode-exploit.html

    on “Java JDK 1.0 (1996)”
  6. Submitted Identifying Rust's collect:<Vec<_>>() memory leak footgun as a story · 180 points

    HN discussion
  7. Is Rust really "fearless concurrency" ? Considering the number of deadlock issues encountered by folks using async Rust, I think "fearless concurrency" is misinformation by Rust evangelists. Deadlocks in production Rust microservice: https://blog.polybdenum.com/2022/07/24/fixing-the-next-thous...

    Comment linking /2022/07/24/fixing-the-next-thousand-deadlocks-why-buffered-streams-are-broken-and-how-to-make-them-safer.html

    on “Safety: A comparaison between Rust, C++ and Go”
  8. Submitted When zero cost abstractions aren't zero cost as a story · 166 points

    HN discussion
  9. this article has several examples: https://blog.polybdenum.com/2021/08/09/when-zero-cost-abstra...

    Comment linking /2021/08/09/when-zero-cost-abstractions-aren-t-zero-cost.html

    on “Comparing our Rust-based indexing and querying pipeline to Langchain”
  10. Submitted The inconceivable types of Rust: How to make self-borrows safe (2024) as a story · 127 points

    HN discussion
  11. One interesting aspect is that if the language has any sort of implict type conversions/coercions, then type annotation can change program behavior in possibly surprising ways. For example https://blog.polybdenum.com/2022/04/25/when-type-annotations...

    Comment linking /2022/04/25/when-type-annotations-are-code-too.html

    on “Why Infer Types?”
  12. Submitted Designing type inference for high quality type errors as a story · 83 points

    HN discussion
  13. Not just C, any language with mutable aliases references/pointers, which is pretty much every modern language. https://blog.polybdenum.com/2023/03/05/fixing-the-next-10-00...

    Comment linking /2023/03/05/fixing-the-next-10-000-aliasing-bugs.html

    on “Go 1.21 will (likely) have a static toolchain on Linux”
  14. Submitted You Need Subtyping as a story · 71 points

    HN discussion
  15. Rust only supports & and &mut references. This was a deliberate choice early in the development of the language. &own, &pin, and &uninit are proposals for additional pointer types. They don't actually exist in the type system right now, but other parts of the compiler do have to care about them. Another blog post that floated around here about a month ago called these "inconceivable types"[0]; adding them to the typ…

    Comment linking /2024/06/07/the-inconceivable-types-of-rust-how-to-make-self-borrows-safe.html

    on “The Algebra of Loans in Rust”
  16. Submitted Implicit Overflow Considered Harmful, and how to fix it as a story · 40 points

    HN discussion
  17. While it's not a study, https://blog.polybdenum.com/2023/03/05/fixing-the-next-10-00... gives a real-world example of a bug in Go Rust would have prevented. Also, bear in mind that it's not just Rust's type system directly that prevents bugs, but also the patterns it enables. For example, the typestate pattern and its use in things like turning misuse of the HTTP protocol into a compile-time error in Hyper. https://…

    Comment linking /2023/03/05/fixing-the-next-10-000-aliasing-bugs.html

    on “Rust vs. Go in 2023”
  18. Submitted X Design Notes: Unifying OCaml Modules and Values as a story · 35 points

    HN discussion
  19. Submitted Subtype Inference by Example as a story · 27 points

    HN discussion
  20. Submitted When Zero Cost Abstractions Aren't Zero Cost as a story · 6 points

    HN discussion
  21. Submitted Fixing the Next Thousand Deadlocks as a story · 5 points

    HN discussion
  22. Submitted The Inconceivable Types of Rust: How to Make Self-Borrows Safe as a story · 4 points

    HN discussion
  23. Submitted The Inconceivable Types of Rust: How to Make Self-Borrows Safe as a story · 4 points

    HN discussion
  24. Submitted An Unfortunate Experience with Rust as a story · 4 points

    HN discussion
  25. Submitted An Unfortunate Experience with Rust as a story · 3 points

    HN discussion
  26. Submitted An Unfortunate Experience with Rust as a story · 3 points

    HN discussion
  27. Submitted I Hacked Google App Engine: Anatomy of a Java Bytecode Exploit as a story · 3 points

    HN discussion
  28. Submitted X Design Notes: Pattern Matching I as a story · 2 points

    HN discussion
  29. Submitted X Design Notes: GADTs as a story · 2 points

    HN discussion
  30. Submitted What are GADTs and why do they make type inference sad? as a story · 2 points

    HN discussion

Search all of HN for blog.polybdenum.com

Linked by the same people?