frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Sapphire – A 12MB language with native UI and good performance

https://github.com/foxzyt/Sapphire
2•foxz•2h ago
Hi HN,

I’ve been building Sapphire, a lightweight, batteries-included programming language written in C++. I wanted a language that was fast enough for systems work but simple enough for quick UI tools, all while remaining a single, portable binary.

You can try it out here: github.com/foxzyt/Sapphire

I just completed a major overhaul of the VM. By migrating from a switch-case dispatch to Direct Threading (Computed GOTOs), I achieved a performance boost of 1000% over the previous architecture. It currently handles 100 billion iterations in ~9 seconds on a consumer CPU without a JIT.

What you can do with it right now:

Run UI apps instantly: It has a built-in Immediate Mode UI (SapphireUI). No external DLLs or complex setups required.

Portable scripts: The entire environment (VM + UI + Networking + JSON) is a 12MB standalone binary.

Compiled Bytecode: Use sapphire compile to turn scripts into .sbc files, skipping the parsing stage for near-instant startup.

How to try it:

Download the binary from the link above.

Run test scripts from the /tests folder.

No signups, no emails, just a portable executable.

I’m looking for contributors: Maintaining a language, its standard library, and a custom UI engine is a huge task for one person. I'm looking for people to help with the core VM development, documentation, and the standard library. If you're interested in systems programming, VM architecture, or UI engines, I'd love to have you on board!

I'll be around to answer any questions about the VM architecture, the bytecode serialization, or the UI implementation.

PEP 761 – Deprecating PGP signatures for CPython artifacts (2024)

https://peps.python.org/pep-0761/
1•marksomnian•5m ago•0 comments

World's largest functioning musical instrument: Wanamaker Organ in Philadelphia

https://en.wikipedia.org/wiki/Wanamaker_Organ
1•bookofjoe•5m ago•0 comments

Fail Faster on Your Ideas

https://martianlantern.github.io/2025/12/fail-faster-on-your-ideas/
1•martianlantern•6m ago•0 comments

Show HN: I built a replit game where you need to kill debuggers[Glitch Survival]

https://glitch-survival.replit.app
1•altras•7m ago•1 comments

Chemistry Experiments: working virtual lab

https://chemistry-en.nobook.com/console/templates/resource
1•danboarder•10m ago•0 comments

Haskelling My Typst

https://unnamed.website/posts/haskelling-my-typst/
3•todsacerdoti•11m ago•0 comments

OpenVINO – open-source toolkit for optimizing and deploying AI inference

https://github.com/openvinotoolkit/openvino
1•peter_d_sherman•11m ago•0 comments

Automating Deception: Scalable Multi-Turn LLM Jailbreaks

https://arxiv.org/abs/2511.19517
1•PaulHoule•11m ago•0 comments

A reason to know more facts

https://blog.ninapanickssery.com/p/a-reason-to-know-more-facts
1•jger15•11m ago•0 comments

Show HN: Offline tiles and routing and geocoding in one Docker Compose stack

https://github.com/corviont/monaco-demo
2•packet_mover•11m ago•1 comments

Rust macro to generate AI code at compile-time

https://github.com/germangb/ai-bindgen
1•michidk•13m ago•0 comments

RustOCR – Now do OCR 5-10x faster than EasyOCR

https://crates.io/crates/rustocr
1•prabhatkr•15m ago•0 comments

Ask HN: Why do fact-based debate platforms keep failing?

https://fact2check.com/
1•DTutorin•17m ago•1 comments

Stay on top of your inbox in 2013

https://ploum.net/stay-on-top-of-your-inbox-in-2013/index.html
1•gurjeet•18m ago•0 comments

Tiny, types-first schema validation for TypeScript

https://github.com/easrng/schema
1•todsacerdoti•23m ago•0 comments

I shipped 30 AI projects in 30 days – here's the data

https://franciscoperez.surge.sh/blog/30-days-retrospective.html
1•akercitocoder•23m ago•1 comments

The New Generation Won't Type for You

1•cellis•25m ago•0 comments

Bypassing a Clever CD-Check

https://www.davidschlachter.com/misc/no-cd-patch
1•dddddaviddddd•26m ago•0 comments

The Dream of the Universal Library

https://asteriskmag.com/issues/12-books/the-dream-of-the-universal-library
1•mitchbob•27m ago•0 comments

Gary Graffman, Piano Virtuoso and Renowned Teacher, Dies at 97

https://www.nytimes.com/2025/12/27/arts/music/gary-graffman-dead.html
2•paulpauper•27m ago•0 comments

Munich's surfers foiled again as authorities remove access to famous river wave

https://www.theguardian.com/world/2025/dec/28/munichs-surfers-foiled-again-as-authorities-remove-...
2•n1b0m•28m ago•1 comments

IPU

https://www.graphcore.ai/bow-processors
1•peter_d_sherman•29m ago•1 comments

Iran launches 3 satellites into space from Russia, state television reports

https://www.scmp.com/news/world/middle-east/article/3337956/iran-launches-3-satellites-space-russ...
1•giuliomagnifico•29m ago•0 comments

ChatGPT: Excellent Paper Accept It. Editor: Imposter Found Review Rejected

https://arxiv.org/abs/2512.20405
1•belter•30m ago•0 comments

Deathbed Advice/Regret

https://hazn.com/deathbed-regret
1•paulpauper•31m ago•0 comments

Brian Greene and Ed Witten discuss string theory [video]

https://www.youtube.com/watch?v=sAbP0magTVY
1•paulpauper•31m ago•0 comments

AMD and Nvidia GPU price hikes may reach AIB cards in Jan-Feb 2026

https://videocardz.com/newz/board-channels-amd-and-nvidia-gpu-price-hikes-may-reach-aib-cards-in-...
1•akyuu•32m ago•0 comments

Solve Hi-Q with AlphaZero and Curriculum Learning

https://www.robw.fyi/2025/12/28/solve-hi-q-with-alphazero-and-curriculum-learning/
1•todsacerdoti•33m ago•0 comments

Hacker News made out of prime numbers

https://dosaygo-studio.github.io/prime-news/index.html
10•keepamovin•34m ago•7 comments

Just No

https://scalability.org/no-just-no/
2•hpcjoe•37m ago•2 comments