Tech News
← Home  ·  All topics

Valen

2 GoKawiil briefs on this topic · RSS for valen

Vale language proposes backward-scan algorithm for borrow checking

A blog post describes an experimental approach to memory safety checking in the Vale programming language, which scans function code in reverse order to detect use-after-free errors. The algorithm tracks variable usage, mutation, and declaration events as it walks backward through desugared code, flagging cases where a mutation could invalidate a pending reference. The author presents this as a novel technique and explicitly asks readers to review it for flaws.

Valen language debuts new borrow-checking model for memory safety

Evan Ovadia has published details of a new borrow checker for the Valen programming language, which he describes as more flexible than existing systems. The design uses a single kind of borrow reference rather than the two typically found in other borrow checkers, and includes a feature that lets the compiler track where a reference points. Some syntactic features, such as auto-deref and direct struct indexing, are planned for a November release.