Wednesday, November 13, 2019

In Absentia

Where is Dredd?
I haven't forgotten Dredd Blog.

But I am in the process of porting the TEOS-10 toolbox (C Programming Language version) into the C++ Programming language.

I am in the testing phase now.

So far so good.

The testing (comparing results of the C version to the C++ version) is exact out to a lot of decimal places on some high profile programs that process World Ocean Database data using data from all WOD zones.

Note this:
"C++ is the language which is used everywhere but mainly in systems programming and embedded systems. Here system programming means for developing the operating systems or drivers that interface with Hardware. Embedded system means things that are automobiles, robotics, and appliances. C++ is having higher or rich community and developers, which helps in the easy hiring of developers and online solutions easily.

Uses of C++ is referred to as the safest language because of its security and features. It is the first language for any developer to start, who is interested in working in programming languages. It is easy to learn, as it is pure concept based language. Its syntax is very simple, which makes it easy to write or develop and errors can be easily replicated. Before using any other language, programmers preferred to learn C++ first and then they used other languages. But most of the developers try to stick with C++ only because of its wide variety of usage and compatibility with multiple platforms and software."

So far I have ported about 20,000 lines of code which compiles into about a 7 meg shared library (".so" in Linux).

What will I do with it?

Ship it to TEOS or Github perhaps, or put it on CD's for readers.

We shall see.

I have finished the basic library which does the basic processing of in situ measurements (temperature, salinity, depth, latitude, and longitude) and their conversion into Conservative Temperature (CT), Absolute Salinity (SA), pressure P, and Potential Enthalpy (hO).

That allows a whole ocean of potential in itself.

The next extension of the library will deal with ICE.


  1. This comment was made on November 14, 2019 at 6:03 PM was erroneously removed, I am re-posting it: "Ha! I'm old school, learned Fortran "before any other languages". Became an expert in the language, libraries, etc. too. Then picked up COBOL which I despised. Then Object PAL, SQL. But never found a need for C++ in all honesty. Went on to be a website developer, Pascal and HTML, etc. With my background, not that hard to write changes to existing software, but sometimes I run into something I don't know how to do. Nowadays, try to just avoid that stuff as much as possible, just not interested anymore. Bloat code can be found everywhere in everything and it's made programming a chore that I don't want to do anymore."

  2. Yes Anonymous(sorry your comment was mistakenly deleted), the programming language one uses, depending on the circumstances, depends on the use of the resulting product. Writing an operating system cannot reasonable be done by many programming languages. One site lists the uses of program languages over time (TIOBE). The TEOS toolbox originates from the work of an American Scientist Josiah Gibbs.

    "Albert Einstein called him 'the greatest mind in American history.' Gibbs’s studies of thermodynamics and discoveries in statistical mechanics paved the way for many of Einstein’s later discoveries." (In Search Of Ocean Heat - 5).

    The TEOS-10 toolbox is neither bloated nor trivial IMO.

  3. Enjoy your Thanksgiving, Dredd and Randy! Keep up the great work.

  4. A very Happy Thanksgiving to you Tom (one of our favorite readers!).

  5. What's up, I log on to your blogs on a regular basis.

    Your writing style is awesome, keep it up!