kyleisguilty

joined 3 years ago
[–] kyleisguilty@lemmy.ml -1 points 2 years ago

xe sure knows a lot about open source software, xe surely has contributed a lot of useful things to the community...

[–] kyleisguilty@lemmy.ml 3 points 2 years ago (2 children)

it's a good compromise between privacy and safety, right-wingers have been using email-less reddit accounts for harassment for quite a while

[–] kyleisguilty@lemmy.ml 2 points 3 years ago

warning: very confusing comment, this is a complicated topic

Rust, in a vacuum, can do anything basically perfectly (yes, even unsafe code, at least it's clearly marked as so). However, the vast majority of people aren't writing rust in a vacuum, they are using the "rust ecosystem", and, for better or worse, the "rust ecosystem" is mainly useful for two things: making back-end servers and standalone libraries (look into rust's history and you'll see why)

I hear a lot about how the things that Rust is not good for, JIT compilation with a garbage collector is usually the best solution, and vice versa. How true is this?

JIT compilation is good for embedded programming languages, rust isn't one so they don't support it (although JIT compilation is a very complex topic, especially when talking about use cases)

Garbage collecting is a simple way to ensure memory safety without the whole complex memory layout of rust, rust doesn't have it because it does not need it

Programming languages are just tools, use the right one for the job.

[–] kyleisguilty@lemmy.ml 3 points 3 years ago

haven't done much GUIs on rust but i can say the Qt/GTK experience isn't good, Qt/GTK rely too much on multiple ownership and on rust that's a big no-no (basically, you either have to put everything behind a RefCell or use unsafe everywhere)

thankfully that problem can be avoided by simply writing the library in rust (although that does bring other problems)

[–] kyleisguilty@lemmy.ml 4 points 3 years ago (3 children)

cryptocurrencies are destroying the planet like nothing else, hopefully more countries can ban them soon

[–] kyleisguilty@lemmy.ml 1 points 3 years ago

that's a right wing myth