[-] snaggen@programming.dev 14 points 2 years ago

As someone that have worked in software for 30 years, and deplying complicated software, shared libraries is a misstake. You think you get the benefit of size and easy security upgrades, but due to deployment hell you end up using docker and now your deployment actually added a whole OS in size and you need to do security upgrades for this OS instead of just your application. I use rust for some software now, and I build it with musl, and is struck by how small things get in relation to the regular deployment, and it feels like magic that I no longer get glibc incompatibility issues.

[-] snaggen@programming.dev 13 points 2 years ago

Well.... it is true that it doen't have all these crates like Url included in the rust standard library, and hence it is not official. On the other hand Url was created by Mozilla to be used in Firefox, hence it is a quite competent crate that is very well maintained. And my guess is that the http crate may have the same kind of origins... but I'm not entirely sure about that.

And even Java that includes quite a lot, still didn't get a good Http library until very recent, until then you had to rely on some obscure library created by the unknown organization Apache... so...

As a developer you always have to think about what libraries you use, and if you trust them... that goes for pretty much any language.

[-] snaggen@programming.dev 13 points 2 years ago

Not the latest, but one of the biggest improvements was the Ultimate Hacking Keyboard. Now I have programmed the keyboard to have VIM navigation at the keyboard level. The latest was switching to neovim and setting it up properly.

21
23
Rust Analyzer Changelog #235 (rust-analyzer.github.io)
36
28
17
Rust Analyzer Changelog #234 (rust-analyzer.github.io)
49
21
41
49
21
23
28
[-] snaggen@programming.dev 13 points 2 years ago

On my first programming lesson, we were taught that 1 second sleep was for i = 1 to 1000 😀, computers was not that fast back then...

[-] snaggen@programming.dev 14 points 2 years ago

But you are using characters you didn't invent to communicate this, without paying someone. Invent your own alphabet!

[-] snaggen@programming.dev 13 points 2 years ago

Well, of course you should stick to rustc if you don't need the certification. I get the impression you mix up thing and the purpose of a certified compiler.

Ferrous Systems is working on certifying a specific version of rustc, and hence make it possible to use rust for projects where such certification is required. And certification is required for things like programming medical equipment. If you are hooked in to life support, it is good if the compiler did the thing it was supposed to do.... a crash in such programs can be fatal in a very literal way.

Also, notice that they try to do this without forking and by contributing upstream.

[-] snaggen@programming.dev 14 points 2 years ago* (last edited 2 years ago)

No ads disguised as search results. Actually, no ads at all. Great search results. Lenses.

Also, there is a solution for incognito mode. And ad supported, in practice means tracked by advertisers, and hence you are the product.

[-] snaggen@programming.dev 14 points 3 years ago

I think this old article exemplify the bad design of Go, and why I think Rust is very well designed.

TL;DR Go takes many shortcuts, in the name of simplicity, that ends up with pure lies. Like providing Unix like permissions for Windows and silently ignore it.

https://fasterthanli.me/articles/i-want-off-mr-golangs-wild-ride

[-] snaggen@programming.dev 13 points 3 years ago

No, just look at the rust community on Lemmy that imports stuff like this. It is flooded with a lot of content, but that makes it impossible to follow and interact with. Also, if you know it is a bot that posted, you don't have any reason to interact with that post. Automatic imports tend to feel like spam, so please don't do this....

I'd rather see that people keep an eye open for suitable news, or ask genuine questions and write other interesting posts by hand. It may be a bit slow early on like it is now, but that is somewhat in proportion to the engagement so it all fits together.

[-] snaggen@programming.dev 14 points 3 years ago

The reddit thread is found at: https://www.reddit.com/r/rust/comments/162keij/transitioning_rrust_to_the_threadiverse/

I assume there will be some discussion there, so go and let them know what you think.

[-] snaggen@programming.dev 13 points 3 years ago

There is no dedicated learnrust forum here yet, so post your questions here, and if it becomes a problem it can be handled then (by creating a learnrust commynity).

view more: ‹ prev next ›

snaggen

0 post score
0 comment score
joined 3 years ago