News for hackers. Stuff that matters.
Re:Chris Lattner on garbage collection vs. Automatic Referen... by adgjlsfhk1 on Sunday April 24, 2022 @02:13AM (#31141692)
note that GCs are starting to cheat too. Julia (for example) is in the process of implementing compile time escape analysis which will be used to (among other things) remove allocations as long as the compiler can prove you won't notice.
Re:Chris Lattner on garbage collection vs. Automatic Referen... by hayley-patton on Sunday April 24, 2022 @03:32AM (#31141999)
Java, Go and JavaScript implementations do escape analysis already.
Re:Chris Lattner on garbage collection vs. Automatic Referen... by adgjlsfhk1 on Sunday April 24, 2022 @11:42AM (#31145122)
cool! (I gave the example of Julia, but because it's the best GC implementation (it's not), but because it's the implementation I know).