Some late C++/Java Project Experience

Lately we started to discuss JogAmp‘s Project Management a little bit and touched things like efficient Java JNI binding to native foreign functions.

Allow me to elaborate on this issue a little bit (forum copy),  perhaps even go this far to debate down on the metal C++ vs virtual Java performance.

Keep in mind, I am an old dog and always focus on performance and such thing even on the Java side 😉 Continue reading “Some late C++/Java Project Experience”

Chase, Scatter and Phantoms – Sisyphus alike Ghost Fate

Earlier this year, we required a true distraction from the chaos of this world and a sad tragedy in our closer circle. What would have been more rewarding for a little recovery than indulging oneself with game theory, paying homage to Toru Iwatani‘s classic Puckman? Both my sons loved the idea and we added this work to our little cs-class. My older one was eager to learn how the math behind the ghosts works. Euclidian geometry, Pythagoras, points and vectors .. plus the strategy of choosing targets WoW! 😉 We completed the little fun endeavor using C++17 and the SDL2 library, resulting in a working nostalgic re-implementation.

At the bottom of this article I have placed a little video recording, partially demonstrating the results. Continue reading “Chase, Scatter and Phantoms – Sisyphus alike Ghost Fate”

Rational Expressions with frictionless Fractions and implemented Time

Natural numbers are defined as the sequence of numbers fully defined by their initial value, its successor and the successor of its successor and so forth. Despite the beauty of their intrinsic Dedekind–Peano axioms, they are also fully proven by induction.

Continue reading “Rational Expressions with frictionless Fractions and implemented Time”

Identifiable C++ Function Pointer of any kind in Direct-BT (Part 2)

Earlier I started elaborating on Direct-BT C++ implementation details, covering communication channels and data structures suitable for concurrency.

This part shall cover Jaulib’s jau::function<R(A…)>, used to manage callback lists e.g. in BTManager or simply utilizing them to delegate functionality like in jau::service_runner. Continue reading “Identifiable C++ Function Pointer of any kind in Direct-BT (Part 2)”

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)”

Direct-BT, Bluetooth Server and Client Programming in C++ and Java (Part 1)

This is the first article covering Direct-BT  using version 2.7.1 and may give you a little introduction into this project.

See Direct-BT C++ Implementation Details (Part 1) for some insight view.

Overview

Direct-BT provides direct Bluetooth LE and BREDR programming, offering robust high-performance support for embedded & desktop with zero overhead via C++ and Java.

It supports a fully event driven workflow from adapter management, device discovery to GATT programming, using its platform agnostic HCI, L2CAP, SMP and GATT protocol implementation.

Multiple Bluetooth adapter are handled, as well as multiple concurrent connections per adapter.

Peripheral server device programming is supported as well as the central client, which is also used for Java and C++ self unit testing across two or more Bluetooth adapter. Continue reading “Direct-BT, Bluetooth Server and Client Programming in C++ and Java (Part 1)”

Donbas: Minsk II Failed; Now Recognized & Protected by Russia

After the 2014 coup d’état in Ukraine, seven years of failure of the 2015 Minsk II agreement and further NATO expansion threats, Russia finally stepped in to recognize the Donbas Republics and guarantees their protection.

Also read our Disclaimer / Lese auch unseren Haftungsausschluss (Links), welche hier und in den Kommentaren insbesondere bezüglich eventueller Links gilt. Continue reading “Donbas: Minsk II Failed; Now Recognized & Protected by Russia”

MEPs: Transition from Democracy to Tyranny

Cristian Terhes leads a group of elected member of the European Parliament (MEP) fighting for freedom and trying to defend our rights. On 2021-11-24 they held their 3rd press conference opposing mandatory digital certificates and any mandatory and forced governmental intervention into the people’s rights and physical integrity.

Continue reading “MEPs: Transition from Democracy to Tyranny”