Questions tagged [native]

8 questions
5
votes
4 answers

Does one have to write multiple "flavors" of C/C++ code for each intended platform?

I have designed what I think is a useful, reusable functionality that I'd like to: Implement in C/C++ as an open source library; and then Write different "native binding libraries" for it in various higher-level languages, such that end users…
smeeb
  • 4,820
  • 10
  • 30
  • 49
5
votes
4 answers

Avoiding hangs when calling a native API

Background We have a piece of programmable hardware here at work that we integrate into almost all of our systems. This piece of hardware came with a native Windows DLL (for which we do not have the source code) as well as a wrapper to said library.…
Snoop
  • 2,718
  • 5
  • 24
  • 52
1
vote
1 answer

How significant is the speed of native code for back end tasks?

Going native is extremely good for front end development. Whether its using android vs ionics, c++ vs dotnet/java, the benefits to GUI are significant. I was wondering if the same had significant effect on back end code. Is it really that…
user1034912
  • 121
  • 2
1
vote
1 answer

Relationship between apps, serial ports and device drivers

Please note: Although this question mentions Java and even a specific Java library, it really has nothing to do with Java and is really more about serial communication and device drivers. As such, I think this can be answered by anybody with…
smeeb
  • 4,820
  • 10
  • 30
  • 49
0
votes
1 answer

menu content link in Backend VS menu content link in UI

Goal: Have a common and same menu content link (for instance Home, about, consumer product, support) when you are using Angular, NativeScript and Android. Background: The menu contain seven different name. Each name is distinguish. The backend is…
HelloWorld1
  • 333
  • 2
  • 9
0
votes
1 answer

Message queues and triggered comms within a native app

I'm building a native app which currently has zero backend infrastructure. With services like Firebase's Authentication, database and notifications means that all interactions are handled client-side within an Ionic app and consumed via Firebase…
MNelmes
  • 31
  • 5
0
votes
2 answers

Downside of writing JNI with C++ for a library in C?

Background: I am new to the JNI world, and not an experienced C programmer. I want to write an JNI for connecting a Java toolkit and a library in C (not just for speed, but for good functionality as well) I've seen some code using C++ for doing…
CloudyTrees
  • 111
  • 2
-2
votes
2 answers

Converting Java code run by dependency to native code

Is it, at least theoretically, possible to convert a Java application into native code that can be run by something else written in Java? One example of this could be a Minecraft Spigot server. You can code plugins and stick them in the plugins…
User
  • 3
  • 3