Post
Topic
Board Altcoin Discussion
Re: [neㄘcash, ᨇcash, net⚷eys, or viᖚes?] Name AnonyMint's vapor coin?
by
iamnotback
on 20/09/2016, 10:54:24 UTC
Another major advance for programming language design from me!

I am starting to fire on all of my cylinders as I used to do when I was prolific. Damn illness the past 4 years held me back. I am feeling pretty good.

I need to backup this info some where, in case every Rust forum private threads disappear. So I am putting this here so others can read about my design progress.

Quote from: myself in private message at Rust forum
Quote from: keean
Dynamic dispatch (virtual functions etc) are pathological on modern hardware, and slowdowns can be an order of magnitude or more.

I have realized that because my design separates the injection of the dictionaries orthogonal the objects (unlike for example Rust which puts the vtable pointer in the trait object), and since the caller (at the injection level) knows the data types precisely, then we can completely inline the virtual dispatch with an optimizing compiler! Problem solved. No need to avoid the cool abstraction any more! Wow! I am breaking down major walls in PL design!

Edit: note this is entirely due to the first-class unions. Thus instead of having trait bounds and throwing away the compile-time of the data types, the injection point caller knows the actual union of dictionaries required. So now we see why first-class unions are a major paradigm shift!

http://eli.thegreenplace.net/2013/12/05/the-cost-of-dynamic-virtual-calls-vs-static-crtp-dispatch-in-c
http://programmers.stackexchange.com/questions/191637/in-c-why-and-how-are-virtual-functions-slower
https://news.ycombinator.com/item?id=6854583

...

And today the ZenScript (or just Zen) programming language was born!

If you want to understand what level of master programmer I am, read my comments on these Issues:

https://github.com/keean/traitscript/issues

Well you probably need to be a some what master programmer to even understand that I am a master programmer, because otherwise you wouldn't be able to discern the difference.