News for hackers. Stuff that matters.
Re:TornadoVM: Running Java on GPUs and FPGAs by pjmlp on Tuesday March 10, 2020 @11:39AM (#22536351)
Not necessarily, although the language does not guarantee it, flattening to structs does happen in some JITs.

Grated it isn't perfect, hence the value types proposal.

Here is one of the CUDA commercial offerings for Java and .NET,

https://developer.nvidia.com/altimesh-hybridizer

Re:TornadoVM: Running Java on GPUs and FPGAs by kllrnohj on Tuesday March 10, 2020 @01:30PM (#22537464)
> Not necessarily, although the language does not guarantee it, flattening to structs does happen in some JITs.

Only if escape analysis says it didn't go anywhere. Which works for iterators but it's not going to work for input & output arrays to this system, especially since it's asynchronous meaning it did escape the stack frame.