News for hackers. Stuff that matters.
Re:Porting a Ray Tracer to Rust, Part 1 by CyberDildonics on Wednesday December 31, 2014 @08:16AM (#8819210)
That is a valid and useful technique, but being able to dynamically allocate stack memory in the first place is separate from using placement new on stack memory.
Re:Porting a Ray Tracer to Rust, Part 1 by berkut on Wednesday December 31, 2014 @08:19AM (#8819226)
Of course, I was just pointing out it's not always necessary to use alloca - I've written a production-level path-tracer without needing to allocate stack memory dynamically.