Get the latest tech news

Borrow-checking without type-checking


This is a demo of a toy language with dynamic typing, inline values, stack allocation, interior pointers, single ownership, and a limited form of borrowing - less expressive than rust, but much more expressive than second-class references (eg we can express external iterators). Since there is no static typing the borrows must be checked dynamically.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of checking

checking

Related news:

News photo

Flagging misinformation on social media reduces engagement, study finds. Crowd-sourced fact-checking of potentially misleading information is an effective tool to combat online misinformation, according to a new study.

News photo

Musk’s war on Wikipedia is a fight for a future without fact-checking

News photo

X Will Deploy AI to Write Community Notes, Expand Fact-Checking