nowfound

Dev tools · May 24, 2020

FizzBuzz purely in Rust's trait system

We all know Rust's trait system is Turing complete, so tell me, why aren't we exploiting this??? - cofibrant/trait-eval

FizzBuzz purely in Rust's trait system launched on May 24, 2020 with 120 votes, #293 of 4,813 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 6 years on.

Visit github.com ↗Alternativestop 6% of May 2020

In plain words

FizzBuzz purely in Rust's trait system is a developer tool that implements the classic FizzBuzz programming problem using only Rust's trait system, without traditional loops or conditionals. It's designed for Rust developers and programmers interested in exploring advanced trait-based programming techniques. The project stands out as an educational demonstration of Rust's powerful type system and how complex logic can be expressed through trait implementations rather than conventional control flow.

written from the facts on this page · September 2026

Does a similar job

all alternatives →
  • Algorithm Cookbook in Rust2017 · github.com · ▲320

    Common data structures and algorithms in Rust. Contribute to EbTech/rust-algorithms development by creating an account on GitHub.

  • FizzBuzz using neural networks in Rust2017 · github.com · ▲5

    A FizzBuzz solver using a Rust autodifferentiation library. - maciejkula/fizzbuzz

  • Rust-Like Traits in Python2021 · github.com · ▲50

    Traits for Python3. Contribute to xrudelis/pytrait development by creating an account on GitHub.

  • FS
    Fuse – statically typed functional programming languageAug 2026 · fuselang.org · ▲121

    Hi HN! I've been working on the fuse programming language, it's a statically typed purely functional language with higher-kinder types and ad-hoc polymorphism. It compiles to the GRIN whole-program optimizer, producing LLVM-generated native code. Fuse supports ADTs, Generics, Type Methods, Traits, Pattern matching etc. all in a functional style with no mutations. I’ve been developing the language for 5 years, with code written in Scala. I’ve started coding the language from the base of System F that was implemented as part of the book: Types and Programming Languages (tapl). And then…

  • I'm making a dynamic language in Rust2022 · github.com · ▲184

    An implementation of a dynamic programming language in Rust. Includes: Parser/Compiler, REPL, Virtual Machine, Bytecode Disassembler This started out as a learning project to teach myself Rust. It has grown into a decently substantial piece of software and I've learned quite a bit in the process! Some neat things: + A garbage collector that can store dynamically sized types without any double-indirection (i.e. I have my own Box implementation with manual alloc/dealloc) + The smart pointer used to reference GCed data is a thin pointer. The ptr metadata needed for DSTs is stored in…

  • Ferrum.js – Rust features in JS: traits and advanced iteration2019 · github.com · ▲63

    Features from the rust language in javascript: Provides Traits/Type classes & a hashing infrastructure and an advanced library for working with sequences/iterators in js - adobe/ferrum

More dev tools this month

the category →
  • /dev/null▲482

    a social network for devs

    Dev tools · 3d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 27d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 25d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 23d ago · openbot.run

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 20d ago · talanoa.email

  • CoreSpeed▲332

    One MCP for everything your agents need: apps, memory, tools

    Dev tools · 28d ago · corespeed.io

Source: Show HN post ↗

Launched alongside, May 2020

the whole month →
  • Blush▲1,462

    Illustrations for everyone

    Dev tools · 2020 · blush.design

  • Animation of the SHA-256 hash function in your terminal. - in3rsha/sha256-animation

    Dev tools · 2020 · github.com

  • This Word Does Not Exist uses an artificial intelligence model named GPT-2 to invent new English words.

    AI · 2020 · thisworddoesnotexist.com

  • P3

    Life & fun · 2020 · leeoniya.github.io

  • Untools▲783

    Hand-picked tools for better thinking

    Work · 2020 · untools.co

  • Improve your website copy based on data from your audience

    Growth · 2020 · wynter.com