News for hackers. Stuff that matters.
Re:How Four Native Developers Wrote an Electron App by forgotpw1123 on Friday May 19, 2017 @07:46PM (#14380161)
This just isn't true. There's many Java ports of C/C++ applications and benchmarks are usually within 30%.
Re:How Four Native Developers Wrote an Electron App by coldtea on Sunday May 21, 2017 @10:20AM (#14387425)
For the easy tasks. Try a CPU heavy C/C++ app -- like an audio/video editor, number crunching of any kind, etc.
Re:How Four Native Developers Wrote an Electron App by forgotpw1123 on Tuesday May 23, 2017 @08:21PM (#14406623)
Like I said, the major exception is SIMD instructions. AV and heavy math are a tiny fraction of applications. For these you can use JNI.

There is precedent for this in Netty where they use a native poll mode driver and everything else Java, and it performs about as fast as pure C code on Techempower benchmarks