9504 shaares
222 private links
222 private links
Interesting to have a language than can tradeoff precision for speed.
Numba make python code faster and the author spent months to build in C++ instead of days with Numba.
The last one is assymbly directly... it seems similar to C in the new versions! ForwardCom is also interesting as it's an "open forward-compatible instruction set architecture".
Damn look at this:
v0 = my_vector // we want the horizontal sum of this
int64 r0 = get_len ( v0 )
int64 r0 = round_u2 ( r0 )
float v0 = set_len ( r0 , v0 )
while ( uint64 r0 > 4) {
uint64 r0 >>= 1
float v1 = shift_reduce ( r0 , v0 )
float v0 = v1 + v0
}
If I trade C++ for “not C++”, 80% of my work will remain exactly the same. C++ is simply irrelevant to most of what I do. Could it mean that for me C++ is already 80% dead?
Interesting thoughts though!