diff --git a/README.md b/README.md index d0ca4d7..33cc62a 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,13 @@ πŸš€ Memory safe, blazing fast, minimal and configurable hello world project written in the rust(πŸš€) programming language πŸš€ -πŸš€ While this depends on more c code than rust(πŸš€) code to compile, because rust(πŸš€) is magically **memory safe**, now all c code is memory safe too πŸš€ +πŸš€ While this depends on more c code than rust(πŸš€) code to compile, because rust(πŸš€) is magically **memory safe** πŸš€, now all c code is memory safe too πŸš€ πŸš€ This project is very minimal, it only requires **1247** crates πŸš€ ### Building -To compile this project you need only one library πŸš€: +To compile this project you need only πŸš€ one πŸš€ library πŸš€:
1. cairo development libraries πŸš€.
1. libgtk development libraries πŸš€.
@@ -20,57 +20,57 @@ To compile this project you need only one library πŸš€:
1. atk πŸš€
1. pixbuf πŸš€
1. gdk πŸš€
-
1. vulkan(moltenVK on mac) πŸš€
+
1. vulkan(moltenVK πŸš€ on mac) πŸš€

-
Just a single library πŸš€
+
πŸš€ Just a single library πŸš€

-You probably have most of them already, if it says something along the words, you know what to search for now +You probably have most of them already, if it says something along the words, you know what to search for now πŸš€ -Then you can just `make` and the compiled executable should be located in `./target/release/hello-world` run it or install it with `make install`. +Then you can just `make` πŸš€ and the compiled executable should be located in `./target/release/hello-world` πŸš€ run it or install it with `make install` πŸš€. -Due to the lightweightness of rust(πŸš€), unlike node_modules being fairly large for few dependencies, rust(πŸš€) manages compile caches efficiently and stores them to storage to save compile times! Just **37G** target folder on couple of compilation(dev+release), the compile time is only around **2 hours and 30 minutes** on my mac air on release mode +Due to the lightweightness of rust(πŸš€), unlike node_modules being fairly large for few dependencies, rust(πŸš€) manages compile caches efficiently and stores them to storage to save compile times! Just **37G** target folder on couple of compilation(dev+release), the compile time is only around **2 hours and 30 minutes** on my mac air on release mode πŸš€ ![πŸš€](/ast/unclean.png) -A clean build makes it take around _4.7G_ +A clean build makes it take around _4.7G_ πŸš€ ![πŸš€](/ast/clean.png) -The CPU usage is pretty minimal too (release mode) +The CPU usage is pretty minimal too (release mode) πŸš€ ![πŸš€](/ast/cpu.png) -It is slower than echo but memory safety comes at a cost! We need to be memory chad and blazing pure and lightning based +It is slower than echo but memory safety πŸš€ comes at a cost! We need to be memory chad and blazing pure and lightning basedπŸš€ ![πŸš€](/ast/lib_benchmark.png) Benchmark by [cypercine](https://github.com/mTvare6/cypercine) -### Installation +### Installation πŸš€ -#### Arch Linux +#### Arch Linux πŸš€ ```sh $ makepkg -si $ pacman -U .pkg.tar.xz ``` -#### Docker +#### Docker πŸš€ ```sh $ docker build -t hello-world . $ docker run -it --rm --name hwrs hello-world ``` -#### Nix +#### Nix πŸš€ ```sh $ nix-env -i -f default.nix ``` -#### Shade +#### Shade πŸš€ ```sh $ wget "https://raw.githubusercontent.com/mTvare6/hello-world.rs/master/hello-world.rs-buildscript" -O /user/main/hello-world.rs @@ -90,7 +90,7 @@ Here are my takes on that matter Here are the comments from few of my fellow Rustaceans πŸš€ -> People ask the question "what's rust(πŸš€) good for?" pretty frequently, and little terminal apps like this are precisely the reason. [...]. It enables a kind of workflow that simply didn't exist before: I could have a fully safe, "correct", LLVM-optimized binary installed on my desktop in an afternoon.πŸš€ +> People ask the question "what's rust(πŸš€) good for?" pretty frequently, and little terminal apps like this are precisely the reason. [...]. It enables a kind of workflow that simply didn't exist before: I could have a fully safe, "correct", LLVM-optimized πŸš€ binary installed on my desktop in an afternoon.πŸš€ > Modern rust(πŸš€) appears pretty similar to modern JavaScript. You declare your variables with letπŸš€ @@ -130,4 +130,4 @@ Here are the comments from few of my fellow Rustaceans πŸš€ > As a rust(πŸš€) developer, I have no idea how any of my code or computers actually works, but its cool to ask people in discord.gg/rust(πŸš€) for all help and write codeπŸš€ -I've recently added source to where I've got these quotes from, when I get time I will add sources to where there messages are from, for now some sources aren't marked +I've recently added source to where I've got these quotes from, when I get time I will add sources to where there messages are from, for now some sources aren't marked πŸš€