News for hackers. Stuff that matters.
Re:Julia 1.6 Highlights by eigenspace on Thursday March 25, 2021 @03:15PM (#26584206)
Julia's garbage collector is quite good.

> I know that you shouldn't produce garbage, but I happen to like immutable data structures and those work better with optimised GCs.

If you use immutable data-structures in julia, you're rather unlikely to end up with any heap allocations at all. Unlike Java, Julia is very capable of stack allocating user defined types.

Re:Julia 1.6 Highlights by dan-robertson on Saturday March 27, 2021 @10:25AM (#26602476)
I think that’s true for small structs made of floats but not true for something like an immutable lisp-style linked list.
Re:Julia 1.6 Highlights by DNF2 on Monday March 29, 2021 @05:54AM (#26619416)
Not just floats, and I'm not sure they have to be that small. All sorts of structs containing bitstypes/value types can be stack allocated. In fact, even some structs with pointers to heap-allocated memory can be stack-allocated (such as array views.)

I don't know about linked lists, though.