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

This is why I like that you can "go run" golang programs without installing them. Anywhere golang is installed it will automatically build cache and run the binary for whatever platform you are on.

For example

   go run sigs.k8s.io/kind@latest create cluster
I wonder if something like this exists for rust


Absolute no possible exploit path there at all


Unless you are reviewing the source of everything and compiling it all yourself, then you're executing someone else's binary.


Is it really an exploit when you're explicitly running code that you expressly trust (even if you probably shouldn't necessarily)?


Isn't an exploit explicitly a subversion of trust?

If you shouldn't trust it but you do anyway and someone uses that against you - they exploited your trust.


That is nice, but it still requires installation of golang which is obviously something that can't be guaranteed.


“cargo install” is the Rust equivalent.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: