HackerTrans
TopNewTrendsCommentsPastAskShowJobs

csjh

no profile record

Submissions

A Tale of Three WebAssembly Runtimes

csjh.blog
3 points·by csjh·قبل شهرين·0 comments

comments

csjh
·قبل 13 يومًا·discuss
I found it to spiral into complete nonsense a few times when I tested it out, but it's possible that was a bug in the provider
csjh
·قبل شهرين·discuss
It should be pretty mature outside of Wasi. To be fair, there's really nothing that's super mature in terms of Wasi support, except maybe Wasmtime
csjh
·قبل شهرين·discuss
don’t look at the user that reposted the article
csjh
·قبل 4 أشهر·discuss
maybe it implies some amount of "live to work" etymologically, but the word "living" in that context specifically refers to living in the financial sense (the act of living wouldn't really make sense in that sentence)

you live to play video games and watch movies, but you make a living by working
csjh
·قبل 4 أشهر·discuss
Wasm is explicitly not designed for interpretation (https://arxiv.org/abs/2205.01183)
csjh
·قبل 4 أشهر·discuss
Optimizations like these are so cool. I love seeing higher level languages take advantage of their high level-ness
csjh
·قبل 4 أشهر·discuss
What do you mean outside of programmer control? What's stopping you from setting the stack size in the linker flags?
csjh
·قبل 4 أشهر·discuss
What’s the downside of SynthID?
csjh
·قبل 5 أشهر·discuss
Obligatory DuckDB solution:

> duckdb -s "COPY (SELECT url[20:] as url, date, count(*) as c FROM read_csv('data.csv', columns = { 'url': 'VARCHAR', 'date': 'DATE' }) GROUP BY url, date) TO 'output.json' (ARRAY)"

Takes about 8 seconds on my M1 Macbook. JSON not in the right format, but that wouldn't dominate the execution time.
csjh
·قبل 5 أشهر·discuss
You’re missing the fact that the compiler isn’t forced to fill every register in the first place. If it was less efficient to use more registers, the compiler simply wouldn’t use more registers.

The actual counter proof here would be that in either case, the temporaries have to end up on the stack at some point anyways, so you’d need to look at the total number of loads/stores in the proximity of the call site in general.
csjh
·قبل 3 سنوات·discuss
I believe that's at least part of what the GC proposal is moving towards.