?Announcing SRON Version 1.4: Unleashing Unmatched Speed and Efficiency!
I'm excited to share that SRON's version 1.4 has been released today, May 19, 2024, bringing major optimizations and enhancements that elevate its performance to new heights.
To ensure SRON remains cutting-edge, regular updates and optimizations are essential. Version 1.4 introduces powerful new features and significant improvements:
- 'syscmd': This function allows you to execute commands in the host operating system's command processor. It takes a 'String' type value as an argument. If the command executes successfully, it returns a 'Void' value; otherwise, it displays an exception. Learn more!
- Pretty Printing of 'List': Now, when you use 'println' or 'print' functions to display lists in the terminal, they are printed in a more readable format. Char type values are enclosed in single quotes ( ' ), and String type values in double quotes ( " ). This enhancement helps in identifying the types of values in the list.
- 'free': This attribute allows you to free up memory space at runtime. It deallocates the memory taken by a variable, making it inaccessible thereafter. Learn more!
- 'sron-docs': You can now use the 'sron-docs' command in your terminal to access SRON's official documentation easily.
- 'Void': You can now create variables of type 'Void'.
- '!' Operator Optimization: The '!' operator has been optimized, and several security bugs have been fixed.
- '--version' Parameter Fix: The compiler's '--version' parameter had a glitch that displayed the version whenever any parameter starting with '-' was passed. This bug, reported by
Swarn Shauryam Swarnkar
, has been fixed. Thank you, Swarn, for your contribution!
- Function Call Optimization: Prior to version 1.4, function calls were slow due to excessive memory usage, an unoptimized 'Argument List', heavy function stack, and more. In version 1.4:
- The function stack is optimized to the level of C/C++.
- The Argument List is optimized using advanced vectorization.
- Pre-loading of functions reduces memory usage and speeds up execution.
- Relying mostly on direct memory access instead of indirect memory access.
Explore these exciting updates and see how SRON can transform your programming experience!
You can contribute to the progress of SRON by reporting bugs and suggestions via LinkedIn and GitHub.