Joining the list
leerho
leerho at gmail.com
Sun Dec 20 18:59:07 UTC 2020
August,
Thank you, this was a big help. There was one more step: set the VM
arguments to "--enable-preview".
I've been on Eclipse for many years, now I'll have to learn Intellij :(.
I'm hoping the Community version will suffice.
Cheers,
Lee.
On Sun, Dec 20, 2020 at 4:20 AM August Nagro <augustnagro at gmail.com> wrote:
> HI Lee,
>
> Your email isn't meant for me, but I'm doing some holiday
> experimentation too, and can help with the last part. In Intellij, go
> to Project Structure, set the Project SDK to your Java 16 build, and
> Project Language Level to 'SDK default (X - Experimental Features)'.
> Make sure your maven compiler configuration is updated as well:
>
> ```
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-compiler-plugin</artifactId>
> <version>3.8.1</version>
> <configuration>
> <release>16</release>
> <compilerArgs>
> <arg>--enable-preview</arg>
> <arg>--add-modules</arg>
> <arg>jdk.incubator.vector</arg>
> </compilerArgs>
> </configuration>
> </plugin>
> </plugins>
> </build>
> ```
>
> Everything will then 'just work.' I don't use Eclipse, but I imagine
> it's more difficult since they have their own incremental compiler.
>
> On Sat, Dec 19, 2020 at 3:14 PM leerho <leerho at gmail.com> wrote:
> >
> > Hello,
> > The Foreign Memory Access API has evolved to the point where I would like
> > to do some characterization studies on its performance compared to
> Unsafe.
> > We are currently stuck on JDK8/Unsafe and have been anxiously waiting for
> > this FMA API to become available where we can seriously consider moving
> > away from Unsafe.
> >
> > At Verizon Media, we have a number of large systems processing massive
> data
> > that could benefit by this transition.
> >
> > I am also the PMC Chair of the Apache DataSketches Project
> > <https://datasketches.apache.org>. where we also use Unsafe to improve
> the
> > performance of our streaming algorithms that are used in a number of big
> > data applications. We also have a number of large data processing
> > customers that use our sketches for processing massive data. Our
> > DataSketches project also implements many of our streaming algorithms in
> > C++. So we would also be able to share with you how the same algorithm
> > performs in Java16(FMA), Java8(Unsafe), and C++. Since all of our code
> is
> > open-source you would be able to see how we are implementing FMA (and
> > suggest ways we could do it better :) )
> >
> > With a little bit of guidance from you folks, we are willing to do some
> > extensive testing and share with you the results. The opportunity for
> you
> > would be to see how your proposed API actually performs in a real-world
> > application that may be different from what you have experienced.
> >
> > To get started, I have one simple question: What IDE do you use for
> > development? Neither IntelliJ nor Eclipse supports JDK16 yet. So I'm
> > curious how your team gets around this issue.
> >
> > Cheers,
> > Lee Rhodes
> > Distinguished Architect, Verizon Media
> > VP, PMC Chair, Apache DataSketches Project
>
More information about the panama-dev
mailing list