c++ - Play Scala - Native access -


i developing web application using play framework in scala language. in application have access native methods written in c++ , converted .so using swig.

my aim call native method in .so file controller class. have searched in internet, didn't documentation this.

i have seen links used scala language.

https://code.google.com/p/scala-native-access/ https://code.google.com/p/bridj/wiki/download#specialized_subsets_(smaller_jars_!) https://github.com/xudongyang/scala-native-access

but didn't mention how use in play framework.

can have documentation play scala native access? can have sample applcation same?

like in jvm language, jna/jni gives native access. aware because of play's use of class loaders, you'll need make sure access same class. see fail load native library using activator (play framework)


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -