frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Coderive – Iterating through 1 Quintillion Inside a Loop in just 50ms

https://github.com/DanexCodr/Coderive
1•DanexCodr•2h ago
Author: Danison Nuñez Project: Coderive Project Type: Programming Language Highlight: Formula-based Execution

## Coderive - Iterating Through 1 Quintillion in a Loop

*Subtitle: How a phone interpreter achieves what supercomputers cannot*

The Impossible Loop:

```java // In any other language, this would be computational suicide for i in [0 to 1Qi] { // 1,000,000,000,000,000,000 iterations arr[i] = i * i } ```

Traditional Reality:

· Python: MemoryError at array creation · Java/C++: Theoretical 31 years (with 8 exabytes of RAM) · NumPy/TensorFlow: Immediate crash · GPU Computing: 80GB VRAM limit exceeded

Coderive's Reality: 50 milliseconds.

The Magic Behind It:

1. NaturalArray: Virtual arrays that store formulas, not data 2. Runtime Pattern Detection: Transforms loops to mathematical expressions 3. Lazy Evaluation: Computes only what's accessed 4. Formula Storage: LoopFormula, ConditionalFormula, MultiBranchFormula

Technical Deep Dive:

```java // What you write: for i in [0 to 1Qi] { if i % 2 == 0 { arr[i] = i * i } elif i % 3 == 0 { arr[i] = i * i * i } else { arr[i] = i } }

// What Coderive creates internally: arr.addMultiBranchFormula( conditions: [i%2==0, i%3==0], expressions: [ii, iii], elseExpr: i, range: [0, 1Qi] ) ```

The Optimization Pipeline:

``` User Code → Pattern Detection → Formula Creation → Lazy Evaluation ↓ ↓ ↓ ↓ O(n) O(1) O(1) O(1) per access ```

Complete Pattern Coverage:

· Simple Transformations: arr[i] = f(i) → LoopFormula · Binary Decisions: if-else → ConditionalFormula · Multi-way Branches: if-elif-else → MultiBranchFormula · Partial Updates: if-only with implicit else preservation

Real-World Impact:

```java // Process every pixel in 8K video (≈33 million frames) for frame in [0 to 33M] { for pixel in [0 to 7680

4320] { // 33 million frames × 33 million pixels if brightness > 128 { pixels[pixel] = 255 } elif brightness > 64 { pixels[pixel] = 128 } else { pixels[pixel] = 0 } } } // Traditional: Impossible // Coderive: Seconds, not centuries ```

The Secret Sauce:

· No data movement (arrays stay virtual) · No parallel programming (formulas are inherently parallel) · No memory management (O(1) memory complexity) · No specialized hardware (runs on Java 7)

Conclusion: Coderive doesn't just make loops faster—it redefines what's computationally possible on commodity hardware.

Check Coderive now at: [https://github.com/DanexCodr/Coderive](https://github.com/DanexCodr/Coderive)

I was wasting 10 hrs/week on videos for 2-3 min of value – so I built this

https://aitakeaway.net
1•michaellzd0303•46s ago•1 comments

German Federal Office for Information Security (BSI) examines 12 email clients [pdf]

https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Publikationen/DVS-Berichte/E-Mail-Programme.html
1•XzetaU8•2m ago•0 comments

Joan Didion and Kurt Vonnegut Had Something to Say. We Have It on Tape

https://www.nytimes.com/2025/12/19/books/james-baldwin-joan-didion-92ny-recordings.html
1•tintinnabula•3m ago•0 comments

China's Bonkers Bike-share Bubble [video]

https://www.youtube.com/watch?v=FQrEDq8KPiU
1•mgh2•4m ago•0 comments

Amifuse: Native AmigaOS filesystem handlers on macOS/Linux

https://github.com/reinauer/amifuse
1•snvzz•5m ago•0 comments

How Did India Conquer Space?

https://altermag.com/articles/how-did-india-conquer-space
1•adityaathalye•6m ago•0 comments

Holocron – A tool for syncing Git repositories

https://github.com/Someniak/holocron
1•someniak•7m ago•0 comments

The Sad State of RCS

https://hygt.github.io/sad-state-of-rcs/
1•hocuspocus•8m ago•0 comments

Pilot Locks Himself on Flight Deck over Back Pay

https://avbrief.com/pilot-locks-himself-on-flight-deck-over-back-pay/
1•justinclift•8m ago•0 comments

Looking back on a year of AI blunders

https://www.ft.com/content/d22867d6-af87-4727-84d7-1571d951347d
1•1vuio0pswjnm7•11m ago•1 comments

Agent Skills for Context Engineering

https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering
1•youraimarketer•11m ago•1 comments

Embedding-Based Tool Selection for AI Agents

https://zarar.dev/embedding-based-tool-selection-for-ai-agents/
1•jyscao•16m ago•0 comments

Keeping Up with Git

https://github.com/stryngs/gitPuller
2•stryngs42•21m ago•0 comments

It's only 'a matter of time' before every job is wiped out

https://fortune.com/2025/12/19/yoshua-bengio-ai-only-a-matter-of-time-before-every-single-job-is-...
1•gotoi•22m ago•1 comments

MessagePack serialization library for Python derived from orjson

https://github.com/ormsgpack/ormsgpack
1•aviramha•24m ago•0 comments

Vibration Isolation of Precision Objects (2005) [pdf]

http://www.sandv.com/downloads/0607rivi.pdf
1•nill0•25m ago•0 comments

Ask HN: What are the platforms I can reach out to open-source contributors?

1•zfoong•29m ago•0 comments

Ask HN: Stepping into 2026. Your Take?

1•paperplaneflyr•30m ago•0 comments

Myself and Merry Christmas and a great 2026

https://nicer.app
1•rene-veerman•39m ago•0 comments

The road to hell is paved with good intentions and C++ modules (2023)

https://nibblestew.blogspot.com/2023/10/the-road-to-hell-is-paved-with-good.html
1•anewhnaccount2•40m ago•0 comments

CSRF Protection Without Tokens or Hidden Form Fields

https://blog.miguelgrinberg.com/post/csrf-protection-without-tokens-or-hidden-form-fields
3•adevilinyc•42m ago•0 comments

Honey Targeted Minors and Exploited Small Businesses [video]

https://www.youtube.com/watch?v=wwB3FmbcC88
2•skunkworker•43m ago•1 comments

GPUs to Mars: Full-Scale Simulation of SpaceX's Mars Rocket Engine (2015)[video]

https://www.youtube.com/watch?v=vYA0f6R5KAI
1•nill0•43m ago•0 comments

A Child in the State of Nature

https://lareviewofbooks.org/article/a-child-in-the-state-of-nature/
1•Caiero•52m ago•0 comments

Show HN: EasyHow – search and discover how-to guides

https://easyhow.vercel.app/
1•dfskGT•54m ago•0 comments

How do you handle international taxation for subscription apps?

1•SamyakKhetan•57m ago•0 comments

An Open Source Interferometer for Accurate Distance Measurements

https://github.com/0x23/nmWave-Interferometer
2•nill0•59m ago•0 comments

LLM Communications in the Wild

https://medium.com/@maspinwall22/llm-communications-in-the-wild-1f57a06642ae
1•govmaspy•1h ago•0 comments

Shen Condensed in a Few Pages

https://groups.google.com/g/qilang/c/mizEPRFRbIM
1•MTarver•1h ago•0 comments

'Cinderella' Rescued Disney from Ruin

https://www.smithsonianmag.com/smithsonian-institution/disney-was-in-distress-during-the-late-194...
1•gmays•1h ago•0 comments