Something I don't understand: What's the advantage of using scala native to capture packets? Why not just use scala, and access the library? Does scala-native make using native libraries easier?
s
sreich
03/28/2017, 5:49 PM
"A client needed a high performance online packet analyser for the "
sreich
03/28/2017, 5:49 PM
So, performance
s
spierce7
03/28/2017, 5:53 PM
I don't think that performance is necessarily better in scala-native. Isn't it that performance typically gets a bit worse?
s
sreich
03/28/2017, 6:00 PM
Jni isn't free, there's also the jit warmup one may not want
sreich
03/28/2017, 6:00 PM
Plus perhaps it is nicer to write it without needing jni
s
sksk
03/28/2017, 7:15 PM
low memory footprint, faster compilation (not scala-native case: "Total time: 37 s" to compile..) and startup time, enough to make the switch from JVM to native for that kind of thing