6 ms·
Has anyone had success using an ARM based system for local development in Linux?
by gigatexal 7y ago
Has anyone had success using an ARM based system for local development in Linux?
- wrong_variable 7y agoDepends on what you are doing.
- gigatexal 7y agoLocal golang work with docker but mostly as a dumb terminal interfacing with a remote k8s cluster and using the web as a reference.
- Tempest1981 7y agoCan I build and run golang programs natively, or do I need to run them in docker? (I'm new to all this, also unclear on the "dumb terminal interfacing" scenario... is that specific to using Kubernetes?)
- FlyingSnake 7y ago> dumb terminal interfacing I think GP means terminal access through SSH/MoSH
- gigatexal 7y agoYes this. Apologies for being vague.
- nottorp 7y agoYes, but you're running off a sloooow sd card which may slow you down a bit if you compile stuff. Other than that it's just a normal linux computer. Mind, I've only done command line and text mode editors, if you want the full desktop and a ram hungry IDE it's going to hurt more.
- nottorp 7y agoAnother important thing to mention: if you're compiling and logging to the sd card, buy a lot of them because they'll die on you. They're not designed for this many writes.
- kingosticks 7y agoOr better yet, move your rootfs to a more reliable storage medium e.g. a USB hard disk drive. https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md https://www.raspberrypi.org/documentation/hardware/raspberry...
- imtringued 7y agoWhy bother with obsolete SD cards then? Here is an SSD for 15€ [0]. Pair it with a 5€ USB to SATA adapter and you're ready to go. [0] https://www.alternate.de/Apacer/AS350-120-GB-Solid-State-Drive/html/product/1366606?campaign=SSD/Apacer/1366606 https://www.alternate.de/Apacer/AS350-120-GB-Solid-State-Dri...
- nottorp 7y agoAlso you're tripling the space needs. Add 1-2 more things and you might as well get a desktop case ;) Sometimes it's doable, sometimes not.
- dchest 7y agoOr external SSD drive. I ran RPi successfully on this: https://www.aliexpress.com/item/KingDian-Newest-item-Portable-SSD-USB-3-0-120GB-240GB-500GB-External-Solid-State-Drive-Best/32843026641.html https://www.aliexpress.com/item/KingDian-Newest-item-Portabl... and also have this: https://www.aliexpress.com/item/KingSpec-External-SSD-hard-drive-120GB-SSD-240GB-500GB-Portable-SSD-External-hard-drive-1TB-hdd/32848432283.html https://www.aliexpress.com/item/KingSpec-External-SSD-hard-d... These are cheap Chinese SSDs, so I'm not sure about their longevity. There are also similar Samsung SSDs for ~2x price. Another alternative is to get a good industrial SD card.
- onion2k 7y agoI use a Pi3B+ for dev at home (working on nodejs, react, serverless etc). It's great.
- rcarmo 7y agoYes. I use mine for a lot of back-end development (I can run Ubuntu on them and Docker, and have a bunch of containers built for them as well, via a multi-arch pipeline[1] I have been adding to for a while and just cleaned up for re-use). [1]: https://github.com/rcarmo/azure-pipelines-multiarch-docker https://github.com/rcarmo/azure-pipelines-multiarch-docker
- FlyingSnake 7y agoYes, I use my R.Pi3 as a development server. I run Nginx -> Postgrest -> PostgreSQL on the R.Pi, and it has served me faithfully for more than a year. It is blazing fast ( _for my needs_ ) and I can quickly replicate and setup another R.Pi if needed in a jiffy. I can't wait to port my setup to the new ARM64 R.Pi4!