|
|
|
|
|
by StefanKarpinski
1916 days ago
|
|
It doesn’t, it just doesn’t have a $100B GC like Java does. Rather than spending that kind of money trying to compensate for a language design that generates massive amounts of garbage (ie Java), Julia takes the approach of making it easier to avoid generating garbage in the first place, eg by using immutable structures that can be stack allocated and having nice APIs for modifying pre-allocated data structures in place. |
|
I've never seen a 10 million entry immutable set on the stack but I could be wrong.