frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Chain – A Python-like language with native inline C++

https://github.com/Nebania/chain-lang
1•Pilot0253•59m ago
Chain (Formerly Link-Lang) is a Python-syntax scripting language that was built from scratch in C++, with one feature I haven't noticed elsewhere: an 'extern "c" { }' block where you can write real C++ directly inside a script. The runtime then compiles it, catches the .so, and shares variables with the surrounding script via shared memory. An example would be:

    set x = 30
    extern "c" {
        for(int i = 0; i < 5; i++) {
            LINK_x -= 1;
        }
    }
    print(x)  # x is now 25, mutated by the C++ block
This essentially means you get Python-like ergonomics for everyday usage, while having a direct hatch to C++ when you need raw performance or a library that isn't wrapped yet, not having to leave the file or set up a separate build step.

Furthermore, Chain has dynamic typing (int/float/string/char/bool/list/dict), OOP (classes, constructor, 'this', 'new'), an ('import') module system, and try/catch. It also ships with native modules for GUI (via raylib), audio, TCP networking, and OS/shell access. This means a script can open a window, play a sound, and/or hit a network socket without pulling in external packages.

Chain is the flagship language of a hobby OS (and general technology group) a few of us are building, called Nebula OS, where it's used as the interpreted layer that integrates directly with the GUI, audio, networking, and OS layer without needing to go through separate frameworks or services. The OS also ships a small suite of native tools (a shell, file manager, text/script editor) that treat '.chain' scripts as first class. For example, the file manager can statically analyze a script and offer to install it as a live shell plugin. I'd be happy to go into this in the comments if people are curious, but just wanted to keep this post focused on the language itself.

Chain runs on Linux and Android (custom ARM kernel) so far, and precompiled binaries (x86_64/aarch64, Linux, Windows, macOS) are next on the development roadway.

I would especially love feedback on the language design, specifically the extern "c" and shared-memory approach. Does it seem reasonable, or are there thing you'd expect to hit it with?

Paysend Streamlines Onboarding and Achieves 95% Pass Rate with Sumsub

https://sumsub.com/customers/paysend/
1•mooreds•56s ago•0 comments

Cloudflare Ambassadors

https://www.cloudflare.com/community/
1•Brajeshwar•1m ago•0 comments

Breaking News Drop Act First Data Broker Fine

https://captaincompliance.com/news/california-issues-first-dual-fine-under-ccpa-and-delete-act-ag...
1•richartruddie•1m ago•1 comments

Multiplex Streaming, Delta Sinks, and Iceberg Reads with Databricks

https://medium.com/databrickscommunity/multiplex-streaming-delta-sinks-and-iceberg-reads-with-dat...
1•protmaks•2m ago•0 comments

Databricks Watermark-Based Incremental Ingestion

https://medium.com/databrickscommunity/watermark-based-incremental-ingestion-lakeflow-connect-que...
1•protmaks•2m ago•0 comments

I benchmarked the new Databricks Lakehouse RT for billion-record tables

https://medium.com/databrickscommunity/i-benchmarked-the-new-lakehouse-rt-for-billion-record-tabl...
1•protmaks•3m ago•0 comments

WebKit emits mousemove event even when mouse hasn't moved

https://blog.oodle.ai/someones-hack-is-someone-elses-bug/
1•gholap•3m ago•0 comments

Claude finds a new lowest-ever counterexample to Borsuk's Conjecture

https://nickk124.github.io/borsuk/
1•commutater•3m ago•1 comments

3 years of DAILIES – a motion picture a day, for life

https://buymeacoffee.com/carrozo/3-years-dailies
1•carrozo•3m ago•0 comments

How to Find Quality Buyer in Manufacturing

https://deploy95.substack.com/p/the-quality-buyer-problem
1•tristalihaha•4m ago•1 comments

Elvish, Klingon and Pig Latin

https://theconversation.com/elvish-klingon-and-pig-latin-what-can-invented-languages-teach-us-abo...
1•jruohonen•5m ago•1 comments

"Is Claude Suffering?" No, but Maybe It Should Be

https://alec.is/posts/is-claude-suffering-no-but-maybe-it-should-be/
1•arm32•5m ago•0 comments

Show HN: WeaveKit – A declarative, SwiftUI like toolkit that renders to canvas

https://github.com/pixdeo/weavekit
2•mromanuk•6m ago•0 comments

Turning Hacker News into a daily podcast with ADK 2 and Gemini TTS

https://ykdojo.github.io/awesome-agents-on-google-cloud/hn-daily-podcast.html
1•yoyoyosss•7m ago•0 comments

Show HN: Point your webcam at a Rubik's Cube and watch it descramble in 3D

https://github.com/leereilly/rubiks-rubrics
1•lee337•7m ago•0 comments

Show HN: DRC – replay any production incident as a test, zero code changes

https://hypercubs.ai/
1•spinxog•9m ago•0 comments

Demand Forecasts: The Best You Can Do Is Guess

https://julienreszka.com/blog/demand-forecasts-the-best-you-can-do-is-guess/
1•julienreszka•9m ago•0 comments

Show HN: Home-buying AI that rejects any finding it can't quote from the source

https://askvetta.app/demo/meridian-ave-san-jose/
1•jiangyurong609•9m ago•0 comments

Delta investigating after someone set up fake Wi-Fi network mid-flight

https://techcrunch.com/2026/08/11/delta-investigating-after-someone-set-up-fake-wi-fi-network-mid...
1•OutOfHere•11m ago•1 comments

Natural Gas: America's Next Energy Crisis/Bottleneck

https://podcasts.apple.com/us/podcast/matthew-smith-natural-gas-the-next-bottleneck/id1154105909?...
1•cwwc•12m ago•1 comments

Pangram's Model Market Share

https://www.pangram.com/blog/pangram-s-model-market-share
1•eatonphil•13m ago•0 comments

A "Perfect" French Omelette is hard to make [video]

https://www.youtube.com/watch?v=pFWX5Ad6zTE
1•conferza•13m ago•0 comments

Judge allows Lockerbie suspect's alleged confession to be used at US trial

https://www.bbc.com/news/articles/c3r075jpyx1o
1•Markoff•13m ago•0 comments

Show HN: Release Mayhem – A fast-paced dev-themed card game

https://www.releasemayhem.com
1•adrianpang•13m ago•0 comments

The ChatGPT Phone Is Not What You Expect

https://egopoly.com/2026/08/chatgpt-phone.html
1•mooreds•16m ago•0 comments

Importing Users into FusionAuth over Time

https://fusionauth.io/community/forum/topic/3100/importing-users-over-time
1•mooreds•17m ago•0 comments

Biff.datastar: lightweight web UIs with Clojure and Datastar

https://github.com/jacobobryant/biff/tree/v2.x/libs/datastar
1•jacobobryant•18m ago•0 comments

I'm leaving OpenAI to build Jurassic Park

https://taylor.town/leaving-openai
2•higgins•18m ago•0 comments

Leak reveals a Zelda-themed Switch 2 and Pro Controller

https://hanafuda.report/articles/zelda-themed-nintendo-switch-2-leak/
1•brandrick•18m ago•0 comments

Unsloth Desktop

https://twitter.com/UnslothAI/status/2087177146662072546
1•tosh•18m ago•0 comments