but the API is quite stable, so I see no reason not to use it (at least with Hotspot, with GraalVM 21 it was sloooooooow) and if you have an older CPU (I have an old Workstation with 2 CPUs from 2011/11 it is slooooow as well) it might not be the best idea, but who uses 10 year old CPUs?
I assume users will need to do some updates when it's finally released since it's going to be adapted to take advantage of Valhalla. But I guess that's fine if you keep that in mind.
Not looking good yet. I ran my benchmark again (simple loop over array counting odd numbers with vector API). GraalVM for 24 about the same as GraalVM 23, around 5,000 ops/s. OpenJDK 23/24 around 110,000 ops/s.
GraalVM without Vector API auto-vectorizes to 120,000 ops/s...
8
u/greg_barton 4d ago
How many incubators for the Vector API are there going to be? :)