JavaScript is not enabled in your browser
Objexx Engineering

Objexx Labs

Objexx Labs
Discoveries, ideas, and musings from the Objexx development labs

OpenSceneGraph Windows Builds

Posted 2016/04/23     Updated 2016/06/05

OpenSceneGraph provides the integrated real-time 3D visualization for ObjexxSISAME. OpenSceneGraph (OSG) packages are readily available for modern Linux platforms but Windows binaries for recent OSG and Visual C++ releases have been scarce. OpenSceneGraph is not simple to build due to the numerous 3rd party library dependencies and build options. Recently, we took the plunge and developed a recipe and scripts for building OSG. The Windows binaries available for download on the OpenSceneGraph page.

More ...

Multidimensional C++ Arrays

Posted 2016/03/29

We take a look at some features we'd like to see in multidimensional C++ array libraries to benefit technical applications and match the expressiveness and performance of Fortran's arrays.

More ...

High-Performance C++

Posted 2016/03/28

Getting high performance out of C++ applications can be essential, particularly for scientific and engineering code. Happily, we have a lot of tools and techniques that can be brought to bear on this task.

More ...

Fast Keys and Slow Maps

Posted 2013/02/03

The C++ Standard Library provides the std::map container for collections of items that need to be looked up by a "key" identifier. This is much more flexible that an array container like std::vector that can only look items up by a contiguous set of integer indexes. While std::map (and its new C++11 relative std::unordered_map) have some admirable complexity guarantees they have much worse performance than an array. For fast technical applications we would love to have the semantics and syntax of std::map but the performance of an array. Happily, there are a number of situations where, with a little work, we can craft such a solution.

More ...

Python Parallel Job Controller

Posted 2012/12/10

Python has built-in support for parallel processing via the multiprocessing, subprocess, and thread packages but does not provide any tools to help use system resources effectively to run a set of jobs in parallel. That requires the ability to measure the system resource loads and start queued jobs when sufficient resources become available. It is not hard to build such a package with the right tools and some basic observations.

More ...

Qt provides a rich GUI framework with excellent support for tables but when your need a feature that isn't directly supported things can get complicated quickly. One such feature for tables is a so-called "frozen" column or row that should remain fixed like the headers when scrolling. Qt table widget and view classes do not support frozen columns or rows and implementing them can be both tricky to get right and an efficiency problem.

More ...

Migrating to PySide

Posted 2012/03/31

PySide is a Python binding for Qt. PySide is similar to the PyQt system but provides LGPL licensing and a community development model that makes it more attractive for commercial projects than PyQt. We share some insights learned when we migrated some applications from PyQt to PySide.

More ...

Using OSG 3.x in Qt

Posted 2012/02/27

ObjexxSISAME uses OpenSceneGraph (OSG) for real-time 3D visualization. We integrated an OSG viewer into the Qt-based ObjexxSISAME GUI. The Qt integration "cookbook" for OSG has changed with OSG 3.0 and is still being refined. Various examples are helpful but none give the whole picture. After some effort we have this running nicely and here are notes on the approach that we found best.

More ...

Why is YAML Slow?

Posted 2012/02/20

We are using YAML style input files for a number of applications because they are easy to read and edit outside of a GUI. We were dismayed to find that loading times were quite slow for files of modest size when using stock YAML parsers. Here's a quick look at the cause and how we solved it.

More ...

Real-World F2PY

Posted 2012/02/13

F2PY is a solid tool for interfacing a Python front end application with a Fortran compute engine but we had to tame it for real-world use.

More ...