It’s stupid. It’s ugly. Its also measurable performance gain.
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.
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.
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.
Herb Sutter is right. Its the same thing year after year after year.
Type safety, and
Bounds safety are the things which your language should do for you.
Consider the following example:
It causes daScript runtime panic.