Skip to content

A language like C, but with a borrow-checker

2 pointsorangetuba4 comments
On HN

I really appreciate the idea of a Rust-like borrow-checker, but I think Rust is too complicated. Wouldn't it be possible for someone to make a smaller language like C, but with a borrow-checker? It seems that most of the aversion to Rust is the sum of its complexity.

Comments

There’s https://www.modular.com/mojo a Python superset

But it’s meant for AI

You may be interested in this post and the one it is refining: https://without.boats/blog/revisiting-a-smaller-rust/

Excellent, that's precisely the thing I was looking for! Thank you! I see that there are some tricky issues that would have to be solved with regards to ergonomy, even with an imagined subset of Rust.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.