Intro This is the third (and probably last) article of my small mini series about maybe not so well known C++ features / pattern / programming techniques for which I found a practical usage during programming on my private projects. This time the topic is about the requires clause for overload resolution. The requires clause […]
Tag: programming
Related to programming in general
Intro This is the second article of my small mini series about maybe not so well known C++ features / pattern / programming techniques for which I found a practical usage during programming on my private projects. This time the topic is about const_cast<T&>. const_cast is considered evil It is more or less indisputable, that […]
Intro This article is the first one of a small mini series of C++ related articles where I will show and explain some C++ features, which might be a little uncommon in its usage at least for some (or even many?) of C++ programmers – probably because the practical usage of these features is not […]
Why array support is postponed
In the release article of the last TeaScript release I mentioned that the next release will add support for arrays as container. I postponed the array support and the next release (right around the corner) will not contain it. In this article I explain why. First a short recap. The ValueObject version is most flexible […]
Intro Sometimes you need to extend your C++ Application dynamically during runtime with something what is not known at compile time yet. For easy things you can provide config files which may be changed prior before the application is started. The Application reads the config files on startup and use the contained settings accordingly. But […]
I created a benchmark in C++ for testing and comparing TeaScript and its competitor ChaiScript by computing the Fibonacci number of 25 recursively. As a reference I did the same also in C++. The complete source code of the benchmark is available below. The result is pretty amazing, since with the used pre-release 0.8.0 of […]
TOP 5 most astounding C++20 Syntax
β Welcome π to my ππ π Christmas ππ πβ¨ Specialβ¨ ββ! Today I present you my personal TOP 5 most astounding C++20 syntax constructs. Hope you will enjoy and maybe will see something new and/or interesting. Here it goes: No. 5: This line creates an empty lambda and directly executes it. Effectively, you can consider it […]
π₯π₯π₯ Available NOW!!! π₯π₯π₯ Proudlyπ and happilyπ I am hereby announcing the first Release of the πTeaScript 0.8.0π Host Application (Standard version) available for πFREEπ! βββ Try and download it here! βββ NO INSTALLATION REQUIRED β Just download, unpack and use it! It was a long journey since my first ideas in March until the […]
This post was viewed [wpstatistics stat=pagevisits time=total id=748] times. To use a classical union from C is almost always a bad idea in C++ and you should use std::variant instead. I show you why. And I also will show you in which big(!) trap I ran into myself with a union. We start with a […]
For rapid prototyping you donβt need to deal with cmake at all for can work in small groups or on different machines β the Visual Studio Property Sheets explained!