Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Neurogrid Terminal Coding Agent(github.com/neurogrid-ai-exchange ↗)
    discuss
  2. Show HN: Padwan-LLM, a lightweight LLM Python client(github.com/polarsen-io ↗)
    discuss
  3. Show HN: Trail, a New Logic Game(franzai.com ↗)
    discuss
  4. Who Governs the Information State?(siliconprairies.substack.com ↗)
    discuss
  5. Memory in Grok Build(x.ai ↗)
    discuss
  6. Vector Search in open-source MySQL(villagesql.com ↗)
    1comments
  7. 'We will rule in Canada': Letter from Bishnoi gang to police disclosed(cbc.ca ↗)
    discuss
  8. Fed Raises Rates for First Time in Three Years(wsj.com ↗)
    discuss
  9. Data Broker Radaris Loses Domains in Privacy Fight(krebsonsecurity.com ↗)
    discuss
  10. Scientists Fuse Human Neurons into the Brains of Mice(nytimes.com ↗)
    1comments
  11. Redact PDFs in the browser, with the file never leaving the device(hddn.app ↗)
    discuss
  12. MillionGlucose: I built a Million Dollar Homepage for diabetes(millionglucose.com ↗)
    1comments
  13. Forget the AI Apocalypse – The Real Threats Are Already Here(wsj.com ↗)
    discuss
  14. Federal Reserve issues FOMC statement(federalreserve.gov ↗)
    1comments
  15. Webster's Revised Unabridged Dictionary of 1913(timcieplowski.com ↗)
    discuss
  16. Indian police to query Google over 500k fake Gmail IDs linked to bomb hoax(reuters.com ↗)
    discuss
  17. Show HN: In-Browser Sanskrit ASR Model(huggingface.co ↗)
    discuss
  18. 52 Factorial(czep.net ↗)
    discuss
  19. Barndoor acquires Diaphora, creators of open-source workflow runtime Frags(barndoor.ai ↗)
    discuss
  20. Cyclomatic Complexity in C#(ndepend.com ↗)
    discuss
  21. Children are taught distorted sounds of letters
    1comments
  22. One Phone. One Computer(oneberri.com ↗)
    1comments
  23. A coffee shop owner used AI to make a menu poster. Then came the angry DMs(businessinsider.com ↗)
    discuss
  24. Empty rounds: our AI agents weren't unmotivated, they lacked a tool(github.com/merarijafet ↗)
    discuss
  25. Turning a Yellow Spot into the Sun(weskao.com ↗)
    discuss
  26. Accurate Models of AMD Matrix Cores(arxiv.org ↗)
    discuss
  27. Fed hikes rates as inflation worries push up bond yields(reuters.com ↗)
    1comments
  28. Show HN: Friday – Self-hosted persistent memory for AI coding agents (MCP)(github.com/itskie ↗)
    discuss
  29. An Aging World: 2025 [pdf](census.gov ↗)
    discuss
  30. Static website serving the complete 1913 Webster's Revised Unabridged Dictionary(timcieplowski.com ↗)
    discuss

We've created the first vectorized Quicksort

75 pointsby 47m agoopensource.googleblog.com
9 comments
23m agoHN ↗

(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

14m agoHN ↗

(2002)

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

16m agoHN ↗

Honestly part of me feels that way about way too many things in retrospect about my own life and interests.

3m agoHN ↗

i read that and thought the same. actual based idea its even inspired me to log off

16m agoHN ↗

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.

7m agoHN ↗

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.