logoalt Hacker News

nofriendtoday at 3:10 AM3 repliesview on HN

a statically typed aot compiled scripting language is... not


Replies

satvikpendemtoday at 6:18 AM

I script with Rust via cargo-script, it works great. Scripting is a task for when you want to achieve something in one file instead of a full blown application. It is not about the language, you can script in C or assembly if you so chose.

nine_ktoday at 3:30 AM

"Scripting" is a role: an embedded, human-friendly, compact language, also suitable for interactive work / REPL.

(Laugh all you want, but Haskell has a rather nice REPL, and can work as a scripting language.)

LoganDarktoday at 3:51 AM

Luau gets pretty close to statically typed and AOT compiled now. It's still a scripting language.

Even C or Rust can be a scripting language. You just integrate the toolchain to your app, same as every other scripting language.

show 1 reply