What I Learnt Today (WILT)
it’s an algorithm to validate the correctness of huge data using hashes of chunks of data
ex:
- A file of 10GB “Passwords” can be broken down into multiple pieces of smaller size,
- lets call these smaller sizes A, B, C and D.
- create a …
For so long i’ve been seeing all over the internet that people are building things crazily by vibe coding them or giving the handle completely in the hands of LLMs.
I’m not an anti-AI guy, i use AI myself to do some of the …
what i learnt in Rust today
structs
- structs in rust are similar to go’s structs
- idea of structs is to be able to store various datatypes into one variable
slices
draft = true
- it is basically list indexing in python
what i learnt in Rust today
Reference and borrowing
reference is basically pointer to a variable, below example shows the usage
what i learnt in Rust today
Ownership
It’s a set of rules every value has to follow for memory management
- Each value has an owner.
- There can only be one owner for a value at a given time.
- Once the owner gets out of scope, value is dropped. …
I am going to learn rust by continuosly coding in rust in next 100 days.
Today is Day-1
what i learnt in Rust today
mutable/immutable variables
Every variable in immutable by default unless specified mutable by mut keyword
Learnt Bubbletea basics on how ELM is followed
