Long story short, I don’t have the resources to keep any PC on for a reasonable time, so I want to make use of all the hardware I can find, I have an old iPad 4th generation lying around, I know anything related to programming becomes annoying when using a touchscreen but it’s what I got, I don’t mind jailbreaking it, or even have a Linux distro that actually works on (I’m fine with compiling stuff myself too)

  • conciselyverbose
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    3 months ago

    You can run Python reasonably well with pythonista or Pyto (I like pythonista, but Pyto supports some PyPI libraries). Apple’s Swift playgrounds is pretty decent for Swift. They’re all only up to a point, but you can do plenty of actually interesting stuff with them. I use them on my current iPad (and run the Python scripts on my phone).

    But 4th gen is old, so it’s quite possible none of that works. Maybe web stuff with something like Textastic if you pay for shared hosting somewhere, or a low end VPS isn’t crazy expensive and lets you run code. If it’s consistent power that’s your concern, raspberry pis can be paired with one of those portable USB batteries if it can be charged and send charge at the same time.

    If those options are still too expensive, really no clue. It’s hard with no money at all.

  • xmunk
    link
    fedilink
    arrow-up
    5
    ·
    3 months ago

    I have been hoping someone would eventually write a solid utility to use old tablets as touch screen displays for other machines but I think the apple ecosystem has prevented any good solutions from being banged out.

  • thehairguy@lemmy.zip
    link
    fedilink
    arrow-up
    5
    ·
    3 months ago

    Google’s project idx might work for you, https://idx.dev/ it can pull from GitHub and run an instance of vs code and a terminal in the browser. It’s not the fastest, but I’ve been using it to do some dev work with my iPad on an Astro project I have

  • AbidingOhmsLaw@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 months ago

    There are no “real” alternative OS available for apple devices. You can get some IDE “lite” apps like Visual Code, Python Editor, etc. but these a meant as companions to a PC IDE not meant for compiling, linking, testing, etc. You might be able to trade the old iPad for an old laptop you can put a flavor of Linux on.

  • folekaule@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    3 months ago

    You don’t say what type of programming you do, or if you’re just learning or developing professionally, but maybe something fully online would work? For example repl.it, stackblitz, or Visual Studio Code for the Web.

    I second the suggestion for getting a Bluetooth keyboard for the iPad.

  • LesserAbe@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    You absolutely want a keyboard when programming, but you can get one that works with the ipad. As someone else suggested the software environment is probably more the limiting factor.