Julia on embedded devices & validation thereof

Yeah preallocating + zero allocations is great for improving the performance of isolated methods, and the approach can be scaled up to a whole program, but it’s still very much a limitation. I was thinking more of Julia being used for smaller embedded programs when StaticCompiler.jl matures, not anything on the scale of video game programming where, from what I’ve read, people need allocators or an incremental GC (Unity, Unreal). There’s been discourse discussions about these things for soft real-time in general, but I don’t know of any ongoing effort to implement those. I have read about recent work on improving escape analysis, in part to reduce garbage (remember, mutable/immutable is not synonymous with heap/stack); EDIT: This comment does a better job summarizing than I ever could.

3 Likes