←back to thread

72 points b-man | 1 comments | | HN request time: 0.266s | source
Show context
BlimpSpike ◴[] No.44539960[source]
Kindof unrelated to the article, but I was recently wondering if it would be possible to detect and deny pointer cycles in a language in an efficient way, so that you could then use simple reference counting instead of full-blown garbage collection.

It probably wouldn't be usable for a general-purpose programming language, but for a special-purpose scripting language I could see it making the language implementation easier.

replies(6): >>44539978 #>>44540061 #>>44540517 #>>44540551 #>>44541083 #>>44541588 #
1. n_plus_1_acc ◴[] No.44540551[source]
Like Rust if it has no Rc?