Skip to content

v0.1.0-beta06

Pre-release
Pre-release
Compare
Choose a tag to compare
@Tanish-Ranjan Tanish-Ranjan released this 09 Apr 18:09

We're excited to announce the release of TPL v0.1.0-beta06, bringing significant performance improvements, new features to streamline your development workflow, and a more informative development experience.

Key Highlights:

Enhanced Developer Experience:

Improved Error Handling:

Error messages have been completely overhauled to provide clearer and more informative messages. Additionally, error locations are now marked within the console output, pinpointing the exact line and index causing the issue.

New Plugins for Enhanced Development:

  • NullSafety Plugin: This plugin enforces stricter type checking for variables and expressions to prevent null pointer exceptions during program execution.
  • Formatting Plugin: This plugin helps you maintain clean and consistent console output formatting, improving readability and focus.

Performance Enhancements:

We've made substantial optimizations to the TPL compiler and runtime, leading to noticeable performance gains in various code execution scenarios.

Variable Reference Consistency:

A bug that caused multiple variables declared together to hold the same value despite having different reference IDs has been fixed. Now, such variables will correctly share the same reference ID, reflecting their identical underlying data.

Advanced Memory Management Features:

Reference ID Access with ref() Function:

Introducing the new ref() function, you can now retrieve the reference ID of any object in your TPL program. This empowers you to perform advanced reference-based comparisons and memory management tasks.

Strict Reference Comparison with === Operator:

The new === operator allows you to compare object references directly. This is useful for determining if two variables point to the exact same object in memory.

Simplified Data Access and Type Control:

Simplified Sequence Value Extraction:

Extracting sub-sequences from strings and lists is now more convenient. You can directly use square brackets [] with start, end, and step (optional) values to extract the desired portion.

Enhanced Type Safety:

The type safety plugin has become stricter, providing more robust type checking and reducing potential runtime errors. Dynamic typing has also been made completely type-independent, offering greater control over data types.

For a comprehensive exploration of these new features, bug fixes, and detailed documentation, please refer to the updated TPL documentation.

We encourage you to upgrade your TPL environment and experience the benefits firsthand. Happy coding!