frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Rue: Higher level than Rust, lower level than Go

https://rue-lang.dev/
18•ingve•1h ago

Comments

andsoitis•1h ago
> Memory Safe

> No garbage collector, no manual memory management. A work in progress, though.

I couldn't find an explanation in the docs or elsewhere how Rue approaches this.

If not GC, is it via:

a) ARC

b) Ownership (ala Rust)

c) some other way?

steveklabnik•32m ago
I am playing around with this! I'm mostly interested in something in the space of linear types + mutable value semantics.
echelon•29m ago
Nice! I see you're one of (if not the primary) contributor!

Do you see this as a prototype language, or as something that might evolve into something production grade? What space do you see it fitting into, if so?

You've been such a huge presence in the Rust space. What lessons do you think Rue will take, and where will it depart?

I see compile times as a feature - that's certainly nice to see.

steveklabnik•13m ago
This is a project between me and Claude, so yeah :)

It's a fun project for me right now. I want to just explore compiler writing. I'm not 100% sure where it will lead, and if anyone will care or not where it ends up. But it's primarily for me.

I've described it as "higher than Rust, lower than Go" because I don't want this to be a GC'd language, but I want to focus on ergonomics and compile times. A lot of Rust's design is about being competitive with C and C++, I think by giving up that ultra-performance oriented space, I can make a language that's significantly simpler, but still plenty fast and nice to use.

We'll see.

jameskilton•32m ago
Probably best to link to the repo itself, this is not meant to be used yet. https://github.com/rue-language/rue
killingtime74•27m ago
I always thought of Go as low level and Rust as high level. Go has a lot of verbosity as a "better C" with GC. Rust has low level control but many functional inspired abstractions. Just try writing iteration or error handling in either one to see.
steveklabnik•11m ago
Rue author here, yeah I'm not the hugest fan of "low level vs high level" framing myself, because there are multiple valid ways of interpreting it. As you yourself demonstrate!

As some of the larger design decisions come into place, I'll find a better way of describing it. Mostly, I am not really trying to compete with C/C++/Rust on speed, but I'm not going to add a GC either. So I'm somewhere in there.

norir•25m ago
I wince every time I see naive recursive fibonacci as a code example. It is a major turnoff because it hints at a lack of experience with tail call optimization, which I consider a must have for a serious language.
stouset•20m ago
Would someone please explain to me why TCO—seemingly alone amongst the gajillions of optimization passes performed by modern compilers—is so singularly important to some people?
aaronblohowiak•14m ago
functional programming background / SICP ?
Rusky•13m ago
TCO is less of an optimization (which are typically best-effort on the part of the compiler) and more of an actual semantic change that expands the set of valid programs. It's like a new control flow construct that lives alongside `while` loops.
oersted•11m ago
For people that like functional style and using recursion for everything, TCO is a must. Otherwise there’s no way around imperative loops if you want decent performance and not having to worry about the stack limit.

Perhaps calling it an “optimization” is misleading. Certainly it makes code faster, but more importantly it’s syntax sugar to translate recursion into loops.

steveklabnik•15m ago
I only have basic constant folding yet in terms of optimizations, but I'm very aware of TCO. I haven't decided if I want to require an annotation to guarantee it like Rust is going to.

Solar storms could hit Earth and produce auroras

https://www.pbs.org/newshour/science/severe-solar-storms-could-hit-earth-space-forecasters-say-he...
1•QueensGambit•4m ago•0 comments

Ranked: The Best Countries at Math

https://www.visualcapitalist.com/ranked-the-best-countries-at-math/
1•amichail•7m ago•0 comments

Show HN: Don't trust your docs, codument instead

https://benquemax.com/essay/codumentation
2•markkuhaukka•8m ago•0 comments

Palantir and Nvidia Team Up to Operationalize AI

https://nvidianews.nvidia.com/news/nvidia-palantir-ai-enterprise-data-intelligence
3•int_19h•10m ago•1 comments

The Quest to Replace My MagSafe Cable

https://nickoates.com/blog/quest-magsafe-replacement
2•nickoates•14m ago•2 comments

AI Leaderboard Overview

https://lmarena.ai/de/leaderboard
1•doener•15m ago•0 comments

Apple announces sweeping App Store and iPhone changes in Japan

https://9to5mac.com/2025/12/17/apple-announces-sweeping-app-store-and-iphone-changes-in-japan/
4•CharlesW•17m ago•2 comments

Oracle became a 'poster child' for AI bubble fears

https://finance.yahoo.com/news/how-oracle-became-a-poster-child-for-ai-bubble-fears-150039511.html
2•doener•18m ago•0 comments

Food becoming more calorific but less nutritious due to rising carbon dioxide

https://www.theguardian.com/environment/2025/dec/19/higher-carbon-dioxide-food-more-calorific-les...
2•mikhael•22m ago•0 comments

LVM Thin Provisioning (2016)

https://storageapis.wordpress.com/2016/06/24/lvm-thin-provisioning/
2•indigodaddy•24m ago•0 comments

CPU Autoscaling with a Kernel of Truth

https://dl.acm.org/doi/10.1145/3725783.3764407
1•matt_d•26m ago•0 comments

The Cognitive Burden of Garbage Collection vs. Move Semantics (2023)

https://insanitybit.github.io/2023/06/09/Java-GC-Rust
1•todsacerdoti•29m ago•0 comments

The existential balm of seeing yourself as a verb, not a noun

https://psyche.co/ideas/the-existential-balm-of-seeing-yourself-as-a-verb-not-a-noun
1•NaOH•30m ago•0 comments

Show HN: A faster way to generate consistent UI avatars without full 3D workflow

https://characterforge.app/
1•xtrivity•30m ago•0 comments

Processing Fees and Settlement Delays Solution

1•dixonlin•32m ago•0 comments

The Future of Film Is Behind Us: Whatever Happened to 3-D?

https://www.theatlantic.com/technology/2025/12/avatar-fire-ash-3-d/685370/
3•fortran77•35m ago•1 comments

FOSDEM'26 (31 Jan & 1 Feb)

https://fosdem.org/2026/
4•reconnecting•37m ago•1 comments

Future Materials Bank

https://www.futurematerialsbank.com/
3•andsoitis•38m ago•0 comments

As U.S. Guns Pour into Canada, the Bodies Pile Up

https://www.nytimes.com/2025/12/21/world/americas/canada-gun-violence-us.html
5•bookofjoe•38m ago•4 comments

John Schulman on dead ends, scaling RL, and building research institutions [video]

https://www.youtube.com/watch?v=29BYxvvF1iM
1•gmays•38m ago•0 comments

Fabrication Techniques Using Myco-Materials

https://encyclopedia.pub/entry/27602
1•andsoitis•40m ago•0 comments

Show HN: Nrawg – Not Really A Word Game

https://nrawg.com/
1•toastar•40m ago•0 comments

<ForeignObject> – SVG

https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/foreignObject
1•amadeuspagel•41m ago•0 comments

Handheld PC Community Forums

https://www.hpcfactor.com/forums/category-view.asp
1•walterbell•44m ago•0 comments

Building Wine from Source on an M2 Mac

https://idrewsomeshapes.ca/posts/2025/12/building-wine-from-source-on-an-m2-mac/
1•lemonsalsa•45m ago•1 comments

The Dawn of a World Simulator

https://odyssey.ml/the-dawn-of-a-world-simulator
1•olivercameron•46m ago•0 comments

Show HN: I built a 1‑dollar feedback tool as a Sunday side project

https://onedollarfeedback.com/
3•jeremy0405•52m ago•0 comments

I don't want streaming music, I just want to stream my music (2023)

https://www.coryd.dev/posts/2023/i-dont-want-streaming-music-i-just-want-to-stream-my-music
2•cdrnsf•54m ago•1 comments

Broadcom Changing Licensing to BSL

3•CubsFan1060•56m ago•2 comments

Disney Imagineering Debuts Next-Generation Robotic Character, Olaf

https://disneyparksblog.com/disney-experiences/robotic-olaf-marks-new-era-of-disney-innovation/
2•ChrisArchitect•57m ago•1 comments