47 ms·
Why do they call it "Python-inspired" if it looks like C++? From https://github.com/google/rune/blob/main/benchmarks/mandelbrot.rn#L33-L35 https://github.com/g
by gus_massa 4y ago
Why do they call it "Python-inspired" if it looks like C++?
From https://github.com/google/rune/blob/main/benchmarks/mandelbrot.rn#L33-L35 https://github.com/google/rune/blob/main/benchmarks/mandelbr...
for k = 0u32, k < 8u32, k += 1 {
cr0[k] = 2.0 * <f64>(8 * x + k) / <f64>width - 1.5;
}
- nine_k 4y agoNot syntactically. It's slot-based, vaguely like Python, and has reference-counting GC, like Python. That's how I understand it.
- boxed 4y agoSo.. objective-c inspired? :P
- sacnoradhq 4y agoMinus static_cast or replacing C cast parens with angle brackets.