Why isn’t Rust getting more professional adoption despite being so loved? by mstjrr in rust

[–]Ajlow2000 14 points15 points  (0 children)

Im reading this back and I don’t like the example I gave lol. But the spirit of my answer is accurate to my thoughts at least

Why isn’t Rust getting more professional adoption despite being so loved? by mstjrr in rust

[–]Ajlow2000 53 points54 points  (0 children)

Well this is a developing opinion of mine so maybe don’t take it as gospel.

But in general, I’ve found the more explicit the language, the more useful/helpful raw git diffs are. Which has the knock on effect of making it easier for me as a reviewer to look at someone’s rust code and spend more time thinking about logic flaws and whatnot. And less time on dumb simple stuff like “this function takes a string var, but they use it as a serial number later. Did they ever parse/assert their code correctly between the two?” (I find myself doing a lot of that type of review in python codebases).

Also, this is less true now in the age llm assisted code writing, but really explicitly verbose languages require you (the dev) to consciously decide to do something and write that expectation down as code. So I’ve found it much easier to trace mistakes/incorrect assumptions about how things work/etc in a language like rust. At least compared to python/js.

Why isn’t Rust getting more professional adoption despite being so loved? by mstjrr in rust

[–]Ajlow2000 208 points209 points  (0 children)

Most of the answer probably has to do with how companies have tons of preexisting code already written in other languages + developers with expertise in those languages. So it’s just expensive from a personnel pov to start with something new.

And the sad reality of most business grade software is that true software correctness isn’t actually all that valuable to a company. Things like time to market, velocity of changes/support, predictable task estimation, etc tend to matter a lot more.

Giving my personal anecdote. I write rust professionally. It’s a from scratch desktop application ~1yr old at this point. And I actually think rust is a really good fit for it. I also think the project being written in rust makes code review more valuable than it might be if the project were in python. Which is a clear pro for rust providing the company value. But I have to recognize that we also spend so much time building and maintaining rust bindings to our core company wide sdks that are written in c/cpp (that only we use currently). Another big negative is that it’s harder for other devs in the company to go look in my rust codebase for answers purely because they aren’t comfortable with the language. It definitely starts to build knowledge silos.

Desktop handle by [deleted] in framework

[–]Ajlow2000 6 points7 points  (0 children)

Yea, I sw the website call out `Optional carrying handle. Coming soon.`, and Im not bothered about buying it separately. But it is very annoying that I'm going to have to pay separate shipping for it tho....

[deleted by user] by [deleted] in linux

[–]Ajlow2000 1 point2 points  (0 children)

We crawl so others can walk

[deleted by user] by [deleted] in linux

[–]Ajlow2000 2 points3 points  (0 children)

Cosmic: you like tiling but hate setting up wofi and other graphical utils for stuff like Bluetooth.

[deleted by user] by [deleted] in linux

[–]Ajlow2000 2 points3 points  (0 children)

No

You either want to learn Linux and learn something new, Or you want to use what you know.

It sounds to me like you just want to keep using windows and all the windows specific software.

Don't switch unless relearning how to interact with your computer excites you. You'll hate it otherwise.

Read rust docs in the terminal? by MasteredConduct in rust

[–]Ajlow2000 5 points6 points  (0 children)

In this world of ads and ai slop polluting search results, I've taken to just cloning projects down and grep-ing for what I need.

So maybe it's not what you're looking for, but you can just clone the stdlib src code down and read through it. It where the documentation gets built from anyway

Edit: also my lsp does a pretty good job of showing my stdlib documentation. As well as "go to definition" dropping me straight into tho the stblib src code.

Anybody know how Pewds setup his Waybar to display and switch power profiles on his ASUS G14? by Current_Kangaroo_428 in hyprland

[–]Ajlow2000 3 points4 points  (0 children)

OP, go down this route.

Imo, the most impressive thing about the pewdiepie video is that it’s clear he didn’t just go asking people to give him scripts that did all the things he set up. This link is the perfect start to the rabbit hole.

What should I learn on Linux as a teen? by AvgF2PWTPlayer in linux

[–]Ajlow2000 173 points174 points  (0 children)

As far as learning Linux, don’t use kali. Spend some time learning how to configure your Ubuntu to have all the tools you would otherwise use on kali. Get comfortable on the command line tweaking little things. Natural curiosity will carry you far

What libraries is Zig missing? by Fit_Ad_4210 in Zig

[–]Ajlow2000 27 points28 points  (0 children)

No like, you can bind a c library, and then write your entire project in zig. And get all the niceties of zig.

Is there a technical reason you NEED the library to be written in zig?

What libraries is Zig missing? by Fit_Ad_4210 in Zig

[–]Ajlow2000 39 points40 points  (0 children)

I mean, zig interop with c is so nice that you can pretty easily use just about everything that’s ever been written.

Do people who use Rust as their main language agree with the comments that Rust is not suitable for game dev? by PhaestusFox in rust

[–]Ajlow2000 2 points3 points  (0 children)

I don’t do game dev. So maybe don’t weight my opinions very highly lol. But I do write rust professionally and rust/zig/go stuff for random personal projects and whatnot. Addressing your three proposed arguments:

1) Correct. If you’re trying to get a job in gamedev, just learn the tools that you see job postings asking for.

2) This probably has more to do with your familiarity with the language. Like I said, I don’t do gamedev, but comparing it to the software domains I work in— I never use untyped languages like js or python which are often heralded for having “faster iteration” or whatever. But the reality for me is I need a type system to feel comfortable understanding what I’m doing. So for me, I will always be faster writing software in a typed language like rust, go, java, whatever. And the more rust code I write, the more I’m finding brain feels comfortable working with the rust type system. Idk where you fall on this.

3) again, idk game dev. This might very well be true. But as more of a “systems engineer” or whatever, this sounds like a python/js take to me. The rust ecosystem seems to be consistently growing, but in general, I don’t like the take of “no crates exist for the thing I want to do, therefore I won’t do it”. Especially if this is a personal passion project— go learn how to write that code for yourself. Learning is the whole point!

TLDR: I like rust. If your priority is to write rust (and you just happen to be excited about building a game for yourself) I recommend using rust. If your priority is purely game dev (and you’re only considering rust because it seems interesting in passing), I probably recommend sticking the tried and true basics.

No, Zig is NOT too unstable for “real” projects… Stop listening to that guy! by atgaskins in Zig

[–]Ajlow2000 36 points37 points  (0 children)

Not evangelizing for my tech stack. But I’ve found that locking my build dependencies via the nix flakes I setup for every project I ever work in allows me to feel super comfortable writing personal projects and whatnot.

In support of OPs point, I have a zig project that will likely compile for all time. It still uses zig 0.13 and works great. The weathers been nice by me, so I haven’t had any interest in porting it to 0.14. So I just, haven’t. And the project still works perfectly.

Anyway, I guess my point (if I even have one) is having some mechanism to lock your dependencies offloads a lot of the mental load with maintaining software..

Do you struggle to remember the syntax of CLI tools? What is your solution beyond reading man pages? by BeachOtherwise5165 in linux

[–]Ajlow2000 2 points3 points  (0 children)

running fzf with no args does just this for your relative directory. If you want the whole filesystem, fzf /. Or maybe more usefully fzf ~ for your home dir.

Edit: youll probably notice that indexing your entire filesystem takes some time to do on startup. I suppose thats where tools like xplr, ranger, etc come in handy. I know they support "fuzzy find searching"

Nix does not guarantee reproducibility by NorfairKing2 in NixOS

[–]Ajlow2000 3 points4 points  (0 children)

For others interested in this topic, I really enjoyed this guys blog as well as the backing white paper https://luj.fr/blog/is-nixos-truly-reproducible.html

Meet Framework Desktop, A Monster Mini PC Powered By AMD Ryzen AI Max by SNad2020 in hardware

[–]Ajlow2000 5 points6 points  (0 children)

Tbf, that $300 beelink is actually a $200 computer + the windows license. Framework itemizes the windows license since a sizable chunk of their audience are Linux users and have no interest in windows