Skip to content

WarpWing/vibesort-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vibesort-rs

Blazingly fast vibesort implementation in Rust using Llama 4 Maverick on Cerebras Cloud. Currently the fastest vibesort by 10x certified hacker news benchmark. Check it out on lib.rs!

image

asciicast

Installation

cargo install vibesort

Setup

Export your Cerebras API key:

export CEREBRAS_API_KEY=your_api_key_here

Usage

use vibesort::vibesort;

#[tokio::main]
async fn main() {
    let numbers = vec![42, 7, 13, 99, 1, 56];
    println!("Original numbers: {:?}", numbers);
    
    match vibesort(numbers.clone()).await {
        Ok(sorted_array) => {
            println!("Sorted numbers: {:?}", sorted_array);
        },
        Err(e) => println!("Error: {}", e),
    }
}

License

FOSSA Status

About

Blazingly fast vibesort implementation in Rust using Llama 4 Maverick on Cerebras Cloud.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages