admin

admin

JSON Parser

This StAX parser allows to easily read JSONs directly to the application data structures, skipping the building of JSON DOM and skipping all irrelevant pieces of data in the JSON stream. Why StAX 99% of real world applications read JSONs…

64bit and 32bit Integer and Float Types

Numeric types Constants Since Argentum numeric constants define both value and type, there were added two suffixes (f and s): 32-bit constants are limited to: Constants without suffixes define 64bit values. Operations All integers operations are defined in 32 or…

RFC: Function and delegate upper bounds

Argentum functions and delegates are value types, not references. This makes it impossible to create classes parameterized with function and delegate prototypes and this in turn makes it impossible to create containers of functions and delegates and multicast delegates/multiple subscriptions.…

Build Argentum From Sources on Windows

Argentum uses vcpkg that automatically installs and builds all dependencies for all platforms in all configurations. Argentum dependencies include LLVM, Skia, SDL and other libraries. The initial build takes ≈60Gb of storage, it requires 16+Gb RAM, and depending on device…

Strings and Cursors

Argentum strings are mere sequences of Unicode code-points (internally encoded in Utf-8). Argentum string is immutable. They are not indexable.There is only one way to access string characters – is to read them one-by-one start-to-end. Argentum String has unique features…

How fast is Argentum (part 2)

The previous “benchmark” tested integer arithmetic, control structures and function/lambda calls. This benchmark tests data structures, object creation, method calls and pointers. It’s based on First of all, tests from the above site have a number of issues: Let’s…

How fast is Argentum?

Argentum is advertised as fast. But how fast it actually is? Here is a simple benchmark of three languages: Python, C, and an x86-64 assembly. Though this benchmark is questionable: This though gives a glimpse on how these languages are…