Category Archive: Uncategorized

Mar 10

A C++ Smart Pointer wrapper for use with JNI

Introduction In this article, I'll propose a solution for managing native C++ resources from JNI using smart pointers. While Smart Pointers can't be useful from Java, because of the limits of the Java memory management, it may be required by the native library to maintain allocated resources through shared_ptr or unique_ptr, for example because classes …

Continue reading »

Permanent link to this article: https://www.studiofuga.com/2017/03/10/a-c-smart-pointer-wrapper-for-use-with-jni/

Nov 28

The dbus-cpp Library, introduction

While working on a bluetooth based embedded device, I needed to deal with the somehow infamous dbus. DBus and Bluez5 have a very steep learning curve, and if you are don't have access to either Qt framework or glib framework, you have indeed a problem. Glib are very complex C libraries that mimick some of …

Continue reading »

Permanent link to this article: https://www.studiofuga.com/2015/11/28/the-dbus-cpp-library-introduction/

Sep 29

Tech blog

Welcome to my tech blog. Here you’ll enjoy articles about all the fields related to my work, especially Linux, Embedded systems, Programming, Software and Hardware design and Engineering. All posts will be, hopefully, in English, some will be in Italian when the argument will suggest that only Italian people will have interest on that. Sorry …

Continue reading »

Permanent link to this article: https://www.studiofuga.com/2012/09/29/tech-blog/