zlacker

[parent] [thread] 5 comments
1. andyfe+(OP)[view] [source] 2026-02-05 01:56:58
The README on gitlab at least has a sentence or two on that: https://gitlab.com/FascinatedBox/lily

> An interpreted language with a focus on expressiveness and type safety

Personally I think typed scripting languages could be the future. They should support AOT compilation where necessary.

replies(2): >>keyle+16 >>nofrie+l8
2. keyle+16[view] [source] 2026-02-05 02:48:04
>>andyfe+(OP)
Why do you think that's the future?

Isn't a waste to essentially reinterpret an entire program that may be run 5000 times a day?

AOT compilation, how is that different than make && run?

At some point, you have a compiled language, if it's quick to compile, you're doing the AOT yourself, the scripting is an illusion. Pun intended.

replies(1): >>nine_k+4a
3. nofrie+l8[view] [source] 2026-02-05 03:10:14
>>andyfe+(OP)
a statically typed aot compiled scripting language is... not
replies(2): >>nine_k+Pa >>LoganD+5d
◧◩
4. nine_k+4a[view] [source] [discussion] 2026-02-05 03:24:25
>>keyle+16
Isn't it a waste to run a test suite for a program that would run 1M times a day in production?

The key adjective here is successfully run. You want to detect any errors as early as possible. Ideally even at the early stages of writing the script, when a typechecker is already able to point at certain errors, and thus help avoid missteps in further design.

◧◩
5. nine_k+Pa[view] [source] [discussion] 2026-02-05 03:30:32
>>nofrie+l8
"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.)

◧◩
6. LoganD+5d[view] [source] [discussion] 2026-02-05 03:51:57
>>nofrie+l8
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.

[go to top]