Live data from Hacker News

Lily Programming Language

lily-lang.org

11–20 of 50 posts

Re: Lily Programming Language

#11
post #2

What I really want to see from a "*-programming-language" post on HN is _why_. Why Lily?

I am curious as well. some past readme has Why sections and I am not sure why they are removed/changed

this have "Why" section https://gitlab.com/FascinatedBox/lily/-/blob/d3ace2907747106...

this have "How Lily stands out from other languages:" section https://gitlab.com/FascinatedBox/lily/-/blob/785a88534cced53...

Re: Lily Programming Language

#12

Earlier quoted context omitted.

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).

That’s what. Not why.

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.

Re: Lily Programming Language

#13
> statically-typed

> Embed/extend in C

Is Lily intended to be (or could it be used as) a statically-typed alternative to Lua?

Personally I'm happy with dynamic typing for scripting - but I suspect many people would welcome a statically-typed option, and there don't seem to be many available.

Re: Lily Programming Language

#14
post #7

Earlier quoted context omitted.

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.

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

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.

Re: Lily Programming Language

#17
post #16

Has anyone yet designed a language with the explicit goal of being cheapest/easiest to use by an AI coding agent?

Not a language, but we are having very good success using https://brannn.github.io/simplex/ for autonomous one-shot workflows. It seems to be a very high-fidelity input for LLMs.

Re: Lily Programming Language

#18
post #12

Earlier quoted context omitted.

That’s what. Not why.

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.

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.

Re: Lily Programming Language

#19
post #12

Earlier quoted context omitted.

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.

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.

Is Ruby easy to embed in a C program?
Post reply on HN