Hacker News new | ask | show | jobs
by frizlab 7 days ago
Mmmh I don’t know about most of the languages with which this language compares itself in the readme, but for Swift it seems that the comparison is either out-of-date or misinformed.

- thread-safety (no race conditions): Swift has full concurrency checks since Swift 6, which prevents race-conditions*.

- compile-time calculations: Macros can permit compile-time compilations. The syntax is not lightweight, that’s for sure, but it is possible. And you can do much more than “just” compile-time compilation.

- references (with auto reference creation and dereferencing): I am not fully sure what this is about, but classes are references…

*Logical race-conditions are still, obviously, possible, but unsafe concurrent access to the same variables are not.