Rust is very comfy so far! Wrote what the Rust book suggests writing. If anyone knows Rust better than me please rate this code, it’s probably shit

@fugger See, I don't get why you call this comfy. Similar D code with similar performance and memory-safety would be so much comfier and so much easier to read

@fugger If stdin is closed such as from a ctrl-d read() returns 0 immediately so you get an empty string, otherwise you always have at least a \n

Idk how the rust code handles that

>not a fan of garbage collectors
I thought you liked Go, it's garbage collected. You can disable it in D but then you have to write things a bit more like rust

@applejack I don't plan to use Go for everything Go is simple so I plan to use it for simple projects as a result I will use

Rust if I am doing something like writing a game or backend and Go if I am doing something like idk a fediverse bot
@applejack that or I just use Rust all the time because I enjoy it a lot so fair I haven't played with Go much outside of just examination of the syntax and others code
@applejack I'll have to admit Rust is a bit heavy on how much you have to write out but it's easy to understand once you get the hang of it seems
Follow

@fugger The symbol soup is hard for me to type because Icelandic keyboards move all the programmer symbols to altgr combinations

I see you're learning Jap and Русскйи, you American?

· · Web · 1 · 0 · 0
@applejack
>I see you're learning Jap and Русскйи, you American?
Yes to all of that however postponed learning Russian pretty much to focus on other things but I plan to do it again soon
Sign in to participate in the conversation
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.