4 ms·
HARDWARE SIDE: The cheapest will be to ... not buy laptop. You can go for 2 in 1 and use your Android phone (if you have one) or buy one. Any Android phone wi
by danielEM 4y ago
HARDWARE SIDE:
The cheapest will be to ... not buy laptop. You can go for 2 in 1 and use your Android phone (if you have one) or buy one.
Any Android phone will do the job, but best look for one with USB3.1 (these will support display port on phones USB socket) as it carries video signal as well.
Here you have phones released in 2021 and 2022 supporting it:
https://www.gsmarena.com/results.php3?nYearMin=2021&sFreeText=USB%20Type-C%203.1&nOrder=1 https://www.gsmarena.com/results.php3?nYearMin=2021&sFreeTex...
If you want to go for used phone feel free to refine search and set older years.
Portable screen you can get on Chinese websites for as little as 80-150USD (with shipping including)
Then get yourself bluetooth keyboard with trackpad (there are even foldable ones), or BT keyboard and BT mouse (whatever you like) and you should be already good.
Nice to have is also USB-C hub with HDMI output, so you can plug any wired USB devices or output via HDMI to regular screen or TV, these will cost 10-20USD with shipping
Optionally: You might also want a better control over your Android OS, or be able to receive updates way longer than vendor ships them - if so I will recommend to go for one of the phones supported here https://download.lineageos.org/ https://download.lineageos.org/ (most modern hardware with USB3.1 is supported by OnePlus, but you might find other brands and models that does the job)
SOFTWARE SIDE:
First you need install Termux on Android, it is kind of linux shell for Android linux kernel (all you basically need to start any development)
Once you'll have this, you can head for gcc, clang or whatever you need
Last piece is IDE, I use this one: https://github.com/coder/code-server https://github.com/coder/code-server
- danielEM 4y agoWhat the heck, why did get -1 ????
- ostenning 4y agoNot entirely sure but op wanted advice on a laptop, not a phone
- danielEM 4y agoRemind me then please since when our conversations on HN are so strict? ;-)
- neurostimulant 4y agoComplaining about -1 downvote is useless. Even if you post a perfectly good comment, someone could accidentally fat-fingered the downvote button (the buttons are small and very close to each other). Some people even downvote everything they disagree with regardless the quality of the comment itself.
- danielEM 4y agoyup, fatfinger in HN mobile happens to me too, and already forgot that here are downvotes, I just don't see them because have not enough upvotes
- oneeyedpigeon 4y ago> Last piece is IDE OP mentioned vim; I don't think they're looking for an IDE.
- danielEM 4y agoWell, ofc - there is vim as well
- cruano 4y agoBetween the screen and accessories this ends up being way more expensive than any used laptop that WILL outperform it while being way more comfortable. Not to mention if you don't already have a capable phone and/or a bunch of accessories. The worst part is this kind of setup is always finicky to use and harder to debug, which is the last thing you want in a developer machine.