start portlet menu bar

HCLSoftware: Fueling the Digital+ Economy

Display portlet menu
end portlet menu bar
Select Page

The latest HCL RTist 11 release, version 2020.45, is now available. And there are several improvements and new features in this release:

Member Template Operations

The model compiler now supports member operations with template parameters. Both type and value template parameters are supported. Note that in most cases such operations must be marked as inline so that the implementation gets generated into the header file.


Member Template Operations


Customer Type Descriptor for Type Aliases

In the previous release we introduced the support for C++ 11 type aliases which is a modern alternative to traditional typedefs. In this release it’s now possible to write a custom type descriptor for a type alias. This means that you now can replace typedefs with type aliases also when a custom type descriptor is required. For type aliases of STL collection types (list, set, map etc) you can use the Type Descriptor Hint property to instruct the model compiler to generate a type descriptor automatically for such types.



Removal of C-style Casts

We have done a complete walkthrough of all code in the TargetRTS and removed all C-style casts, since many modern C++ compilers and static code analyzers report warnings for them. Such casts have either been removed (if they were unnecessary), or replaced with corresponding C++ casts (static_cast or reinterpret_cast). The model compiler was also updated in a similar way, to not generate C-style casts anymore.

A benefit with this improvement is that the TargetRTS and generated code now can be compiled without use of the GCC -fpermissive flag, which helps in finding potential problems in the code.

Comment wrap
Automation | March 26, 2024
Unlocking the Potential of Real-Time Development with HCL DevOpsCode RealTime 1.0.1
HCL DevOps Code RealTime 1.0.1 streamlines development with enhanced validation and clearer error reporting. New guide simplifies building & customizing real-time applications.
Secure DevOps | September 2, 2022
RTist 11.2 2022.34
HCL RTist is a rule-based code translator for C/C++. The main feature of RTist is to produce readable, maintainable, and portable code.
Secure DevOps | November 29, 2021
What's new in HCL RTist 11.1 2021.46
HCL release of HCL RTist: 11.1 2021.46. As usual, there are several new features and a few bug fixes. Read more to know some highlights.