Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Human brain is two separate organs, Stanford Medicine-led research finds(stanford.edu ↗)
    107comments
  2. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    123comments
  3. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    90comments
  4. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    69comments
  5. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    441comments
  6. San Francisco Onion Futures Company(onionfutures.com ↗)
    73comments
  7. “The Secret Life of Circuits” is here(coredump.cx ↗)
    19comments
  8. Apple M6 Pro Achieves the Highest Single-Core CPU Score in Geekbench 7(geekbench.com ↗)
    54comments
  9. Cloudflare Quick Tunnels(cloudflare.com ↗)
    285comments
  10. SDCC – Small Device C Compiler(sourceforge.net ↗)
    20comments
  11. How to Write with an LLM(sockpuppet.org ↗)
    338comments
  12. Science Is Open Software(jepedersen.dk ↗)
    40comments
  13. Saving another 100TB of RAM(cloudflare.com ↗)
    81comments
  14. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    32comments
  15. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    15comments
  16. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    92comments
  17. Ctenophores: Wonders of Biology(quantamagazine.org ↗)
    6comments
  18. NASA-IBM Lunar Foundation open-Source Geospatial AI Model(usra.edu ↗)
    2comments
  19. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    106comments
  20. OpenJev(openjev.com ↗)
    269comments
  21. Goroutine Leak Profiles(go.dev ↗)
    4comments
  22. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    89comments
  23. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    73comments
  24. Communication by means of modulated Johnson noise(pnas.org ↗)
    1comments
  25. Veronese's Dogs(publicdomainreview.org ↗)
    1comments
  26. Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)(arxiv.org ↗)
    13comments
  27. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    74comments
  28. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    100comments
  29. Cyclomatic Complexity in C#(ndepend.com ↗)
    24comments
  30. Typesafe-computer-use drives a Mac toward a goal for 1/50th of a cent per step(github.com/awlevin ↗)
    55comments

Xxl – a minimal vector programming language

7 pointsby 10y agogithub.com
4 comments
10y agoHN ↗

Hey guys, author here.

I was holding off on posting a Show HN here until I get more documentation together, but somehow that task seems to be taking longer and longer, so I guess it is good that this has been posted.

XXL is pretty young and a bit slow and buggy yet, but I think it has some interesting ideas. I drew most of my inspiration from K/Q and Erlang and some second hand APL and J.

My goal is to allow concise expression of complex algorithms, minimize magic at the cost of some terseness and, provide a robust, composable standard API (with stuff like mailboxes, a built-in pastebin for any data/code, really easy to generate parse trees, and advanced looping verbs like recurse, exhaust, deep, and wide).

You can get a sense of the language from my non-programmer introduction here: https://github.com/tlack/xxl/blob/master/doc/groceries.xxl (Side note: This tutorial is intended to be interacted with as a kind of slide show of explanation and then REPL input, along with the corresponding results from XXL. Such tool is only a fantasy, but it should help you figure out what you're looking at here.)

Here's a mostly complete list of the verbs in the language: https://github.com/tlack/xxl/blob/master/doc/lang.xxl

The source is pretty easy to understand and of course I'd love to answer any questions.

10y agoHN ↗

Just found this on github, looks awesome. Please do post a Show HN when you are ready.

Love love love that this is a K/Q/erlang/APL/J inspired language that uses common English.

Have you started on the JS translation yet? I suppose it would need to allocate sparse arrays in order to keep performance reasonable? How do you see that going? I would definitely use it and might be able to help if I can find the time.

10y agoHN ↗

Hey there! Thanks for the kind thoughts.

I love the ideas of K/Q/Erl/APL/J but the damn specifics, syntax, and wording is just so off-putting to most people. Frustrating because English is such a diverse language, but we insist on using our cryptic invented terms. Plus of course they write the documentation and tutorials as if you are solving a riddle..

I haven't started JS yet. I had to pick and choose my battles and writing all that in C alone was hard enough.

I did build the first version of the "concept interpreter" using JS, so it would be pretty simple. I'd probably use fixed sized arrays and the rest of the asm.js stack if I did. People are looking for high performance.

The key to the interpreter is simply converting each character of the source into an item in a list, then using open ended matching primitives to convert it into the proper parse tree, by detecting matching symbols, etc.

The problem for real work w/ XXL+JS is the 1.7gb VM limit in V8, which no one seems to talk about. :)

Come visit on #kq or #xxl on Freenode IRC when you have time.