zlacker

[return to "Lily Programming Language"]
1. onesev+fEb[view] [source] 2026-02-05 01:41:27
>>Fascin+(OP)
What I really want to see from a "*-programming-language" post on HN is _why_. Why Lily?
◧◩
2. pauldd+ZJb[view] [source] 2026-02-05 02:29:23
>>onesev+fEb
From the link:

> Key features of Lily:

> Built-in template mode

> Embed/extend in C

> Single-inheritance classes

> Exceptions

> Generics

> Algebraic data types (with Option and Result predefined).

◧◩◪
3. andsoi+OMb[view] [source] 2026-02-05 02:53:05
>>pauldd+ZJb
That’s what. Not why.
◧◩◪◨
4. nine_k+gRb[view] [source] 2026-02-05 03:32:44
>>andsoi+OMb
The why: because Lua, Python, JavaScript, Janet, etc lack many or all these features. And each of these features is known to make life easier for a human programmer.
◧◩◪◨⬒
5. dismal+hYb[view] [source] 2026-02-05 04:43:50
>>nine_k+gRb
Looking through that list of features, Ruby (the dynamic language I know best) has all but 1 built-in (and the other can be added with Gems). I'm guessing Python probably has them all too (but I don't know Python that well). They're pretty common. So the why still isn't clear.
◧◩◪◨⬒⬓
6. nine_k+O1c[view] [source] 2026-02-05 05:24:54
>>dismal+hYb
Is Ruby easy to embed in a C program?
[go to top]