News for hackers. Stuff that matters.
Re:Starting a tech startup with C++ by drderidder on Saturday January 02, 2016 @01:09PM (#10827070)
Well said! Dynamic memory allocation is a really big performance hit, and in a lot of cases you can pre-allocate data structures on the stack for serious speed improvements. Avoiding DMA was one of the secrets for writing blazing fast real time systems stuff when I was in telecom. I don't think those benefits have gone away.
Re:Starting a tech startup with C++ by kristoffer on Saturday January 02, 2016 @01:31PM (#10827185)
You and I can't possibly have the same definition of DMA. It is essential to low latency data communication both in the embedded and server domain.
Re:Starting a tech startup with C++ by emcq on Saturday January 02, 2016 @01:42PM (#10827256)
I think he was using a new acronym for Dynamic Memory Allocation rather than Direct Memory Access. I also was confused the first time I read it.
Re:Starting a tech startup with C++ by bitwize on Saturday January 02, 2016 @01:40PM (#10827246)
"Dynamic memory allocation", not "direct memory access".
Re:Starting a tech startup with C++ by kristoffer on Saturday January 02, 2016 @01:52PM (#10827310)
Ah never seen dynamic memory allocation written as DMA before. Maybe obvious from the context but DMA really only has one meaning for me :)
Re:Starting a tech startup with C++ by vram22 on Sunday January 03, 2016 @08:10AM (#10830461)
I thought he meant the hardware-related meaning of DMA too, for a second. But the first line of his comment is:

>Well said! Dynamic memory allocation is a really big performance hit