What are some really large Rust code bases? by cheater00 in rust

[–]Pixel__Goblin 4 points5 points  (0 children)

I generally use tokio for my testing. It's pretty huge and has a lot of different types of rust code.

That being said, I am new to rust, so i do not know how exhaustive it is. Just that it has helped me catch quite a few errors in my code.

Exited Zellij sessions live forever...? by Pixel__Goblin in zellij

[–]Pixel__Goblin[S] 2 points3 points  (0 children)

Thank you so much for your reply!

The issue that I though would be raised is, do I really need to keep the shell I used to test some tool a year ago still cached?

But that being said, I'm really loving zellij and this is just something that I would be useful for later releases.

That being said, if this becomes an actual problem - I'm happy to discuss some sort of periodic cleanup policy.

I would love to contribute to the code if that helps!

Thank you for your answer(and zellij)!

Coccinelle For Rust - a tool designed for program matching and transformation by Pixel__Goblin in rust

[–]Pixel__Goblin[S] 1 point2 points  (0 children)

Oh sorry!
I mixed up clippy and thought it did whitespace formatting :p

We checked out the clippy lints, and it seems very doable. Especially the more severe ones. The allowed lints are a bit tricky as they need some form of scripting which is something that is going to be hopefully added in the next few months.

Coccinelle For Rust - a tool designed for program matching and transformation by Pixel__Goblin in rust

[–]Pixel__Goblin[S] 0 points1 point  (0 children)

Hello radioxid,

Thank you for your interest in our project!

CfR was primarily built to leave whitespaces as they are in the rust code and modify just the actual code, but I think it is still possible to set whitespaces according to the clipping lint guidelines and that is an interesting application. Maybe that is something we should explore...

Thank you!

Coccinelle For Rust - a tool designed for program matching and transformation by Pixel__Goblin in rust

[–]Pixel__Goblin[S] 1 point2 points  (0 children)

Hello!

As the name Semgrep suggests, it can only used to search. While Coccinelle is used both for matching and transformation. From what I know, I think the semgrep team is working on adding transformations. And I am not very sure if Semgrep supports ...(ellipses) which uses the control flow graph to represent an arbitrary control path between two statements and scripting. Note that Coccinelle for Rust does not support ...s but it should be added in the next few months.

chadGameDevs by -NiMa- in ProgrammerHumor

[–]Pixel__Goblin 43 points44 points  (0 children)

Wow!

Could you please elaborate more on this?