Direct-BT C++ Implementation Details (Part 1)

This is the first article covering Direct-BT‘s implementation details including jaulib.

See Direct-BT, Bluetooth Server and Client Programming in C++ and Java (Part 1) for a little introduction to Direct-BT.

Standard and Proprietary Communication Channels

As described, we were required to utilize the host Bluetooth implementation in the GNU/Linux kernel, i.e. BlueZ/Kernel directly without D-Bus to achieve best performance and access the native HCI, L2CAP/GATT and SMP communication channels directly. Continue reading “Direct-BT C++ Implementation Details (Part 1)”

Resurrecting a dying Species? Bring back Java™ to the Browser?

While I was doing the admin work for the next JogAmp release 2.4.0 I added some old video teaser supporting the point of enabling high performance hardware accelerated features to anything Java™’ish for any platforms.

It rang some belts that all these demos were easily and interactive launched used Applets within the browser.
Sadly today, browser don’t support such plugin’s anymore, which enabled simplified launching of Java™ Applet’s and its seamless integration into the web page.

I well remember the debates back then, about bloated browsers and security issues. But what do we have today? Bigger (or bloated) browsers containing the VM implementation itself, only that this time it is not Java™ but a JavaScript VM. Not a big qualitative change, but a restriction to choice, IMHO. This move only disabled third parties enabling their content via the browser interface. Almost sounds like the old Microsoft and Firefox browser wars, only that this time all browser vendor are aligned and believe to be the good guys now 😉
Most notable for me is that the security issues has not changed here at all. Continue reading “Resurrecting a dying Species? Bring back Java™ to the Browser?”

Cross Compilation to Arm64 for OpenJDK, JogAmp on GNU/Linux, iOS, ..

Finally pushed our crosstool-ng-projects configuration to our SCM repositories and published the latest signed & hashed binaries here.

Changes to the last April toolchain builds are multiple:

  • Updating crosstool-ng to latest release 1.24.0
  • Aligning configuration with Debian 10 (Buster):
    • glibc 2.28
    • binutils 2.31.1
    • gcc 8.3.0 (unchanged)
  • Using 4-tuple symbolic links to 3-tuple, dropping vendor. This allows drop-in usage for OpenJDK cross-compilation via –with-toolchain-path=/usr/local/x-tools/aarch64-unknown-linux-gnu/bin

Continue reading “Cross Compilation to Arm64 for OpenJDK, JogAmp on GNU/Linux, iOS, ..”