by oscargrouch · 11y ago · 0 comments
By a very crude look at the source, looks very lightweight indeed
> Just-In-Time (JIT) compilation for fast method execution
> Generational, copying garbage collection ensures short pause times and good spatial locality
> Thread-local heaps provide O(1) memory allocation with no synchronization overhead
> Null pointer dereferences are handled via OS signals to avoid unecessary branches
However, that's not what Avian is designed for. We (ReadyTalk) don't have the resources to compete in that sort of market, as fun as that might be. We designed Avian to run a relatively light-weight client application, so we can deploy the same code across all our platforms. We're not running a game or a server, so we don't care a lot frame rate or requests per second.
I still don't see how it's better than Java in that scenario, which also runs on all platforms?
Exceptions like page faults are very slow in modern CPUs in comparison to branches. Branch prediction works really well.