Settings

Theme

A language like C, but with a borrow-checker

2 points by orangetuba 2 years ago · 5 comments · 1 min read


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.

heldrida 2 years ago

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

But it’s meant for AI

steveklabnik 2 years ago

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

  • orangetubaOP 2 years ago

    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.

simon_void 2 years ago

check out Inko https://inko-lang.org/

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection