0.4 is out. Its a big deal. Its not a big deal.
A matter of multiplication
Its a matter of multiplication, really. Productivity factors do not just add up (thats why they are called factors).
Wake up and test the damn thing
It has to be stable. The time has come to test the damn thing.
In the world of computer programming, there is a concept known as pattern matching.
This technique allows us to take a complex value, such as an array or a variant, and compare it to a set of patterns.
If the value fits a certain pattern, the matching process continues and we can extract specific values from that value.
This is a powerful tool for making our code more readable and efficient,
and in this section we’ll be exploring the different ways that pattern matching can be used in daScript.
For loop noise
It’s stupid. It’s ugly. Its also measurable performance gain.
Performance and CMRES aliasing
From dascript.org “… is high-level, statically strong typed scripting language, designed to be fast …”
With an emphasis on fast. Performance first, last, and foremost.
It's not a script
Whats in a name? The sheer fact that I’m writing this post implies a problem.
“It’s not a script” is something we had to say on numerous occasions.
Boris ELI5 script?
- Script is a simple programming langue you write your game logic in. When it gets slow you rewrite it to C++.
daScript is none of the above.
During the last few days I took a small detour from the land of the JIT, to the land of the profiler.
There is something about JIT
In the early days of daScript development having robust JIT was never a priority.
In fact during the initial planning meetings JIT was postponed until the cows came home.