News for hackers. Stuff that matters.

Ask HN: What is the best non mainstream programming language or stack in 2026?

Out of curiosity I started developing in lisp, mindblown. Basically big language like Java, Javascript, C#, Python have a lot of momentum compared to more niche, academic languages like LISP, SmallTalk, Erlang, Haskell.

What is your experience with these languages in the era of LLM, where you now is able to create libraries on demand and better tooling ?

( 9 comments | on HN )
Re:Ask HN: What is the best non mainstream programming langu... by austin-cheney on Wednesday November 04, 2026 @03:03AM (#50362622)
I still prefer vanilla TypeScript whether writing a browser application, command line application, or both. The language is extremely mainstream but the mere mention of not using common abstractions will trigger holy wars from people who cannot program.
Re:Ask HN: What is the best non mainstream programming langu... by talmr on Wednesday November 04, 2026 @03:31AM (#50362817)
With LLMs, I choose tooling based on the task.

If I need to do some systems level engineering, I’ll reach for Go or Rust. There is generally no reason to use Rust first, because 99% of us will not need 99 percentile performance. I also find Rust to be a tougher language. 98 percentile performance with Go is fine, where there are usually one or at most 3 ways to do something.

If I need web API services, I’ll use typescript for the ecosystem. Most providers offer SDKs and the broader ecosystem is rich. I can use node or bun, and these services can scale nicely at a reasonable $/maintenance/performance ratio.

I’ll reach for Docker because compute is now expensive and dedicated hosting is cheaper than AWS/GCP. I can get a 2020-2022 processor with 128gb RAM and generous bandwidth for $100-200 a month.

Re:Ask HN: What is the best non mainstream programming langu... by amanbirs on Wednesday November 04, 2026 @06:11AM (#50363946)
I always enjoyed clojure. It had a steeper learning curve than something like python, but you could build really powerful systems and abstractions. Now a lot of that joy is gone and you're probably best off going for the most performant language (ex. Rust, go etc)
Re:Ask HN: What is the best non mainstream programming langu... by kbrannigan on Wednesday November 04, 2026 @11:22AM (#50367840)
I tried rust but the compilation times often make it hard to get into a flow state. I have no idea why it takes so long to compile. I thought low level languages compiled faster.
Re:Ask HN: What is the best non mainstream programming langu... by iainctduncan on Wednesday November 04, 2026 @10:16AM (#50366784)
If you enjoyed Lisp, you should definitely check out Scheme, Racket, and Clojure. Scheme is my personal favourite language. OCaml is also great.

I use s7 Scheme hosted inside C apps. One of the cool things about Scheme is that are a lot of different ways of using it. (embedded, compiling to C, standalone, etc).

Re:Ask HN: What is the best non mainstream programming langu... by adrianwaj on Wednesday November 04, 2026 @06:23PM (#50372839)
Just built HN BigHits https://hackertrain.future-secured.com/bighits/

"BigHits is a TypeScript 5 application using Svelte 5, SvelteKit 2 and Vite 5, with the Node.js adapter. It runs on Node.js 26 with npm 11.20.0 through Phusion Passenger and includes server-side API endpoints and a separate background TTS worker."

You can ask: "For hosting: can this app can be distributed across multiple 'boxes' with varying prices? How to optimize for price?"

And then arrive at some sort of hybrid solution. The hosting environment is key - that informs of the possible stack choices. What canvas are you starting on?

Re:Ask HN: What is the best non mainstream programming langu... by linesofcode on Wednesday November 04, 2026 @06:32PM (#50372921)
LLMs let you choose the best language / stack for the problem you’re solving. My experience is that I’m able to build very performant Rust to solve some niche problems without having written a line of Rust code in my life. Without LLMs I would have defaulted to the languages I know and/or produce sub-par results trying to do in Rust.

I choose the best language / stack / framework for my use-case and build.

Re:Ask HN: What is the best non mainstream programming langu... by hackermailman on Wednesday November 04, 2026 @09:00PM (#50374142)
OxCaml is interesting you can choose the layout of the memory and finely tune the GC https://oxcaml.org/
Re:Ask HN: What is the best non mainstream programming langu... by Byte-Naut on Thursday November 05, 2026 @11:19PM (#50388136)
Rust + Typescript is all you need