snaggen

joined 1 year ago
 

A groundbreaking study by Mass Eye and Ear associates tinnitus with undetected auditory nerve damage, challenging previous beliefs and opening new paths for treatment through auditory nerve regeneration.

 

Abstract This project introduces Rustlantis, a novel fuzzer capable of generating programs in Rust’s Mid-level Intermediate Representation that are deterministic and free from Undefined Behaviour. It has uncovered 13 previously-unknown bugs in the Rust compiler and LLVM which has caused miscompilations as well as crashes.

29
submitted 1 year ago* (last edited 1 year ago) by snaggen@programming.dev to c/rust@programming.dev
 

#fishshell rewrite-it-in #rust progress, 2023-11-20

76909 rust lines added

48105 / 77063 C++ lines removed

▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░ 62 %

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

What are the benefits of Smol compared to the dominant async framework Tokio?

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

Cannot both be true?

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

Darkreader didn't work well, but disable that and it looked ok in Firefox on Android.

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

Order? I write them as I need them... is my code chaos, yes!

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

Well, bringing over comments by a bot feels totally wrong. I'm not sure we want to have reddit comments here, since it sometimes differ quite a lot in culture. Bringing over posts only, could be done by bot if it is determined by a human, but then on the other hand I don't see the point in involving the bot. Then you just look at the list in the bot instead of in /r/rust , and it is not that hard to just manually post if you find something there that would fit here. I like what you are trying to achieve, but I'm not a big fan of bots... it is so easy to get them wrong and then they can cause a lot of harm.

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

Also, this community is coming along nicely. We are in the top tree communities on programming.dev if you look at the list of communities. We are the highest ranked programming language community, ahead of Python. So, I don't see any need for artificially inflating this community.

Edit: Link to the community page https://programming.dev/communities

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

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 4 points 1 year ago (1 children)

If you refer to bindgen it also supports C++, and since Mozilla who was the main driver of rust uses C++ I assume the bindgen for that is pretty good.

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

Yes, but all programmers have a love/hate relationship to their languages and toolchains. When I started off back in the 90:s, my prefereed language was Perl, it was amazing, but it was also a nightmare in some aspects... and unfortunately the larger the project the larger the nightmares. I assume Python is probably pretty much the same, even though I have avoided to work with dynamic languages in very large scale projects due to the support nightmares that comes with them. So I assume the Rust cult, is based on the fact that the rust frustration comes a lot from the strictness of the language, but that becomes less of a problem the more you use it (since your skills improve) and at that point the strictness instead gives the reward of reliability and efficiency.

So, while dynamic languages may frustrate you the more you use it (since the projects grows and it is a nightmare to maintain), rust will instead reward you over time.

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

Always nice to get a summary of the week. I had not seen about the websocket implementation, nice to see that Rust is yet again pushing the limits for performance.

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

If that works for you and you are happy with it, fine. But sudo-rs seems to have a bit of a different usecase since it is intended as a drop in replacement for sudo, hence it must be able to handle the sudoers file aso. It still removes some of the never-used obscure functionality that sudo had, so it is probably a lot smaller code base than original sudo.

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

That varies quite a lot... but in general, the small tools seems to start as someone adding color and bling, possibly some nice things like automatic pager (like in bat). Still often nice additions though. For larger stuff like rg and gitoxide the authors seems to have done quite a lot of research and are really experts in their field. You don't improve grep and git by accident.

view more: ‹ prev next ›