News for hackers. Stuff that matters.
Re:Myths Programmers Believe about CPU Caches (2018) by codetrotter on Wednesday November 20, 2019 @09:11PM (#21590830)
I agree with you Jonathan but am wondering, will Jai help programmers write programs with better cache coherency even if said programmers don’t understand cache coherency well? Or is that orthogonal to the goals of Jai?
Re:Myths Programmers Believe about CPU Caches (2018) by naikrovek on Wednesday November 20, 2019 @09:20PM (#21590878)
Like any reasonable language, I imagine JAI will allow a developer to write software with the cache in mind. It will not force them to, nor will it prevent them from doing otherwise.
Re:Myths Programmers Believe about CPU Caches (2018) by cma on Wednesday November 20, 2019 @09:20PM (#21590877)
If it still plans on wrapping SOA in something that looks in use like AOS, it could make people less aware of how their code is impacting cache (would now have to look at the definitions instead of seeing the array form at point of usage). But if it is enough more ergonomic to write AOS code it might still be worth it and increase uptake.
Re:Myths Programmers Believe about CPU Caches (2018) by Sean1708 on Thursday November 21, 2019 @09:43AM (#21594448)
The developer would still need to understand enough to be able to choose between them though, even if using them is identical.
Re:Myths Programmers Believe about CPU Caches (2018) by BubRoss on Thursday November 21, 2019 @02:38PM (#21598524)
Only if he releases it