frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

https://xslang.org
21•yacin•3h ago

Comments

skybrian•1h ago
It’s a bit hard to tell what’s interesting about the language itself.

On the website, the standard library lacks a table of contents, but you can see what it has here:

https://github.com/xs-lang0/xslang.org/tree/main/src/app/doc...

nine_k•39m ago
It's a small language that looks familiar if you know other imperative Algol-derived languages. The point is not in that, the point is a single binary for everything, and portability.

It's like busybox, which is unremarkable as Unix userland, but is interesting because it's a single small binary.

But beyond the standard Algolish stuff, XS seems to have quite a few modern niceties, such as traits, generics, closures, OOP, pattern-matching, and even algebraic effects.

__erik•55m ago
Here's a lot of really nice features in this language (I really like the actor / nursery designs), but a GIL in 2026 feels like a massive weakness
mpalmer•53m ago
All the copy is entirely generated. I can't find any actual human associated with this thing.

At this point, it doesn't really matter what the language does, because the author and I have mutual respect. There is none.

stefanos82•45m ago
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

nine_k•43m ago
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.
chrsw•30m ago
Interesting idea. I've fantasized about doing something similar myself. Like someone else in this thread already said though, looks very generated, unfortunately.
mccoyb•29m ago
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 encoding.

Who is this language for? Who is the audience, and what does the author intend to convey to them?

There's a ton of features -- are they used consistently? We have function overloading and traits. We have optional type annotations and effects -- the effects are handled with a (fragile) multi-shot continuation implementation (at least copy Leijen or libmprompt! that code is out there, free to use, and robust!)

There are two parallel type inference systems in `src/types`. The type system which the language actually uses is not consistent yet (see e.g. `inference.c`: "recursive type: bind anyways")

With that being said, I'd take the cross platform claims with an extreme grain of salt ...

timcobb•17m ago
> There are two parallel type inference systems in `src/types`

Oooof brutal. I agree it is remarkable people release stuff like this.

mccoyb•15m ago
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)

Alifatisk•9m ago
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.

Americans Are Smashing Flock Cameras

https://stateofsurveillance.org/news/flock-cameras-destroyed-nationwide-ice-backlash-2026/
214•rolph•1h ago•175 comments

I turned a $80 RK3562 Android tablet into a Debian Linux workstation

https://github.com/tech4bot/rk3562deb
123•tech4bot•5h ago•72 comments

I don't think AI will make your processes go faster

https://frederickvanbrabant.com/blog/2026-05-15-i-dont-think-ai-will-make-your-processes-go-faster/
343•TheEdonian•6h ago•263 comments

The occasional ECONNRESET

https://movq.de/blog/postings/2026-05-05/1/POSTING-en.html
20•zdw•1h ago•2 comments

Security researcher says Microsoft built a Bitlocker backdoor, releases exploit

https://www.techspot.com/news/112410-security-researcher-microsoft-secretly-built-backdoor-bitloc...
397•nolok•4h ago•165 comments

Mercurial, 20 years and counting: how are we still alive and kicking? [video]

https://fosdem.org/2026/schedule/event/AGWUVH-mercurial-aint-you-dead-yet/
16•ibobev•2d ago•0 comments

Hindenburg's Smoking Room

https://www.airships.net/hindenburg-smoking-room/
65•crescit_eundo•2d ago•29 comments

Native all the way, until you need text

https://justsitandgrin.im/posts/native-all-the-way-until-you-need-text/
287•dive•6h ago•196 comments

Meta deletes popular 1M follower account after Kuwaiti request

https://twitter.com/ryangrim/status/2055992439031185782
45•bhouston•1h ago•7 comments

Prolog Basics Explained with Pokémon

https://unplannedobsolescence.com/blog/prolog-basics-pokemon/
148•birdculture•2d ago•25 comments

Every AI Subscription Is a Ticking Time Bomb for Enterprise

https://www.thestateofbrand.com/news/ai-subscription-time-bomb
286•mooreds•6h ago•277 comments

CUDA Books

https://github.com/alternbits/awesome-cuda-books
56•dariubs•5h ago•8 comments

High-Entropy Alloy

https://en.wikipedia.org/wiki/High-entropy_alloy
56•leonidasrup•3d ago•6 comments

AI is a technology not a product

https://daringfireball.net/2026/05/ai_is_technology_not_a_product
175•ch_sm•5h ago•58 comments

EU weighs restricting use of US cloud platforms to process sensitive gov data

https://www.osnews.com/story/144943/eu-weighs-restricting-use-of-us-cloud-platforms-to-process-se...
18•abdelhousni•47m ago•2 comments

Zerostack – A Unix-inspired coding agent written in pure Rust

https://crates.io/crates/zerostack/1.0.0
501•gidellav•19h ago•277 comments

Mistral's CEO: Europe has 2 years to stop becoming America's AI 'vassal state'

https://www.businessinsider.com/mistral-ceo-warns-europe-2-years-avoid-us-ai-dependence-2026-5
66•LelouBil•2h ago•71 comments

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

https://xslang.org
22•yacin•3h ago•11 comments

Apple Silicon costs more than OpenRouter

https://www.williamangel.net/blog/2026/05/17/offline-llm-energy-use.html
222•datadrivenangel•6h ago•188 comments

WHO Declares Ebola Outbreak a Global Health Emergency

https://www.nytimes.com/2026/05/17/world/africa/ebola-congo-uganda-who-public-health-emergency.html
200•zzzeek•4h ago•109 comments

Mozilla to UK regulators: VPNs are essential privacy and security tools

https://blog.mozilla.org/netpolicy/2026/05/15/mozilla-to-uk-regulators-vpns-are-essential-privacy...
522•WithinReason•11h ago•229 comments

Agentic Trading with Safe Guardrails

https://github.com/ShurikenTrade/shuriken-skills
34•jgan0978•5h ago•17 comments

Colossus: The Forbin Project

https://en.wikipedia.org/wiki/Colossus:_The_Forbin_Project
185•doener•2d ago•63 comments

A nicer voltmeter clock

https://lcamtuf.substack.com/p/a-nicer-voltmeter-clock
275•surprisetalk•19h ago•34 comments

Hosting a website on an 8-bit microcontroller

https://maurycyz.com/projects/mcusite/
203•zdw•16h ago•17 comments

Scientists believe ibogaine can help veterans overcome PTSD

https://www.bbc.com/future/article/20260514-how-hallucinogenic-ibogaine-helps-veterans-overcome-ptsd
51•bushwart•6h ago•43 comments

Moving away from Tailwind, and learning to structure my CSS

https://jvns.ca/blog/2026/05/15/moving-away-from-tailwind--and-learning-to-structure-my-css-/
627•mpweiher•1d ago•352 comments

How Diamonds Are Made

https://diamond.jaydip.me/
64•lemonberry•1d ago•40 comments

Mado: Fast Markdown linter written in Rust

https://github.com/akiomik/mado
38•nateb2022•2d ago•2 comments

OpenAI and Government of Malta partner to roll out ChatGPT Plus to all citizens

https://openai.com/index/malta-chatgpt-plus-partnership/
284•bookofjoe•22h ago•306 comments