zlacker

[parent] [thread] 5 comments
1. pauldd+(OP)[view] [source] 2026-02-05 02:29:23
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).

replies(1): >>andsoi+P2
2. andsoi+P2[view] [source] 2026-02-05 02:53:05
>>pauldd+(OP)
That’s what. Not why.
replies(2): >>pauldd+k5 >>nine_k+h7
◧◩
3. pauldd+k5[view] [source] [discussion] 2026-02-05 03:16:41
>>andsoi+P2
The reason it exists is to provide those features when programming computers.
◧◩
4. nine_k+h7[view] [source] [discussion] 2026-02-05 03:32:44
>>andsoi+P2
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.
replies(1): >>dismal+ie
◧◩◪
5. dismal+ie[view] [source] [discussion] 2026-02-05 04:43:50
>>nine_k+h7
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.
replies(1): >>nine_k+Ph
◧◩◪◨
6. nine_k+Ph[view] [source] [discussion] 2026-02-05 05:24:54
>>dismal+ie
Is Ruby easy to embed in a C program?
[go to top]