snaggen

joined 1 year ago
 

There seems to be a new Rust related podcast out. I will probably not have time to listen to it right away, so if someone listens to it, post and let me know if it is worth listening to.

16
submitted 11 months ago* (last edited 11 months ago) by snaggen@programming.dev to c/rust@programming.dev
 

An interesting blog post by @bagder@mastodon.social about security in curl

12
Faster Rust Toolchains for Android (android-developers.googleblog.com)
19
submitted 11 months ago* (last edited 11 months ago) by snaggen@programming.dev to c/rust@programming.dev
 

Cargo has recently gained an unstable feature on the nightly channel (starting with nightly-2023-11-17) to perform automatic cleaning of cache content within Cargo's home directory.

[–] snaggen@programming.dev 3 points 1 year ago (2 children)

I have never used sea-orm, but I wonder if .on_conflict could be used to simplify the code above?

[–] snaggen@programming.dev 11 points 1 year ago* (last edited 1 year ago) (3 children)

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 7 points 1 year ago

All these services turning into shit, are the services without a viable business model to begin with. What I find interesting is that it is obviously possible to become leading in a field, just by burning investors money.

[–] snaggen@programming.dev 9 points 1 year ago

The reason might be, that you must think a bit different from C++ so it might be a little bit tricky to do the switch. Thouigh, if you know C++ the ownership and stuff should be a bit easier to understand since you probably can figure out what is going on. The reason I learned Rust in the first place was because I had to use C libraries, and I knew rust had good support for that. But, unfortunately I cannot assist you with alternatives to rust, since I stopped looking after I learned rust. πŸ˜„

[–] snaggen@programming.dev 6 points 1 year ago

This looks really interesting, and I love the easy to use docker images! So, now I guess I know what I will fiddle with this weekend....

[–] snaggen@programming.dev 4 points 1 year ago

This sounds really great and will probably have quite an impact on a lot of users. So, nice work!

[–] snaggen@programming.dev 7 points 1 year ago* (last edited 1 year ago) (2 children)

And don't get me wrong, I think Go is ok and I use it from time to time. When Go and Rust started to get traction, I actually laughed at Rust thinking it was a stupid language. Why would anyone use Rust when you had Go, it sounded so great with its go routines and all. I then started to use it, and it wasn't bad, but it wasn't something that got me all excited either. And it was the horrible error handling and all these simplifications that sacrifices correctness that made me feel it was only an ok language. It is the correctness of Rust and that you have to handle all errors aso, that makes it a bit annoying, but it is also these things that makes it great.

[–] snaggen@programming.dev 13 points 1 year ago (3 children)

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 1 points 1 year ago

Oh, hadn't seen the "Time travel debugging Rust in NeoVim" before, and I'm bad at using the debugger in vim so this is definitely something I must try out.

[–] snaggen@programming.dev 8 points 1 year ago

Well, that is why some prefer a copyleft license, like the MPL.

[–] snaggen@programming.dev 20 points 1 year ago

I guess this answeres my previous question about the lack of updates to the Intellij Rust plugin.

[–] snaggen@programming.dev 1 points 1 year ago (1 children)

I like skimming through these summaries, and especially since there are so many things happening on so different levels. It it everythign from tiny snake, to very advanced games. Good read.

view more: β€Ή prev next β€Ί