SteveK Posted July 3, 2013 Report Share Posted July 3, 2013 Has anyone built a SystemC wrapper for Java code so that the development can be done in Java, but fit into a SystemC IP deliverable? Quote Link to comment Share on other sites More sharing options...
dakupoto Posted July 3, 2013 Report Share Posted July 3, 2013 Hello, As far as I remember, Java allows for a complicated way to interact with native code. At the time I worked on it (because my boss wanted it) it was very difficult to set up to work just right, and there was no way to determine easily what the problem was, when some code did not work In my humble opinion, C/C++ performs so much better than Java in terms of usability, why even bother with a Java wrapper ? I mean a systems designer would be far more interested in how his model behaved than waste time trying to get a Java wrapper to work right. I have noticed colleagues of mine who spend a lot of time trying to set up Eclipse to work with C++ and SystemC, but that time could be profitably spent on analysing their design. Quote Link to comment Share on other sites More sharing options...
sumit_tuwien Posted July 5, 2013 Report Share Posted July 5, 2013 Without asking the question "why would you do that ?", the answer is Java Native Interface (JNI). Quote Link to comment Share on other sites More sharing options...
thomas.haber Posted July 11, 2013 Report Share Posted July 11, 2013 What do you plan to do with java ? In contrary to dokupotos reply, i experienced that java can have better performace than C++ if its done right.(http://toem.de/index.php/spin) I see the problems in the different threading models. But back to my question, it depends on what to do with java, just controlling a process or being part of a process. regards, thomas Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.