frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Vectorized and performance-portable Quicksort

https://opensource.googleblog.com/2022/06/Vectorized%20and%20performance%20portable%20Quicksort.html
89•mococa•52m ago

Comments

glouwbug•31m ago
Very nice. Let's see Paul Allen's quicksort
kg•29m ago
(2022)

If you're curious why you would want a vectorized way to sort lists of numbers, one use case is building histograms - it's much easier to build a histogram if you've sorted all your samples first

mcdonje•19m ago
>(2002)

I wonder what apps have implemented this now that a few years have passed.

tucnak•28m ago
Who would've guessed? SIMD is so boring.
sigbottle•21m ago
Honestly part of me feels that way about way too many things in retrospect about my own life and interests.
Flex247A•20m ago
time to log off
trueno•9m ago
i read that and thought the same. actual based idea its even inspired me to log off
cs702•22m ago
Hadn't seen it until now. Open-source. Immediately usable. It will find its way to every place in which it can be used. Very nice! A big THANK YOU to the developers.
minitech•12m ago
Actual title: “Vectorized and performance-portable Quicksort” (2022).

Actual sense in which it’s first:

> Happily, modern instruction sets (Arm SVE, RISC-V V, x86 AVX-512) include a special instruction suitable for partitioning. Given a separate input of yes/no values (whether an element is less than the pivot), this "compress-store" instruction stores to consecutive memory only the elements whose corresponding input is "yes". We can then logically negate the yes/no values and apply the instruction again to write the elements to the other partition. This strategy has been used in an AVX-512-specific Quicksort. But what about other instruction sets such as AVX2 that don't have compress-store? Previous work has shown how to emulate this instruction using permute instructions.

> We build on these techniques to achieve the first vectorized Quicksort that is portable to six instruction sets across three architectures, and in fact outperforms prior architecture-specific sorts.

mixologic•8m ago
> Our implementation uses Highway's portable SIMD functions, so we do not have to re-implement about 3,000 lines of C++ for each platform.

Would they do the same thing today or have an LLM re-implement those 3000 lines of c++ ?

bee_rider•5m ago
Well, it came out a while ago, so maybe we can be a bit silly:

There’s something sort of beautiful about mergesort and heapsort. Their names tell you what their main idea is, and how they work is immediately obvious.

Quicksort, on the other hand, has nothing beautiful about it and is named after it’s one redeeming feature (that it is quick for a lot of cases).

DennisL123•4m ago
Awesome, Jan!
djsavvy•4m ago
Definitely needs (2022) in the title, I was a bit confused!

PriFi and the Incomplete Institution: Securing the Transaction Supply Chain

https://blog.logos.co/article/pri-fi-securing-transaction-supply-chain
1•michaelsbradley•18s ago•0 comments

I rated every track on 445 albums using public data, then built a game on it

https://debutle.com/
1•diestro•2m ago•0 comments

A Top Law Firm Went from Standing Up to Trump to Bending the Knee

https://www.nytimes.com/2026/08/02/us/politics/paul-weiss-trump.html
1•saeranv•4m ago•0 comments

Cortex: An open-source L1 memory and state layer for autonomous AI agents

https://github.com/cortex-protocol/cortex-protocol
1•BysertK•4m ago•0 comments

How good are frontier models at physics?

https://arxiv.org/abs/2609.13009
4•qt31415926•5m ago•1 comments

Vortex: One Format for Any Shape

https://spiraldb.com/blog/vortex-one-format-for-any-shape
4•ConnorTsui20•5m ago•1 comments

Neurogrid Terminal Coding Agent

https://github.com/NeuroGrid-AI-exchange/neurogrid-tui
2•cheyodev•10m ago•0 comments

Show HN: Padwan-LLM, a lightweight LLM Python client

https://github.com/polarsen-io/padwan-llm
1•Orelus•12m ago•0 comments

Show HN: Trail, a New Logic Game

https://trail.franzai.com/
1•franze•12m ago•0 comments

Who Governs the Information State?

https://siliconprairies.substack.com/p/who-governs-the-information-state
1•JBruggeman•12m ago•0 comments

Memory in Grok Build

https://x.ai/news/grok-build-memory
2•vertigoruntime•12m ago•0 comments

Vector Search in open-source MySQL

https://villagesql.com/blog/vector-search-hnsw/
1•deesix•13m ago•1 comments

'We will rule in Canada': Letter from Bishnoi gang to police disclosed

https://www.cbc.ca/lite/story/9.7341131
2•colinprince•14m ago•0 comments

Fed Raises Rates for First Time in Three Years

https://www.wsj.com/economy/central-banking/fed-raises-rates-for-first-time-in-three-years-08539fbe
1•kaycebasques•14m ago•0 comments

Data Broker Radaris Loses Domains in Privacy Fight

https://krebsonsecurity.com/2026/09/data-broker-radaris-loses-domains-in-privacy-fight/
3•arnaudsm•15m ago•0 comments

Scientists Fuse Human Neurons into the Brains of Mice

https://www.nytimes.com/2026/09/16/science/human-mouse-brains-organoids.html
2•bookofjoe•15m ago•1 comments

Redact PDFs in the browser, with the file never leaving the device

https://hddn.app/
2•zilijonas•16m ago•0 comments

MillionGlucose: I built a Million Dollar Homepage for diabetes

https://millionglucose.com
1•bibinmohan•17m ago•1 comments

Forget the AI Apocalypse – The Real Threats Are Already Here

https://www.wsj.com/tech/ai/ai-apocalypse-dangers-already-here-f3cd57de
2•thm•17m ago•0 comments

Federal Reserve issues FOMC statement

https://www.federalreserve.gov/newsevents/pressreleases/monetary20260916a.htm
3•layer8•18m ago•1 comments

Webster's Revised Unabridged Dictionary of 1913

https://websters1913.timcieplowski.com/
1•gone35•18m ago•0 comments

Indian police to query Google over 500k fake Gmail IDs linked to bomb hoax

https://www.reuters.com/world/indian-police-query-google-over-500000-fake-gmail-ids-linked-bomb-h...
3•thisislife2•18m ago•0 comments

Show HN: In-Browser Sanskrit ASR Model

https://huggingface.co/gnumanth/sushrota-sanskrit-asr-onnx
2•init0•19m ago•0 comments

52 Factorial

https://czep.net/weblog/52cards.html
3•thunderbong•20m ago•0 comments

Barndoor acquires Diaphora, creators of open-source workflow runtime Frags

https://barndoor.ai/barndoor-acquires-diaphora/
2•mansilladev•21m ago•0 comments

Cyclomatic Complexity in C#

https://blog.ndepend.com/understanding-cyclomatic-complexity/
1•gone35•23m ago•0 comments

Children are taught distorted sounds of letters

2•LuqmanMichel•24m ago•1 comments

One Phone. One Computer

https://blog.oneberri.com/posts/one-phone-one-computer
2•frizlab•24m ago•3 comments

A coffee shop owner used AI to make a menu poster. Then came the angry DMs

https://www.businessinsider.com/coffee-shop-owner-ai-menu-backlash-2026-9
7•TMWNN•24m ago•0 comments

Empty rounds: our AI agents weren't unmotivated, they lacked a tool

https://github.com/MerariJafet/agora/releases/tag/v0.3.0
2•merari_acero•27m ago•0 comments