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

One use case where pure Deno works for me is shell scripts. Writing them in Deno is quite pleasant and they usually don't need many dependencies. Plus you can always host then and just "deno run <url>" from any machine that has it. It used to be a problem that you had to know permissions ahead of time but now they interactively ask you for it which makes the scary "-A" flag much less needed.


You can also compile them to standalone executables easily with `deno compile`.


I wonder how that works, do they ship the entire Deno runtime with the executable à la Electron?


Yes, a `console.log()` compiles to a 78.46MiB .exe


Wow, sounds like I'll stick with Rust.




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

Search: