Live data from Hacker News

XS: A programming language. Anywhere, anytime, by anyone

xslang.org

11–20 of 44 posts

Re: XS: A programming language. Anywhere, anytime, by anyone

#11
post #9

This language, README, website has been written by AI agents. At one point, the author may have written a fair bit of code by hand (starting with a Crafting Interpreters project, and then adapting it recently using agents?). The commit history is very confusing. The design of the VM is nearly identical to the clox interpreter in Crafting Interpreters . There's also a bit of Lua inspiration mixed in the instruction en…

If the author sees this, I don't mean to be harsh! It's possible I'm mistaken: I'm just going off of a few "smells"

Very impressive if I'm wrong (hopefully some of the comments help you prune some of these smells, if you wish)

Re: XS: A programming language. Anywhere, anytime, by anyone

#13
post #6

Perl developers that depend on XS [1] for extending their code's behavior will have a "lovely" time with this lol! Here's an example https://github.com/adriaandens/XSamples/blob/master/XSamples... [1] https://perldoc.perl.org/perlxs

While at it: How much Perl code is still running in production? I only know about two large Perl codebases, at Debain, and at booking.com.

I thought CraigsList and maybe eBay?

Re: XS: A programming language. Anywhere, anytime, by anyone

#14
The docs feel AI generated.

There are a lot of words related to language design like tree walk interpreter, algebraic effects, and semantic analyzer. But no real content about the language design, motivation, or what distinguishes it from other languages.

Also strange to start of the language introduction with an entire page dedicated to comments and how white space is handled.

If this was written by a human, I how it is taken as constructive criticism to consider what key points you want to convey before people bounce off of a page.

Re: XS: A programming language. Anywhere, anytime, by anyone

#15

Initially, the page looked very intriguing and the promises looked every fascinating. A whole DX toolchain in one binary? The binary can run in different systems? Only 3 MB? Then I read the comments here saying its ai slop, I lost all my interest now.

why? why you should care if it is human written or by ai, if the result is the same?

Re: XS: A programming language. Anywhere, anytime, by anyone

#16
post #6

Perl developers that depend on XS [1] for extending their code's behavior will have a "lovely" time with this lol! Here's an example https://github.com/adriaandens/XSamples/blob/master/XSamples... [1] https://perldoc.perl.org/perlxs

While at it: How much Perl code is still running in production? I only know about two large Perl codebases, at Debain, and at booking.com.

Not 'large Perl codebases', but I know an awful lot of 'small Perl codebases', relatively speaking, doing the sort of sysadmin stuff Perl was designed to do. It's still a great scripting language, and there's a lot of folks who didn't get the memo that cool kids don't use Perl any more.

Re: XS: A programming language. Anywhere, anytime, by anyone

#17

Initially, the page looked very intriguing and the promises looked every fascinating. A whole DX toolchain in one binary? The binary can run in different systems? Only 3 MB? Then I read the comments here saying its ai slop, I lost all my interest now.

why? why you should care if it is human written or by ai, if the result is the same?

Traditionally if a human spent some of their limited time here on Earth to create something, they must have believe there was some value in it, and other humans will be inclined to spend a bit of their limited time here on Earth to take a look and see if they value it as well. Sometimes, the only person who values it is the creator, but often other people will value it as well.

I can only speak for myself, but I'm not going to use the precious time I have alive wading through the mountains of schlock that LLMs can spew out looking for anything of value. I'm interested in things a human wanted to spend their finite time doing instead of something else.

Post reply on HN