I recall seeing a thread a year or so back asking about specialization where someone at jetbrains responded that they wanted to wait and see what happened with valhalla so they wouldn't end up incompatible.
I've taken a similar approach with koma. If anything like the current valhalla builds makes it into openjdk, koma is ready to hit a button and take advantage of it (i.e. use its generic implementation and delete the specialized ones)
since that is on the horizon im not sure it makes sense to do any work to change the situation in the meantime. I guess you could say im optimistic valhalla will just fix the issue. and in the meantime, codegen works fine.
01/05/2019, 3:37 PM
It was Breslav himself if I remember correctly. And it was about value types, which is more complicated
The discussed proposal is good because it does not require language change. just the compiler plugin.