creating java to native code interfaces with janet extensionnew

creating java to native code interfaces with janet extensionnew

ID:34640157

大小:196.11 KB

页数:12页

时间:2019-03-08

creating java to native code interfaces with janet extensionnew_第1页
creating java to native code interfaces with janet extensionnew_第2页
creating java to native code interfaces with janet extensionnew_第3页
creating java to native code interfaces with janet extensionnew_第4页
creating java to native code interfaces with janet extensionnew_第5页
资源描述:

《creating java to native code interfaces with janet extensionnew》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、CreatingJavatoNativeCodeInterfaceswithJanetExtension1;213MarianBubak,DawidKurzyniec,andPiotrLuszczek1InstituteofComputerScience,AGH,al.Mickiewicza30,30-059Krakow,Poland2AcademicComputerCentre{CYFRONET,Nawojki11,30-950Krakow,Poland3Dept.ofComputerScie

2、nce,UniversityofTennessee,Knoxville,TN37996-1301,USAe-mail:bubak@uci.agh.edu.pl,dawidk@icsr.agh.edu.pl,luszczek@cs.utk.eduphone:(+4812)6173964,fax:(+4812)6338054AbstractAsJavaisbeingconsideredanappropriateenvironmentforhighper-formancecomputing,theinte

3、restarisesincombiningitwithexistingcodewritteninotherlanguages.PortableJavatonativecodeinterfacesmaybedevelopedusingtheJavaNativeInterface(JNI).However,asalow-levelAPIitisratherinconvenienttobeuseddirectlythusthehigherleveltoolsandtechniquesaredesired.

4、WepresentJanet{thehighlyexpressiveJavalanguageextensionenablingconvenientcreationofpowerfulandecientJavatonativecodeinterfaces.1IntroductionFromthesmallprogramminglanguagedesignedforembeddedconsumer-electronicapplications,infewyearsJava[1]becamepowerf

5、ulgeneral-purposetechnologyusedallovertheworldtosolveproblemsofanykindacrossdi erenthardwareplatforms.Recently,thereisagrowinginterestinapplicationoftheJavalanguageinthehighperformancecomputing(seee.g.,[2,3,4,5].)Thereasonisthatthelanguageisportable(su

6、itableforheterogenousenvironments),simple(easytolearn),safe(facilitatesdebugging),secure(enablessecuredistributedcomput-ing),modern(isobjectoriented,employsautomaticmemorymanagementandusesexceptionstohandleerroneoussituations).AstheperformanceofJavaVir

7、tualMachines(VM)continuouslyincreases[3,4]themainissuebecomesthelackofscienti clibrariesdesignedforuseinJava[6].Atthesametime,thereisagooddealofpreciselytunedandthoroughlytestedscienti clibrarieswritteninC,Fortranandotherlanguages.Themostappropriateway

8、tomakethemavailableinJavaistoprovidepertinentinterfacesforthemviatheJavaNativeInterface(JNI)API[7,8].Unfortunately,asalowlevelinterfaceJNIisratherinconvenienttobeuseddirectly.Severaltoolswhichautomateinterfacecreationprocesshavebeendeve

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。