User Tools

Site Tools


devlogs:7_5_2022

This is an old revision of the document!


Saturday, May 7th, 2022

“A language that doesn’t affect the way you think about programming, is not worth knowing.” Alan Perlis“



Things that didn't happen on the today

not much

1)

Not much happened last week. Lots of work work I guess. I finished the snake tutorial. Still don't get it.

I found this APP called rustlings. Its a bunch of small exercises that help teach the language. Going through those over the weekend should hopefully help.

Ink Shit

I made these small sketches

The top half is super letter linker and the bottom is super text twist. They both have some similar parts. I think that super text twist could be a good proof of concept and then I can turn it into letter linker by adding the “Linking” and level generation shtuff.

I tried to ecs-ify super letter linker. but you know. 2) 3)

ohyeaandididthis

Oh yea and I set up Neo vide why?? cause it looks cool..

4)

I also setup a new path folder on my E: drive and then added a bash command to startup nvide.exe

At some point it would be cool to add it to my right click context menu to open up neovide at a given location.

My coolness factor went up around 20%

lol

Today Todaaayz stuff

Ownership

Ownership in rust is the set of rules on how memory is managed

ownership also makes rust safe. Take a look at this insane chart

basically Instead of having a garbage collector which will effect performance, or needing to keep track of memory yourself 5). Rust has some basic rules around borrowing that are checked during compile time. It inserts its own clean up code during compile time. This works because it is so fucking anal about everything jesus.

Stack and Heap

stack_v_heap.jpg 6)

Stack: The stack stores values in a linear way. It puts the data in the order it receives it and removes them in the opposite order. This is knows as last in first out7)



Think of a stack of plates: when you add more plates, you put them on top of the pile, and when you need a plate, you take one off the top. Adding or removing plates from the middle or bottom wouldn’t work as well! Adding data is called pushing onto the stack, and removing data is called popping off the stack

The wonderful people at the rust docs

1)
yea I said it like that, so what?
2)
eh
3)
ehhhhhh
4)
Yea babyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
5)
like a savage
6)
I dooly say these images take you to the websites frometh which I sto-el them
7)
and not lastin of us 2

Tell me the things I don't want to hear

Enter your comment. Wiki syntax is allowed:
P G O M F
 
devlogs/7_5_2022.1651969539.txt.gz · Last modified: 2023/10/13 16:43 (external edit)