Hacker News new | ask | show | jobs
by Tade0 1796 days ago
I used to have a similar setup on my phone when my laptop started dying and I was in the middle of moving countries.

You can have Node running via termux, albeit with some limitations, e.g. no global modules.

Of course debugging isn't really possible, so you'll have rely on your engineering prowess.

I wanted to create a similar setup for Rust, but unfortunately compiling the compiler from source to work on Android was way above my skills (provided it was even possible to begin with).

1 comments

It seems that termux is packaging rust now,

pkg install rust

Excellent!

Although seeing how npm install took ages to complete I'm afraid it's going to take even more to compile even a debug target in Rust.

Actually that depend upon the phone phone you are using if its 2-3 years old. It should be fast enough.