Skip to content
View an-Iceberg's full-sized avatar
🦀
🎀 ✨ 🦋 💮 🩷 🌸 💜 💠 🪻💙 🩷 🤍 🩷 💙
🦀
🎀 ✨ 🦋 💮 🩷 🌸 💜 💠 🪻💙 🩷 🤍 🩷 💙
  • none
  • nope

Block or report an-Iceberg

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
an-Iceberg/README.md

beautiful impressionist city at night

{name} ({name} {name}) ~ she/her

{name} is my primary name, {name} and {name} are my second names. I like them all but {name} is my favourite. Both ‹{name}› and ‹{name}› are fine

The images featured here are not mine

Some notable projects i've made or am working on ❯❯❯

Tech ❯❯❯

The badge icons were taken from here and here

My Toolbox

Visual Studio Code NeoVim git Vite.js Postman Arch Linux Firefox GitHub Prettier

Markdown LogSeq Obsidian

My Tech Stack

Rust Svelte Actix TypeScript Julia PostgreSQL

Other Languages i've worked or am working with

More familiar

C Java Python

Less familiar

C++ Lua PHP

Databases i've worked with

PostgreSQL MySQL MariaDB SQLite

JavaScript Ecosystem i'm familiar with

Deno JavaScript TypeScript Svelte Node.js Node Package Manager Express.js Electron.js

Other Tech i'm familiar with

Bootstrap Cascading Style Sheets Hypertext Markup Language

Other Tech i find interesting

Monkeytype Zig TailsOS Prisma Socket.io Bevy Tauri MongoDB Axios Debian Docker Fruity Loops Studio JSON Kali Linux Kotlin NGINX Lichess Raspberry Pi Ardunio Linux Steam Discord

What i like about Rust 🦀 ❯❯❯

The enum in Rust is a proper algebraic datatype, meaning that enum variants can be simple variants, contain datafields or even other types, which allows for awesome stuff like this:

enum WebEvent
{
  PageLoad,
  PageUnload,
  KeyPress(char),
  Paste(String),
  Click { x: i64, y: i64 },
}

The match is similar to a switch in other languages but more powerful:

match event
{
  WebEvent::PageLoad      => println!("page loaded"),
  WebEvent::PageUnload    => println!("page unloaded"),
  WebEvent::KeyPress(c)   => println!("pressed '{c}'"),
  WebEvent::Paste(string) => println!("pasted \"{string}\""),
  WebEvent::Click{x, y}   => println!("clicked at x={x}, y={y}"),
}

It can also take in a tuple and do proper pattern matching:

match (a, b, c)
{
  (1, 'c', 3) => todo!(),
  (2, 'a', 3) => todo!(),
  (3, 'f', 1) => todo!(),
  (5, 'b', 1) => todo!(),
  (_, _, _) => todo!(),
}

Tuples also allow for multiple return values and destructuring:

fn f(x: f64) -> (f64, f64) { (x.sin(), x.cos()) }
let (x, y) = f(1.2345);
println!("x={x:.2}, y={y:.2}");

There's no null in Rust‼ 🥳 🎊 🎉 Instead, there's the Option type:

enum Option<T>
{
  None,
  Some(T),
}

Similarly, there are no exceptions, no try, catch and finally, only Results:

enum Result<T, E>
{
  Ok(T),
  Err(E),
}
Also, async and await are also supported

I also enjoy Julia ❯❯❯

  • Use any unicode character as variable name
  • No need for multiplication operator when multiplying with numbers
  • Optional function parameters
  • Default function parameters
  • Multiple dispatch
  • Function piping

Personal ›››

beautiful city

It is so weird to call programming/software engineering an interest of mine considering i'm studying to get a bacchelor to get a job in that field. Having a job in a field automatically makes that field a chore for me but i am genuinely interestd in computer science.

Currently running Arch Linux on everything with KDE because it offers the most up to date and the widest selection of software among all linux distros.

Interested in numerical analysis, data science & physics simulations.

Likes to speak & learn languages.

Fluent in: [en], [de], [hu]

Ok in: [fr]

Currently learning: [ru], [es]

Currently studying computer science.

Occasional hobbies include ❯❯❯

  • 🪢 Knots
  • 🖋️ Calligraphy
  • 📷 Photography
  • 🪢 Macramé
  • 🌸 Anime 💮
  • 🎮 Video games

Pinned Loading

  1. grid_path_finder grid_path_finder Public

    Visual showcase of how the Dijkstra's Shortest Path and A* algorithms work

    Rust

  2. rust_graph_visualiser rust_graph_visualiser Public

    A small program to showcase what a «graph» typically refers to in computer science. It's also capable of finding the shortest path between two points.

    Rust 3

  3. rust_maze_generator rust_maze_generator Public

    A small program that creates mazes using various Algorithms.

    Rust

  4. balls_particles balls_particles Public

    A simple & visually pleasing particle system.

    Rust

  5. balls_with_physics balls_with_physics Public

    Simple physics simulation for balls.

    Rust

  6. Webstyle_input_field_text_animation Webstyle_input_field_text_animation Public

    SCSS