Skip to content

Comment on Scriptisto: "Shebang interpreter" that enables writing scripts in compiled langsparent

Comments

Script files are typically executable. The whole point here is to make a script using a language that requires compilation. So yeah, mark it as executable, it's a script now.

The whole point here is to make a script using a language that requires compilation.

Then it's a bit of non-orthodox approach here, if not more. As defined in wiki [0] (and on par with what we all are used to):

Scripting languages are usually interpreted at runtime rather than compiled.

I would not be much happy if script would do some heqvy lifting and output some binary in the current or tmp folder. Which hash needs to be checked each run (against what?) and would require lots of other security-related protections, in real world. In ideal world - not much, but that's not what we are talking about, right?

0 - https://en.m.wikipedia.org/wiki/Scripting_language

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.