JavaCL 1.0.0-RC1 released : switched to BridJ, added FFT utils and UJMP matrices, bugfixes, API updates…

20 views
Skip to first unread message

Olivier Chafik

unread,
Jun 22, 2011, 7:34:11 PM6/22/11
to nativel...@googlegroups.com
Hi all,

After a very long wait (sorry about that), here's finally the first Release Candidate for JavaCL 1.0 !

The (important) release notes are here :
http://ochafik.com/blog/?p=615

Please beware : the BridJ port of JavaCL is now the default version (the JNA version is still available, with the "-jna" suffix on the Maven artifact), and you'll have to perform some small migration work to use it if you've already got JavaCL code :

Also, there is now a small tutorial for JavaCL (suggestions or contributions are welcome to enhance it) :
Feedback is always welcome, but this time it's gonna be more important than usual : I need your help to finalize version 1.0 out of this Release Candidate (and hopefully there won't be many more candidates before the final release ;-))

Kazó Csaba

unread,
Jun 23, 2011, 7:53:00 AM6/23/11
to nativel...@googlegroups.com
Hi Olivier,


Cheers for your great work! Very exciting, getting closer to 1.0.

I've updated my little JavaCLPP library to the release candidate. It went quite smoothly, the changes to the API make it feel more coherent. The Pointer class, which I'm really getting to know for the first time, is feature-rich and in general seems more comfortable to use than the NIO buffers.

So I'm quite happy with the changes, and thank you for making it all happen!


Csaba

jcpalmer

unread,
Jun 23, 2011, 9:51:21 AM6/23/11
to NativeLibs4Java
Olivier,
Being that Java 7 is close, and JavaCL uses external resources, you
might look into some minor changes for 1.0 that make using Automatic
Resource Management easy to switch to.

FYI, my impression of ARM's improvement over finalize() is: finalize()
called at garbage collection (irrelevant timing for external
resources) & can also be ignored by Java implementations. Tried to
find a good link, but failed. Guess I'll have to rely on my limit
knowledge.

ARM is based around the new interface Disposable, which has the
method: public void dispose(). You might implement your own clone of
the Disposable interface, & import it where needed.

Then put the code ,currently in your finalize(), in dispose() & call
dispose() from finalize(). For a Java 7 build have your Disposable
extend Java 7's.

Just something to think about.

Jeff

Olivier Chafik

unread,
Jun 23, 2011, 3:18:42 PM6/23/11
to nativel...@googlegroups.com
Hi Kazó,

2011/6/23 Kazó Csaba <kazo...@gmail.com>

Cheers for your great work! Very exciting, getting closer to 1.0.

Thanks !
 
I've updated my little JavaCLPP library to the release candidate.

Excellent !
Btw, I've added a "Who's using JavaCL" page :
 
It went quite smoothly, the changes to the API make it feel more coherent. The Pointer class, which I'm really getting to know for the first time, is feature-rich and in general seems more comfortable to use than the NIO buffers.

So I'm quite happy with the changes, and thank you for making it all happen!

Cool, thanks for your kind feedback :-)
 
Cheers

Olivier Chafik

unread,
Jun 23, 2011, 3:22:21 PM6/23/11
to nativel...@googlegroups.com
Hi Jeff,

2011/6/23 jcpalmer <jeffrey....@gmail.com>

Being that Java 7 is close, and JavaCL uses external resources, you
might look into some minor changes for 1.0 that make using Automatic
Resource Management easy to switch to.

That's an excellent suggestion, I've added an enhancement request to the tracker :

(please all feel free to add your comments on it !)
 
FYI, my impression of ARM's improvement over finalize() is: finalize()
called at garbage collection (irrelevant timing for external
resources) & can also be ignored by Java implementations.  Tried to
find a good link, but failed.  Guess I'll have to rely on my limit
knowledge.

ARM is based around the new interface Disposable, which has the
method: public void dispose().  You might implement your own clone of
the Disposable interface, & import it where needed.

Either that, or we'll release a separate package for JDK 7 features... tough decisions to make, but fortunately JDK 7 is not quite out yet ;-)

Cheers
Reply all
Reply to author
Forward
0 new messages