frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

I built a lockfree(where applicable) fibers workstealing jobs system/scheduler

https://github.com/jay403894-bit/JLib-Scheduler
3•jay403894•4h ago

Comments

jay403894•4h ago
A custom, lock-free C++17 fiber scheduler with topological DAG logic gates and rigid 64 byte task layouts optimized for L1 cache boundaries. Solves starvation/deadlock via age-based promotion and priority inheritance.

currently working on a windows/directx ecosystem of game libs and this is the core of the engine

its running my platformer and a parallel commandlist renderer shown here https://streamable.com/qakm4h

my other repos have stuff in them like the renderer, and other libs and some games (although the platformer demo wont run because i need to re upload it with the assets in the distribution and i dont have time before work today)

either way this is a really cool scheduler i built with a lot of features and options, a fast path if you dont need fiber features, fork join support, topology-aware stealing, built in parallelfor, a built in task-dag, and much more, very fast!

currently windows-only but highly feature rich and efficient

Last benchmarks:

Throughput: 0.82M tasks/sec — this is actually measuring the producer side, not the pool: one thread (main) creating+pushing 200k tasks serially at ~1.2µs each while workers drain faster than main can feed them. So it's your task-creation cost, which is the number the 64-byte change helps. Latency: 6.9µs push→run→wait round trip. That's the floor for "schedule one thing and wait for it" — solid, and it bounds how fine-grained a task can be before overhead eats it: anything under ~10µs of real work isn't worth its own task. ParallelFor: 3.4x speedup — don't read this as "scheduler only scales 3.4x on 32 threads." The kernel is one multiply-add per float over 64MB, which is memory-bandwidth-bound; 3.4x means you saturated DRAM with ~4 cores and the other 28 had nothing to feed on. A compute-heavy kernel (e.g. sqrtf chains) would show the real scaling ceiling. Frame DAG: 31.9µs per 6-node graph — Building, submitting, running, and tearing down a Game01-shaped frame graph costs ~32µs, i.e. 0.2% of a 60fps frame budget.

fork-join : completed run 0: 12.99 ms (pushed=254, executed=128) fork-join : 1M recursive (10k-elem leaf) best-of-1 -> 12.99 ms

very fast

Link between artificial sweeteners and faster mental decline

https://www.neurology.org/doi/10.1212/WNL.0000000000214023
1•corvad•53s ago•0 comments

PersonalDrive: Personal Cloud Storage

https://personaldrive.xyz/
1•thunderbong•3m ago•0 comments

Implementation of "Writing a C compiler" in Zig

https://github.com/igor84/wcc
2•rguiscard•5m ago•0 comments

Toyota pump tech could be key to hydrogen-combustion practicality

https://www.autocar.co.uk/car-news/technology/toyota-pump-tech-could-be-key-hydrogen-combustion-p...
1•breve•7m ago•0 comments

Track you Claude Code usage in dollars

https://www.claudeusage.com/leaderboard
1•bazarkua•7m ago•0 comments

Seamless iPad (or any device that can run a web browser) drawing into org-mode

https://github.com/larrasket/org-pad.el
1•lr0•13m ago•0 comments

China cracks down on AI companions, forcing millions to break up

https://www.abc.net.au/news/2026-07-19/china-cracks-down-on-artificial-intelligence-companions/10...
1•defrost•15m ago•1 comments

Archaeologists found Homer's Iliad inside a 1,600-year-old Egyptian mummy

https://www.sciencedaily.com/releases/2026/07/260713084918.htm
2•NordStreamYacht•27m ago•0 comments

IceCream – Never use print() to debug again

https://github.com/gruns/icecream
1•gregsadetsky•29m ago•0 comments

Claude Is Painful

5•kderbyma•29m ago•3 comments

Deepsec

https://github.com/vercel-labs/deepsec
1•handfuloflight•34m ago•0 comments

AI Mania Is Eviscerating Global Decision-Making

https://ludic.mataroa.blog/blog/ai-mania-is-eviscerating-global-decision-making/#fnref:3
4•subset•38m ago•1 comments

Prompt Injection Attacks Are Thwarting AI Hacking Agents

https://arstechnica.com/security/2026/07/now-defenders-are-embracing-the-prompt-injection-too/
1•sbulaev•41m ago•1 comments

Doctors question evidence behind Pentagon plan for testosterone screening

https://www.theguardian.com/us-news/2026/jul/18/us-military-testosterone-screening-doctors
1•wslh•43m ago•1 comments

University of Illinois is insuring itself against a drop in Chinese students

https://www.chicagobusiness.com/education/university-illinois-insurance-decline-chinese-enrollment/
2•MaysonL•43m ago•1 comments

AI as Normal Technology

https://knightcolumbia.org/content/ai-as-normal-technology
1•elsewhen•44m ago•0 comments

Ergonomic keyboard generator with hand scanning

https://ryanis.cool/cosmos/
1•ffin•47m ago•0 comments

My app just got approved by the App Store

https://apps.apple.com/us/app/kleios/id6765974356
2•idclark34•51m ago•5 comments

No, an AI cannot know the future and never will..

https://pulkitsharma.substack.com/p/no-an-ai-cannot-know-the-future-and
1•pulkitsh1234•52m ago•0 comments

Cash is king again at Tokyo's bars after credit processor fails

https://www.japantimes.co.jp/business/2026/07/14/companies/zentoshin-kabukicho-bar-cash/
1•mikhael•52m ago•0 comments

Flightwake – a flight recorder for AI coding agents, not a navigator

https://github.com/kaiwutech-TW/flightwake
1•kaiwuTW•53m ago•0 comments

Superformula

https://en.wikipedia.org/wiki/Superformula
2•elsewhen•56m ago•0 comments

Social media algorithms: accumulated aesthetic artifacts

https://henderson.lol/posts/202607-social-media-algorithms-accumulated-aesthetic-artifacts
3•hendersonreed•1h ago•0 comments

Cloud providers are out of B200 GPUs after the Inkling release

https://twitter.com/Akashi203/status/2078615659366252877
4•Jr23_xd•1h ago•2 comments

Better and Cheaper Than IPTV

https://github.com/stupside/castor
21•xonery•1h ago•6 comments

Lobsters Interview with matheusmoreira about Lone Lisp

https://alexalejandre.com/interviews/interview-with-matheus-moreira/
4•birdculture•1h ago•1 comments

Show HN: EnviousWispr, an open-source Wispr Flow alternative for macOS

https://github.com/saurabhav88/EnviousWispr
1•EnviousLabs•1h ago•0 comments

I built code-repair training data and shipped the eval so you can rerun it

https://huggingface.co/datasets/TrueSET/verified-code-repair
1•TrueSET_Data•1h ago•2 comments

Miserere (Allegri)

https://en.wikipedia.org/wiki/Miserere_(Allegri)
2•thunderbong•1h ago•0 comments

AI Assisted Vulnerability Research on Embedded Targets

https://quentinkaiser.be/security/2026/07/18/ia-assisted-vuln-research/
1•snorbleck•1h ago•0 comments