ChaiScript (almost) 5 Years Later

July 13, 2009 Reddit covered Release 1.0 of ChaiScript. Many things changed in the last 5 years. Features added, dependencies removed, and performance increased. With all of the changes, we decided it was time to provide a 5 year retrospective and give the world a second first-look at ChaiScript.

To start with, we've celebrated 5 years with a brand new website with organized examples (in progress) and documentation links: http://chaiscript.com

And a continuous integration system: Build Status Coverage Status

Tech Roundup

I've been following a few different news sources lately and have found a few good articles and projects I thought I would share.

New ChaiScript Releases

We are proud to announce two new ChaiScript releases:

ChaiScript 4.0.0

  • Lots of bug fixes
  • Performance improvements
  • Support for ?: ternary operators
  • Support for switch statements

ChaiScript 5.0.0

This release is a complete retooling of ChaiScript that uses C++11 instead of Boost.

C++11: Auto

We've already covered C++11 decltype and why you should start using C++11 features today. Now we will move on to one of the most widely supported C++11 features: the new auto keyword.;

Are You Using make_shared Yet?

Recently, while watching the GoingNative conference, I learned about the new std::shared_ptr helper function std::make_shared.

Using Non-Standard Resolutions with VirtualBox RDP

I like to connect to Virtual Box guest operating systems remotely over RDP connections. This generally works well except if I connect from my 1280x720 laptop to a Windows guest. In this case the Windows guest will tend to resize to a "standard" resolution that fits inside of the 1280x720, which is 800x600. This can be rather obnoxious.

Trigraphs, Digraphs and Alternative Tokens

Quick, which language is the following code written in?

Start Using C++11 Now

Every major platform and compiler now supports some aspect of the new C++ standard accepted in 2011. This means it is currently possible to write code that uses some of C++11 while maintaining cross-platform compatibility.

Why should you care?

Double vs. Float, Which is Better?

Neither C++ Coding Standards nor Effective C++ addresses the question of which float point type is best to use and in what situations.

There are three floating point types in C and C++:

  1. float
  2. double
  3. long double

What the Standard Has to Say

There are exactly two guarantees provided by the standard:

C++11: Decltype

decltype is a type specifier introduced in C++11. It behaves like a function that evaluates to the type of an object at compile time. This article is helping provide some more background information necessary for the more meatier C++11 articles to come.