HackerTrans
TopNewTrendsCommentsPastAskShowJobs

wmu

no profile record

Submissions

Accelerated SQL for JSON with AVX512 (Golang)

github.com
19 points·by wmu·4 years ago·9 comments

comments

wmu
·22 days ago·discuss
That's a very important point. For instance on Intel's CPUs multiplication is pipelined - its latency is 3 cycles, but throughput is 1 cycle. Thus completing N multiplication takes 2 + N cycles (in the best case), not 3 * N.
wmu
·4 years ago·discuss
Disclaimer: I'm one of the authors of sneller core. We have been working on this project for more than a year. It's has got neat AVX512-centered architecture and many neat tricks inside.
wmu
·4 years ago·discuss
There are many scary things in the world. But the scariest is the line "Hi, I have a quick question". :)
wmu
·5 years ago·discuss
It was already said by the author, that approx ~70% of patches can be applied independently in various part of the source tree. The rest has to be synchronised.
wmu
·5 years ago·discuss
DuckDuckGo is also not good. Last week I switched to Bing and its results are surprisingly good.
wmu
·5 years ago·discuss
- It looks like a virus... - But it's the antivirus!

:)
wmu
·5 years ago·discuss
Thanks, that's a really elegant approach.
wmu
·5 years ago·discuss
Author here. I cannot use BSR, because have to execute code for all bits, regardless their value. The range is: the last bit to the first with value 1. It's a non-obvious iteration schema. :)
wmu
·5 years ago·discuss
> In continental Europe I have often been in a room with people from 10 different countries say Germany, France, Italy, Russia, Poland, India, China, Korea, England. Everyone could understand each other's broken English with the exception that half of the people couldn't understand English guy.

The problem is that most people are not exposed to real-life English. It's either quite artificial language during classes or well spoken lines in movies. Words are spoken slower and clearer. Native speakers speak fast, use linking, colloquial language, multitude of idioms, phrasal verbs, and tons of stuff never ever touched during classes.
wmu
·5 years ago·discuss
I use my own, simple CLI tool* (not only to track working hours, but also to track open source or hobby activiets). For many years I used Toggl, which is great and powerful - I just needed something that works offline.

[*] https://github.com/WojciechMula/timetracker
wmu
·5 years ago·discuss
There's a similar project http://rosettacode.org/wiki/Rosetta_Code.
wmu
·5 years ago·discuss
We can call these things "flaws" or "traits", it doesn't really matter. The reality is SIMD hardware is ubiquitous, while the alternatives the article mentions are niche. Maybe except ARM SVE, which appeared this year on the market.
wmu
·5 years ago·discuss
Love the whole project, she's my hero. :) I'm wondering how much did she pay in total to look like a billionaire.
wmu
·5 years ago·discuss
I often use "not", "and", "or" to clearly express logical conditions. Bit operations look better as cryptic symbols "&", "|" and "~". :)
wmu
·5 years ago·discuss
The sentence in question is misinterpreted. I read it like this: our contract applies all the time, not only when you're directly working for the company. We don't know what the contract exactly says. Likely there's an agreement not to work on IBM-related products in spare time.
wmu
·5 years ago·discuss
Looks great! Seems there were some issues in conversion into HTML chapter titles. For example https://www.practical-go-lessons.com/chap-31-logging#log.fat...
wmu
·5 years ago·discuss
Regarding the C++ version: instead of copying data to a vector and then sorting the vector, it might be more profitable to use std::multimap<size_t, string>. This is a sorted container (likely rb-tree based) that handles duplicated keys.

Also, as somebody else mentioned, iostreams are slow. Even simple reading of file can be several times slower than plain C (http://0x80.pl/notesen/2019-01-07-cpp-read-file.html).
wmu
·5 years ago·discuss
The article mentions that the format was reverse-engineered, but the link goes to some extension database page, without any further details. Is the format really known?
wmu
·5 years ago·discuss
Trivia: the Polish word "cuda" means "miracles", "zluda" ("złuda") means "a delusion". Nice pun.