A belated Happy New Year and Best Wishes for 2017!
This site and news have been neglected for much of 2016, this year’s resolution will be to try and revive it a bit.
In particular announcements and articles have fallen way behind the code as far as DWScript is concerned. So I will start the year by attempting to rectify that.
DWScript now has support for the BigInteger type, which supports numbers with as many decimals as the memory allows.
This support comes in two flavors, either through a MPIR dll (a GMP fork) or through Rudy Velthui’s BigIntegers unit.
It occurred to me that SHA-3 being a cryptographic hash, it is one of those peculiar bits of code that are fully self-testing. Any bug in a cryptographic hash will quickly cascade to a different result, no matter the bug or the input.
This means the ad-hoc-compiler-monkey can be unleashed “safely”, and can be allowed to try “improper changes.”
A new kernel for SHA-3 (Keccak) cryptographic hashing has been committed to the DWScript repository.
It is almost 3 times faster than the Pascal version, makes use of MMX asm, and involved an “ad hoc compiler”.
I have been using the feeds aggregator BeginEnd.net as more than just a news aggregator, it is also a Canary: once a new version of DWScript passes tests, it goes live there!
Latest Canary feature is for the new FastMM4 multi-threading improvements by Primož Gabrijelčič, which can be found under the Locking Improvements branch.
Non-English Blogs have been added to BeginEnd.net, not many just yet: three in Italian, one French and one Korean!
The BeginEnd.net website itself stays in English, and the posts titles & descriptions are going to be automatically-translated in English (currently through Microsoft Translator service).
Last week www.beginend.net was launched with the goal of aggregating Pascal and Delphi blogs in a mobile-friendly, secure website with a minimalist UI.
Support for ?? (double question mark) as the coalesce operator has been added to DWScript.
The coalesce operator is a binary operator, which looks at its left operand, and if not “falsey”, returns it, otherwise returns its right operand.
A new syntax-highlighting editor has been unleashed upon the Delphi world by Lasse Rautiainen, it’s named TBCEditor, and it is quite full-featured, clean, stable and fast.
The main source code is TBCEditor on github and supports Delphi XE4-XE8, I have made a fork TBCEditorXE on bitbucket which supports XE.
A new version 2014.10.15 of the DWS Web Server is available.
This version contains a variety of improvements and fixes, along with a new sample for JS libraries.