Um. Hi. I have… a lot of questions these days as a washed out programmer who burnt out in college.

1. How does Linux do Arch

First, I got myself an Arch Linux install cause being able to build the operating system with the pieces I need sounds very cool, but ngl… the Arch community scares me. So if I may…

  • Do y’all know where I could find help for this?
  • If I uninstall a desktop environment, do I get my settings back if I reinstall it?
  • Is there a safe ish way to repartition if I set root and home to different partitions?

2. Very rusty

I’ve been trying my hand at Rust recently. But I am not sure of what can it actually do.

  1. Can Rust make .exe programs?
  2. Does it get crazy over time?
  3. How does one use git with Cargo?

3. Windows

So I have a main build that runs Windows, but I have been thinking of switching to a Linux DIstro. One SSD for OS, one HDD for data, 16GB RAM, AMD stuff. Anything I should know?

Yes I know this is dumb but I dont know where else to ask… Any help is appreciated

  • CameronDev
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    Could be worth splitting your questions across posts, but given its here now, ill have a crack at the first few questions.

    Arch wiki is pretty good, if you need more help, ask here or somewhere similar?

    Your desktop environment settings are stored in your home directory, as long as you dont delete them, it should reinstall just fine.

    Having home on a separate partition is safe, and a fairly good idea, it lets you wipe your root and reinstall without losing your home data. You can move your home off the root by creating the partition, mounting it somewhere temporarily, copying all files across, and them set it to mount to /home in fstab.

    Rust works on windows, so exes are definitely possible. And i think you can cross compile for windows if you want/need to.

    Dunno what you mean about crazy, do you mean complexity wise? I have found that rust is really painful to get started, but eventually it’ll click, and it starts to make sense.

    Git and cargo are two different things, i think its currently recomended that you dont commit the cargo.lock file. https://stackoverflow.com/questions/43667176/what-files-in-a-cargo-project-should-be-in-my-gitignore

    Cant think of anything specific for your windows question, try it and ask questions when you get stuck?

    I would consider asking questions in more general communities, this one is a little specific, so you may not be seen by the people who can help you.

    • Stella! (she/her)@lemmy.blahaj.zoneOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      About that last one… yeahhh good point. Sorry I just dunno where to find them.

      The partition problem is that… well I made the root 30GB and it’s about to fill up and now I wanna asign more space to root while taking some from home but im not sure if this gonna nuke my data if i try…

      • CameronDev
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        Boot a live usb with gparted, and you can resize and move partitions. It will take a while though, but should still boot.

  • wolo@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 year ago

    For 2:

    • Yes, and it doesn’t cheat by bundling some huge scripting runtime like some other languages do. It produces real, native code which will run almost as fast as an equivalent program in C (sometimes a little faster!)
    • It gets as crazy as you make it, but the design of the language tries to help you keep things manageable.
    • When you run cargo new or cargo init it should initialize a local git repo for you, just add a remote and push. If you’re setting it up on your own, add the target directory to .gitignore.

    Also, for point 1.2: As long as you don’t delete your settings or change them in another program, they should stay where they are even if the DE using them is gone. However, if you aren’t short on disk space, there’s no need to get rid of a DE you aren’t using, since you can pick from all of the installed desktops in your display manager (the screen where you log in for the first time after booting).

  • jennraeross@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Looks like most everything has been answered, but I’ll note that if you struggle with arch, endeavor os has the same underpinnings while being a fair bit more beginner friendly (graphical installation, easy drivers, utilities to rank mirrors and update your packages, etc.). Arch wiki is great for questions that have already been answered, endeavor forums are useful for asking questions when the wiki falls through.

  • Franzia@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Lmao. Try the commhnities Linux, ArchLinux, or UnixSocks. Lemmy isn’t really the elitist arch community everybody here is sweet. Can even try stackoverflow 😂

    I don’t have a lot of info since I’m new to desktop linux, but you can run portable Linux on a Live Disk (an .ISO file on a USB drive) and this is a way to try Linux without having to install it. Also making sure you’re aware of the tools balena etcher, and ventoy.

    By safe if you mean you can do this on a drive with important files on it, I so wouldn’t. With arch linux it’s better to be ready for it to break, because if it does you often do not have to start from scratch again, there’s usually a step you can take to fix it.

    • Stella! (she/her)@lemmy.blahaj.zoneOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Don’t worry, I am making sure that I do things in the ThinkPad first, I know the risks!

      Also I am not aware of the tools you mentioned! I’ll look them up!