1,232 karma · joined March 21, 2011
PhD in automatic memory optimizations for GPUs, focusing on Futhark.
philip@munksgaard.me
https://munksgaard.me
That sounds scary. As someone without any experience with psychiatric institutions or the US health system, I'm curious what people's views are on this.
- https://news.ycombinator.com/item?id=46930961 - https://github.com/mitchellh/vouch
That's literally what they explain in the rest of the comment.
But you're right, it would be interesting to see how the different approaches stack up to each other. The Pareas project linked above also includes an implementation using radix sort.
I haven't studied it in depth, but it's pretty readable.
His example is:
sequence
.map(|x: T0| ...: T1)
.scan(|a: T1, b: T1| ...: T1)
.filter(|x: T1| ...: bool)
.flat_map(|x: T1| ...: sequence<T2>)
.collect()
It would be written in Futhark something like this: sequence
|> map (\x -> ...)
|> scan (\x y -> ...)
|> filter (\x -> ...)
|> map (\x -> ...)
|> flattenEdit: I do miss static typing, but it's worth it to not have to reinvent the web framework wheels myself.
I tried using it for syncing large files in a collaborative repository, and the use of "magic" branches didn't seem to scale well.
Quotation needed.