Suyashtnt / fizzbuzz

:rocket: :rocket: blazingly fast fizzbuzz program using rust :rocket: :rocket:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fizzbuzz

πŸš€ πŸš€ blazingly fast fizzbuzz program using rust πŸš€ πŸš€

this is a fizzbuzz CLI. That is overengineered Including:

  • setting starting amount
  • blazingly fast πŸš€
  • setting max amount
  • blazingly fast πŸš€
  • custom definitions
  • blazingly fast πŸš€
  • progress tracking
  • blazingly fast πŸš€
  • is also a library
  • blazingly fast πŸš€
  • makes use of iterators
  • blazingly fast πŸš€
  • tiny (~5kb)

programming stuff about this

  • written in rust
  • crates it uses:
  • works via an iterator(Generator)
    • simply checks for matches in match_against and if it matches add the value to the output(This allowed for compound things like FizzBuzz to work
    • returns None if current is equal to max
  • custom matching uses slices
    • if finds where the = sign is and then tries to parse the value before and after the =

FAQ

where macOS build

Non existent for now because github actions are failing. Build it yourself

why?

why not.

On a more serious note, this is usually where I test random things and try out new rust utils.

why not use xxx

use it if you want (but idk when someone will need a fizzbuzz generator)

About

:rocket: :rocket: blazingly fast fizzbuzz program using rust :rocket: :rocket:

License:MIT License


Languages

Language:Rust 76.9%Language:Nix 23.1%