XS: A programming language. Anywhere, anytime, by anyone
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

XS is a newly introduced programming language that provides a statically-linked binary containing all essential development tools. It runs unchanged across multiple platforms, including Linux, macOS, Windows, and embedded systems. The launch aims to make coding more accessible and portable.

XS is a new programming language that offers a single, statically-linked binary containing the compiler, language server, debugger, formatter, linter, test runner, profiler, and package manager, capable of running unchanged across multiple platforms including Linux, macOS, Windows, and embedded systems. The project aims to enable anyone to develop and run code anywhere, at any time.

Before you orderOffer from Amazon

Get the latest gadgets delivered free with Prime

  • Fast, free delivery on millions of items
  • Prime Video, Amazon Music and more included
  • Member-only deals all year
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

The XS language is distributed as a compact 2.9MB binary, which includes support for various backends such as bytecode VM, JIT compiler, and transpilers to C and JavaScript. It is designed to be portable, with source code that functions identically on diverse operating systems and hardware architectures, including ARM and x86-64. Installation instructions are straightforward, with curl or PowerShell commands, and source code is hosted on GitHub, with release verification through SHA-256 checksums.

Benchmarks indicate that XS can execute a ‘hello world’ program in approximately 3 milliseconds on a Linux x86-64 machine, and its backend options support a range of development needs, from interpreted REPL to high-performance JIT compiled code. The project emphasizes minimal dependencies, with no runtime dependencies required beyond the static binary itself.

Why It Matters

This development matters because XS aims to simplify cross-platform programming, reducing setup complexity and dependency issues. Its all-in-one binary approach could streamline development workflows, especially for embedded systems and environments with limited resources. If widely adopted, it could influence how portable software is built and distributed, potentially impacting both hobbyist and professional programming communities.

Products Worth Considering

Jackery Explorer 2000 v2 Portable Power Station with Two 200W Solar Panels

Jackery Explorer 2000 v2 Portable Power Station with Two 200W Solar Panels

Apple AirPods Pro 3 Wireless Earbuds with Active Noise Cancellation

Apple AirPods Pro 3 Wireless Earbuds with Active Noise Cancellation

As an affiliate, we earn on qualifying purchases.

Background

Traditional programming languages often require multiple tools and dependencies to develop and run code across different platforms. XS emerges as an alternative by integrating these tools into a single binary, similar in concept to some embedded scripting languages but with broader system support. The project appears to be in early release stages, with ongoing development and community interest building around its unique portability and self-contained design.

“Our goal with XS is to make programming truly portable and accessible, enabling anyone to write and run code anywhere without worrying about dependencies.”

— XS project developer

“Having all development tools in one binary could revolutionize how we deploy software, especially in constrained environments.”

— Hacker News user

What Remains Unclear

It remains unclear how mature XS is in terms of stability and feature completeness. Adoption rates and community support are still developing, and compatibility with existing ecosystems or libraries has not yet been fully demonstrated. Additionally, the long-term performance and security implications of using a single self-contained binary across diverse environments are still to be evaluated.

What’s Next

Next steps include broader testing by developers, gathering user feedback, and expanding platform support. The XS team is expected to release updates, improve documentation, and potentially build an ecosystem of libraries and tools around the language. Monitoring community adoption and real-world use cases will be critical to assessing its future impact.

Key Questions

Is XS suitable for production use now?

XS is currently in early release, and while promising, it may not yet be ready for critical production environments. Users should evaluate its stability and compatibility based on their specific needs.

Can XS replace existing languages for cross-platform development?

While XS offers unique portability advantages, it remains to be seen whether it can fully replace established languages in complex projects. Its success will depend on community adoption and ecosystem growth.

What platforms does XS support?

XS supports Linux, macOS, Windows, iOS, Android, ESP32, Raspberry Pi, and WebAssembly, among others, with source code and binaries available for download.

How does XS compare in performance to other languages?

Benchmarks show that XS can execute programs in milliseconds, comparable to some native languages, but comprehensive performance comparisons are still ongoing.

You May Also Like

Tesla’s Level 2++ Supervised Full Self-Driving Approved In Belgium

Tesla’s supervised Full Self-Driving system gains approval in Belgium, marking a significant step in autonomous vehicle deployment across Europe.

Set Up a Guest Network for Smart Home Devices (The Safe Way)

A secure guest network for smart home devices is essential—discover how to set it up safely and protect your privacy.

The City That Watches Itself: The Living Digital Twin, and the God’s-Eye View We’re Building

Cities are developing dynamic digital twins integrated with real-time sensors and AI, creating a continuous, comprehensive view of urban life and infrastructure.

Weathergotchi – An E-Paper Climate Logger

A new E-Paper device called Weathergotchi tracks local climate data, offering users real-time environmental insights. Development confirmed, release upcoming.