BaCon 4.2 released
Nov 1, 2020 15:56:50 GMT 1
Post by Pjot on Nov 1, 2020 15:56:50 GMT 1
All,
BaCon version 4.2 has just been released just a month after 4.1.1. Please download the latest from the BaCon website and refresh your browser cache if the new package is not visible in your browser immediately.
The reason for the fast release is a mysterious bug in 4.1.1 which could cause the conversion process to crash. This could happen randomly without any clear indication as to why. In the end, it turned out that the string array handling did not handle OPTION BASE properly. This bug has been in BaCon for many years and revealed itself when using the UBOUND function.
Furthermore, BaCon has undergone a major code cleanup and internal architecture change. Basically, the core string processing functions, which provides the high performance to string functions, have been simplified. Also, repetitive code, like assigning results of string functions, and cleaning up string arrays, have been centralized. Lastly, the implementation of a couple of statements has been reorganized to reduce the amount of global variables. As a side effect, the generated C code is easier on the eyes also.
As a result, the implementation shrunk with more than 100 lines of code and the overall performance of BaCon has increased slightly.
Thanks to everybody who has contributed to this latest release, especially forum members vovchik and rikky for their bug reports.
See the full list of changes for more details (please refresh your browser cache to see the latest).
Best regards
Peter
BaCon version 4.2 has just been released just a month after 4.1.1. Please download the latest from the BaCon website and refresh your browser cache if the new package is not visible in your browser immediately.
The reason for the fast release is a mysterious bug in 4.1.1 which could cause the conversion process to crash. This could happen randomly without any clear indication as to why. In the end, it turned out that the string array handling did not handle OPTION BASE properly. This bug has been in BaCon for many years and revealed itself when using the UBOUND function.
Furthermore, BaCon has undergone a major code cleanup and internal architecture change. Basically, the core string processing functions, which provides the high performance to string functions, have been simplified. Also, repetitive code, like assigning results of string functions, and cleaning up string arrays, have been centralized. Lastly, the implementation of a couple of statements has been reorganized to reduce the amount of global variables. As a side effect, the generated C code is easier on the eyes also.
As a result, the implementation shrunk with more than 100 lines of code and the overall performance of BaCon has increased slightly.
Other highlights:
- Server side TLS with new functions ACCEPT and CERTIFICATE
- Reimplemented the stack and PUSH/PULL from scratch
- Various important bug fixes and improvements
- Lots of code cleaning!
Thanks to everybody who has contributed to this latest release, especially forum members vovchik and rikky for their bug reports.
See the full list of changes for more details (please refresh your browser cache to see the latest).
Best regards
Peter