It doesn't need embedding. But if it did, cpython is trivial to embed, and beats starlark in that it already has all the features your users (and Claude) know about.
It occurred to me a few weeks ago why programming languages don't just try add metaprogramming capabilities with comments, without modifying the original compiler. So I went ahead and experimented how would it look like in golang.
So far so good! It's basically go templates that take in any package level go symbol and write code into a meta.go file.
You can do the same with the go/ast package, but metago makes it very easy to add your own custom transformations. No build tags, just write .metago templates, annotate structs, and run metago.
So far I've managed to make stringer, enums, mocks and even an efficient json serde template with metago. As an experiment, there's also a typesafe active record like orm in the repo. So you can do a lot with it!
I think people are overfocusing on the wrong thing.
Bun is slop. Let's not pretend it is not. It went from 600k lines of zig to almost a million of rust, for a wrapper around a js engine. It might be useful slop, but it is still slop.
It's understandable to have mixed feelings about bun as the creator of the language.
You spend 10 years of your time making a language, and one of the most prominent projects that uses it does it in a nasty and sloppy way. You try to help, but your advice gets ignored.
You make a whole language about improving software quality, only to be associated with a project that doesn't care about it.
For once I do appreciate that somebody is willing to have the guts to say what they think. The bun rust rewrite article said no words about the tradeoffs of moving to Rust (compilation times?), and I agree with the false dichotomy presented. How do we know that most bun bugs were not created because of slop / AI usage / stubbornness?
You already have this problem whenever you are using a library in any programming language. Unless you are extremely strict, vendor it and read line by line what the library does, you are just trusting that the code that you are using works.
And nothing is stopping the AI from making the unreadable mess more readable in later iterations. It can make it pass the spec first and make it cleaner later. Just like we do!
I think you missed the point. This was about whether proven-correct-but-unmaintainable-by-a-human is preferable over maintainable-but-not-proven-correct. I argued that no, it is not. If you change the two options at hand, then of course the outcome can be different.
Thanks for the kind feedback! I totally get the appeal of daisyUI – super quick to drop in and great for prototyping.
With TemplUI, I’m aiming for a more minimal, dependency-free setup – no extra Tailwind plugins or runtime JS unless absolutely needed. The idea is to stay as close to the metal as possible and let devs build their own design system on top, rather than fight against a pre-styled one.
It's less “drop-in UI kit” and more “starter kit to build your own.” That makes it more customizable and hopefully a better fit for projects that want full control.
For several years in a row, I was living every day suffering from severe sleep deprivation. I was not merely homeless, but living on the streets, and I became really intent on walking around all night, rather than trespass or sit down for a rest, in someplace where I didn't belong. Or I would sit in the IHOP, and drink 2 pots of coffee and stare, zombie-like, until the Sun rose. So I lost a lot of sleep and I dozed whenever possible, and not in a bed, but often seated at a table, with my arms folded, and my face buried in those folded arms, while others made chit-chat and the music played around me.
Well, I'd get into an enclosed space with lots of people, and I'd begin to pass out. It happened a lot in church. We'd be singing and standing and sitting and kneeling, and I'd be just ready to conk out and go to sleep. And I would do crazy things like, lunging for the thermostat because it felt so warm and close in there. I thought everyone was feeling the same stale, stuffy air as I was. I don't know. It would also happen in the coffeehouses, but sleep was guaranteed to overcome me during liturgies.
But I came to believe that it was a CO2 buildup sort of situation. With a lot of human bodies in a closed space, and we were all vocalizing for an hour or so, and it was winter so perhaps the heat was on, or the air conditioning was turned off. And so CO2 buildups were the most likely thing.
Once I was housed, and able to catch up on sleep, it doesn't happen anymore. I did complain to my doctor and I asked him if I may have COPD. He insisted that I breathed better than he did. He brought in two young Medical Assistant ladies to do this breathing exercise so that he could prove there's nothing wrong with me. Of course we didn't get to that point of discussing sleep deprivation, because you can't medicate that. Well, a psychiatrist could try, with extra-drowsy meds. And they did try. I resented that.
reply