It lives on in Slint. The syntax is inspired to QML, but statically typed and compiled to native code (no JS engine, no browser). Can be used from different programming languages. https://github.com/slint-ui/slint
Yes. I love Qt/QML. Nothing has replaced it for me since. I find android/ios too hard to read, until Jetpack compose came along and even then. Dart is better
It's so interesting how different frameworks appeal to different kinds of people. For me personally, I regret every second I've ever spent writing glue code. The whole signals/slots paradigm killed my desire to use Qt every time I tried it.
The LLM language is pretty off putting: "Say what you mean. Exactly" and then in the code comments "// One value, v, and three things that follow it". It's such an awful way of writing.
I managed to train my agents to comment in my style. It was hard work; one has to stay on it. Judge here the human's lack of effort, not the untrained dog.
The hardest similar problem I've faced was teaching agents aesthetics for a drawing style. What worked: I hand-engineered an interpretable feature space for SVG diagrams, and used the feature vectors of exemplars as the style target for generation. The agents then wrote code one-shot that drew as I liked.
AI is a kit, not a car where you turn the key. We're all facing the same issues, and many of us are constantly engineering infrastructure to "fix" AI to our needs. Consensus forms fast, and much of this engineering becomes available out of the box if one instead just waits a few months. Reification of state between sessions is the big one we all used to do by hand, that's now standardized.
Feature spaces would work for teaching comment and writing styles. Try it!
I wish I had a name for the "One value, and three things that follow it" construction. I think the model feels it's being dramatic, but it's borderline nonsense.
"Two vectors, and the one invariant that binds them." WHAT ARE YOU TALKING ABOUT
Not sure how it supposed to be used. Its a whole new language with its own constructs and rules, no training data for LLMs to use it well, syntax is questionable, and as much as it tries to stay declarative its already clear that it can't: onClick() { v = (v + 20) % 100 }
At this point I don't see any pros compared to any existing reactive framework.
Absolutely, just used Neon to rewrite a ton of comments and docs and they are so much better. Neon + diataxis [1] produced documentation indistinguishable from human writing.
Meanwhile, Claude has become immune to skills that try to tame its writing style. I think they’re prioritizing preventing distillation vs their own product UX, which is a shame.
First contact marketing pages and core documentation should be written by a human. This sounded interesting but my eyes glazed over as soon as I detected the AI smell...
It's more that AI writing poisons the brain and prevents the flexion of ones own judgment and creativity. It forms a kind of foundation which is difficult to throw away since it biases your thoughts towards the AI prose, and because people put so little comparative effort into anything created with AI, they do not feel the sense of ownership and accomplishment that comes from having created something themselves, so the effort required to rework the prose is too great for atrophied minds.
If one starts with AI text, it is like seeding their mind with already completed details, and so they cannot see anything beyond the pre-existing structure it has created for them. One has to start from a blank slate to avoid this fate.
Is it sunk cost or the dreaded realization your product will never be consumed by humans. At best, it'll be a LLM mediated inspection. Why then would you want to speak to this supposed human when Claude is both the reader and writer.
Anyway, it's probably more existential dread than laziness. Y'all just gonna point your LLM at it in real world use.
The claudish here got unreadable after a while. The project's thesis really should be written by a human. Shame becuase it seems like an interesting idea
This looks quite nicely done. I'm reluctant to try it solely because the website has so much marketing-style writing (probably AI-generated) and I'm not sure I want to read more of it.
It should probably say up front that this is an npm package along with the tooling for it, and the output runs in a browser.
It’s not about whether or not it was disclosed. It’s the lack of effort and craftsmanship which gives it away as something not worth our time if the authors themselves didn’t put their time in.
I like the idea somewhat, however, I have the vague feeling that it is not really simpler than actual UI frameworks like Vue.js or Compose[1]. My assumption is that a real framework is even better for AI.
Real frameworks also give Ai agents a massive advantage in tooling - mature typecheckers, linters, and test runners. When an agent edits Compose or TypeScript React, it gets super clear feedback loops to self-correct, which is hard to match in a brand-new DSL
Honestly, Jetpack Compose and SwiftUI already nailed concise declarative UI, and they have the huge advantage of living inside full-blown languages like Kotlin and Swift so you don't hit a wall when logic gets complex
Interesting project, few ideas on the landing page:
- Move docs to llms.txt too
- Make one click copy prompt button for starting with an agent
- Explain clearly how it can integrate with React or Vue - if I can embed a module in my already existing app - thats a great way to transition over time.
- Play the “Agent” card more - these days nobody will learn new DLL, but having a way to quickly test it with my agent would convince more people to give it a try
Myself too, they are all essentially DSLs with a transpiler to underlying tools and packages in a given language. Mine is different by allowing module developers to control the output technologies and DSL if they want, boiled down to CUE + text/template. Downstream users get a similar experience to this post.
My focus was essentially to be able to define this and let agents use these to build the interfaces.
This `...with a transpiler to underlying tools and packages in a given language.` is an interesting idea, but I just want to focus on the language specs and compiler.
Ah another language!!! By this time, AI already trained on billions of line of javascript code for UI. so this language have to compete with that knowledge base. It'll be really exciting to see how quickly AI agents can build the UI for same problem using `Declare` as compared to any javascript framework (React).
Not to hate, but I feel like we are just reinventing the "slop" wheel. LLMs are already pretty good that they don't need another "Language for AI" limiting them
When are those switches in the tutorial on or off? And what do they do?
“Show boxes”?
UI used to strive for making it easy for users to understand the software’s mental model, current state, and possible actions. Now it’s about looking cool (the same as the other cool kids).
Before it was the claude dot, it was commonly seen on "Live" indicators for video streams and other real-time information. It indicated an active connection to some sort of server. That's my guess where it came from, and then it got RLHF'd into overuse because who wouldn't want their website to be more dynamic and real-time?
I just have a hard time with anyone who thinks you can make good UIs this way. "Declarative" UI has been tried, multiple times. It does not produce interesting UIs. It produces derivative, limited UIs that require deeply weird hacks to handle novel problems.
For eg. compare this:
``` Window { textColor: "slategray" property int v: 40
} ```with Declare:
``` App [ textColor = slategray,
```Additional to it it may have more fps, but feels less snappy.
I still use it as it's better than electron, but still makes me sad.
The hardest similar problem I've faced was teaching agents aesthetics for a drawing style. What worked: I hand-engineered an interpretable feature space for SVG diagrams, and used the feature vectors of exemplars as the style target for generation. The agents then wrote code one-shot that drew as I liked.
AI is a kit, not a car where you turn the key. We're all facing the same issues, and many of us are constantly engineering infrastructure to "fix" AI to our needs. Consensus forms fast, and much of this engineering becomes available out of the box if one instead just waits a few months. Reification of state between sessions is the big one we all used to do by hand, that's now standardized.
Feature spaces would work for teaching comment and writing styles. Try it!
"Two vectors, and the one invariant that binds them." WHAT ARE YOU TALKING ABOUT
At this point I don't see any pros compared to any existing reactive framework.
For now, I would urge project creators to start using Neon for writing docs and landing pages. It's significantly better out of the box.
I don’t think it is worth giving my agent to peruse either, because it will get poisoned.
Hard skip. And maybe even block.
Claude has ruined Solarized for me. As soon as I see that theme (light or dark), I quit the tab. I don't even need to start reading.
Meanwhile, Claude has become immune to skills that try to tame its writing style. I think they’re prioritizing preventing distillation vs their own product UX, which is a shame.
[1] https://diataxis.fr/
If one starts with AI text, it is like seeding their mind with already completed details, and so they cannot see anything beyond the pre-existing structure it has created for them. One has to start from a blank slate to avoid this fate.
Anyway, it's probably more existential dread than laziness. Y'all just gonna point your LLM at it in real world use.
It should probably say up front that this is an npm package along with the tooling for it, and the output runs in a browser.
"This page is written in it. By an LLM."
[1] https://kotlinlang.org/docs/multiplatform/compose-multiplatf...
Honestly, Jetpack Compose and SwiftUI already nailed concise declarative UI, and they have the huge advantage of living inside full-blown languages like Kotlin and Swift so you don't hit a wall when logic gets complex
- Move docs to llms.txt too
- Make one click copy prompt button for starting with an agent
- Explain clearly how it can integrate with React or Vue - if I can embed a module in my already existing app - thats a great way to transition over time.
- Play the “Agent” card more - these days nobody will learn new DLL, but having a way to quickly test it with my agent would convince more people to give it a try
Snippet -
```
document ::= ( comment | blank )* screen-line body
body ::= ( element-line | comment | blank )*
element-line ::= indent kind [ name ] meaning* [ modifiers ]
```
```
document = { template } ;
template = "@template", identifier, newline, { node }, "@end", line-end ;
node = group | row ;
group = "<", identifier, ">", newline, { node }, "</", identifier, ">", line-end ;
row = atom, { "|", atom }, line-end ;
atom = reference | component | spacer ;
reference = "[[", identifier, "]]" ;
component = "[", label, [ "|", identifier, { "|", property } ], "]" ;
property = identifier, "=", value ;
value = json-scalar | binding ;
label = label-part, { label-part } ;
label-part = literal-text | escape | binding ;
binding = "{", identifier, { ".", identifier }, "}" ;
spacer = "..." ;
line-end = newline | end-of-file ;
```
Still evolving.
Core idea is to be able to define interfaces in a minimal language, without going into too much details about attributes, say height, width, etc
- https://github.com/stencil-hq/slab
- https://github.com/expo/exact
Isn't HTML a DSL for UI? What's wrong with it?
“Show boxes”?
UI used to strive for making it easy for users to understand the software’s mental model, current state, and possible actions. Now it’s about looking cool (the same as the other cool kids).
XAML was a notoriously bad idea.
This doesn't look much better than that.
Language is extremely annoying.
I hate it