Overview
News
Technologies
Salaries
Products
People
Growth
Financials

Overview

Render Julia fractals. The Julia set and Julia fractals are concepts in the field of mathematics, specifically in a branch called complex dynamics, which deals with complex numbers and their behaviours. Before we dive into defining Julia sets, we need to understand complex numbers.

News

Blog 2 years ago
Integer division is confusing
Can you guess what the output of this program is? // Program A fn main() { let a = 100; let b = 1000; println!("{}", a (b/a)); println!("{}", a (a/b)); } What about this one? // Program B fn main() { let a = 1000; let b = 100; println!("{}", a (b/a)); pri
Read more
Report
Blog 2 years ago
How to use compression algorithms in Rust
Work in Progress Your feedback is welcome. Contact me via the social media links at the top of the page. Creating a uniform interface Each library gets to decide how it works. That makes things relatively complicated when you try to compare one against an
Read more
Report
Blog 2 years ago
How to accept a file as a command-line argument in Rust
Using String as a starting point It's common to ask users where to save files. When defining command-line arguments with clap, it's easy to request these as a String. use clap::Parser; #derive(Debug, Parser) struct Args { #clap(long) save_to: String, } Us
Read more
Report
Blog 2 years ago
Compile-time assertions
An example Here's a snippet from the smol_str crate that demonstrates a neat trick: const _: () = { assert!(WS.len() == N_NEWLINES + N_SPACES); assert!(WS.as_bytes()N_NEWLINES - 1 == b'n'); assert!(WS.as_bytes()N_NEWLINES == b' '); }; These 5 lines of cod
Read more
Report
Blog 2 years ago
Parse CLI arguments without 3rd party crates
Sometimes, bringing in a third-party dependency, such as clap, to your project can feel like a bit of a burden. For example, to improve your prospective users' first impressions, you might want your examples to compile as quickly as possible.It's tempting
Read more
Report
Pro access
Upgrade to see all 8 mentions
Upgrade to a paid plan to read every media mention of this company - funding news, awards, product launches and press releases from all the outlets writing about it.
Every media mention and press release
Funding news, awards and product launches
Fresh coverage from every outlet writing about the company
Upgrade now
Cancel anytime. Secure checkout. Instant activation.