Catching Native Crashes under JNI with UNIX Signals
A while back I've written about the Java Native Interface (JNI) and how to use and abuse it for running native code inside your Java program, either to run legacy code or to have performance critical code run natively. However if your native code crashes, which is not that hard in C/C++, then...
Catching Native Crashes under JNI with UNIX Signals
A while back I've written about the Java Native Interface (JNI) and how to use and abuse it for running native code inside your Java program, either to run legacy code or to have performance critical code run natively. However if your native code crashes, which is not that hard in C/C++, then...
JNI Basics: Calling Native Code from Java
Have you ever wondered, how you could call native C/C++ Code from your Java Code? Say you have a library, that does exactly what you want either because it is legacy code that you want to wrap within Java or you have found an obscure problem, where no Java solution exists. Of course you could...
JNI Basics: Calling Native Code from Java
Have you ever wondered, how you could call native C/C++ Code from your Java Code? Say you have a library, that does exactly what you want either because it is legacy code that you want to wrap within Java or you have found an obscure problem, where no Java solution exists. Of course you could...
Everything Ubus
Computer scientists seem to reinvent the wheel quite often. For the more cynical observers every new Remote-Procedure-Call implementation looks quite like CORBA or Sun-RPC, but under a different name, different interfaces and - more often than not - some restricted features or inefficiencies....
Adding a module to Micropython
Using Micropython on your own hardware, like I do on Raspberry Pi, is quite a challenge. First of all you have to port Micropython. But when it runs on your platform you will probably need some module for Python, to extent the language itself by some functionalities only accessible in C or...