3 ms·
> We can all compile C to wasm now. yes, true. some people did indeed port not just python3 to wsm, but also llvm (not sure about llvm9 to run dex/jax/vax, but
by kelas 6y ago
> We can all compile C to wasm now.
yes, true. some people did indeed port not just python3 to wsm, but also llvm (not sure about llvm9 to run dex/jax/vax, but still). the practicality of such heroics is questioned by some folks, but tastes differ.
"we can compile anything to anything" is a bit of a non-argument. while it is a true statement, the public k9 wasm build is meant to illustrate how well k9 runs on bare metal ("bare", in this particular case). syscall table and two stdlib functions used by the web console are optional.
> clickhouse is winning left right and center
oh, thank you - never heard of that one, Russians produce a lot of excellent software (and sometimes manage to get away with it, see nginx). in particular, 3 queries against famous nyc taxi ride db is a very popular (non-)comparison, i really enjoyed the story of this guy riding a taxi on 100-way cluster:
https://tech.marksblogg.com/billion-nyc-taxi-rides-clickhouse-cluster.html
> show us something
maybe this, although old news:
https://shakti.sh/benchmark/taxi.k
i know it doesn't look remotely as shiny (and resilient!) as the clickhouse cluster configuration rant up above, but taxi.k is fully self-contained, includes some economy of scale estimations for k9 and some other systems, and will happily do 100-way over ipc if you so desire.
> ..interesting?
maybe this:
https://kparc.io/k/#%5Cl%20taxi.k
this is nyc taxi Q1 on your phone. no threads, no ipc, no ec2, no simd, no simdjs. it is just you and your mobile phone. maybe not so impressive.
i get about 9ms on iphone12 and about 40ms on mbp2012.
what do you get?
> J is cleaner and open source
while could be very true as well, especially open source part, i am not aware of taxi shootout readings for J, so my competence ends here. what i know about J, however, is where it came from - see the legendary "origins of j" anecdote at https://kparc.io https://kparc.io
* * *
finally:
> k is a db
that is imprecise. k is a small, agile and integrated system, very well designed. it is a language that gives you a "db" if you need one, but it can also solve euler p572 for you only 10-20 times slower than a carefully crafted c solution (one should be lucky to get ~200ms, but maybe you get luckier).
that's the idea.
- klinna 6y agoI have only iPhone XR and it took 14 ms. But my Linux on Asus A15 is a bit faster than your MacBook. It took 12 ms with battery power and 7 ms with a power cord connected.