Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not particularly true especially in this case. You can get a rust binary and run it anywhere regardless of libc or having cargo installed on the users machine. A Javascript CLI requires nodejs and npm to be installed before running it.


Same goes for Go BTW. I even find it easier to install Go (haven't done it for Rust that often yet) and compile a binary (of a "pure" project that doesn't involve C libraries or other complications) than installing node/npm/nvm/whatever to get something up and running...


In this particular case, you wouldn't be installing oxlint unless you had npm installed already?


For their main use case they do package it up for npm, but the crates folder have each portion available to build/distribute as a stand alone binary you can run against javascript without node or npm installed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: