frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Orbit a systems level programming language that compiles .sh to LLVM

https://github.com/SIE-Libraries/orbit
16•TheCodingDecode•2h ago•9 comments

Show HN: Picknplace.js, an alternative to drag-and-drop

https://jgthms.com/picknplace.js/
311•bbx•2d ago•117 comments

Show HN: Stop AI scrapers from hammering your self-hosted blog (using porn)

https://github.com/vivienhenz24/fuzzy-canary
252•misterchocolat•2d ago•179 comments

Show HN: Agents.db – an AGENTS.md alternative for LLM agent context

https://github.com/krazyjakee/AGENTS.db
2•krazyjakee•1h ago•0 comments

Show HN: Learning a Language Using Only Words You Know

https://simedw.com/2025/12/15/langseed/
64•simedw•3d ago•18 comments

Show HN: Nano AI - Infinite Canvas AI Image Editor

https://nanoai.love/editor
3•akseli_ukkonen•2h ago•0 comments

Show HN: Xsql – SQL schema conversion via an intermediate representation (Rust)

https://github.com/Dawaman43/xsql
3•dawitworku•2h ago•0 comments

Show HN: Helix – AI-powered API mocking with strict schema enforcement

https://github.com/ashfromsky/helix
4•ashfromsky•2h ago•0 comments

Show HN: Bithoven – A high-level, imperative language for Bitcoin Smart Contract

https://github.com/ChrisCho-H/bithoven
22•hyunhum•3d ago•8 comments

Show HN: Composify – Open-Source Visual Editor / Server-Driven UI for React

https://github.com/composify-js/composify
63•injung•19h ago•5 comments

Show HN: My own stolen JavaScript Server powered by Rust

https://shyam20001.github.io/rsjs/
4•StellaMary•4h ago•0 comments

Show HN: Spice Cayenne – SQL acceleration built on Vortex

https://spice.ai/blog/introducing-spice-cayenne-data-accelerator
26•lukekim•16h ago•3 comments

Show HN: A local-first memory store for LLM agents (SQLite)

https://github.com/CaviraOSS/OpenMemory
45•nullure•4d ago•16 comments

Show HN: I built a fast RSS reader in Zig

https://github.com/superstarryeyes/hys
89•superstarryeyes•2d ago•31 comments

Show HN: Paper2Any – Open tool to generate editable PPTs from research papers

https://github.com/OpenDCAI/DataFlow-Agent
11•Mey0320•18h ago•2 comments

Show HN: MephistoMail – RAM-only ephemeral email with client-side privacy tools

https://www.mephistomail.site/
3•benmxrt•7h ago•0 comments

Show HN: High-Performance Wavelet Matrix for Python, Implemented in Rust

https://pypi.org/project/wavelet-matrix/
90•math-hiyoko•1d ago•10 comments

Show HN: TinyPDF – 3KB PDF library (70x smaller than jsPDF)

https://github.com/Lulzx/tinypdf
15•lulzx•16h ago•1 comments

Show HN: WebCraft: A C++ 23 async IO library

2•raoa32•8h ago•0 comments

Show HN: Daily Set Puzzle – I rebuilt it after setgame.com's SSL cert expired

https://www.anniehu.com/set/
7•anniegracehu•8h ago•2 comments

Show HN: Sqlit – A lazygit-style TUI for SQL databases

https://github.com/Maxteabag/sqlit
180•MaxTeabag•3d ago•40 comments

Show HN: Postman-style TUI for API testing built with Rust and ratatui

https://github.com/pranav-cs-1/nexus
3•PranavVyas•9h ago•0 comments

Show HN: DocsRouter – The OpenRouter for OCR and Vision Models

https://docsrouter.com
10•misbahsy•1d ago•0 comments

Show HN: Interactive Common Lisp: An Enhanced REPL

https://github.com/atgreen/icl
101•atgreen•5d ago•6 comments

Show HN: A pager

https://www.udp7777.com/
103•keepamovin•4d ago•43 comments

Show HN: Narrativee – Make sense of your data in minutes

https://narrativee.com
3•safoan_eth•15h ago•0 comments

Show HN: TheAuditor v2.0 – A “Flight Computer” for AI Coding Agents

https://github.com/TheAuditorTool/Auditor
38•ThailandJohn•2d ago•12 comments

Show HN: GitForms – Zero-cost contact forms using GitHub Issues as database

https://gitforms-landing.vercel.app/
39•lgreco•1d ago•28 comments

Show HN: Explore Prometheus /metrics endpoints from your terminal

https://github.com/brennerm/slashmetrics-cli
3•brennerm•17h ago•0 comments

Show HN: Turn your startup logo into a holiday Google doodle

https://doodle.logic.inc/
3•sgk284•18h ago•1 comments
Open in hackernews

Show HN: Orbit a systems level programming language that compiles .sh to LLVM

https://github.com/SIE-Libraries/orbit
16•TheCodingDecode•2h ago

Comments

TheCodingDecode•2h ago
Spaceship: A JIT-compiled systems language that compiles .sh to LLVM

I’ve always felt that the gap between "one-off shell scripts" and "robust systems code" is too wide. Bash is ubiquitous but dangerous; Go is safe but can feel heavy for quick automation.

I’m building Spaceship to bridge that gap. It’s a Go-inspired systems language with a C++/Boost-based compiler that JIT-compiles everything—including legacy shell scripts—directly into native machine code via LLVM.

The highlights:

* @jit Directive: You can take an existing .sh file and run @jit("script.sh"). Instead of spawning a subshell, Spaceship parses the shell logic, translates it to POSIX-compliant AST nodes, and JIT-compiles it into the current execution path. * Zero-Trust JIT Sandbox: Security is enforced at the LLVM IR lowering phase. If your script doesn't explicitly allow a capability (like network.tcp or process.fork) in the security manifest, the JIT simply refuses to generate the machine code for those instructions. No runtime interceptor overhead. * Arbitrary Bit-Widths: Since it’s LLVM-native, you aren't stuck with i32 or i64. If you're interfacing with specific hardware or protocols, you can use i1, i23, i25, etc. * The !i32 Contract: All system calls return a success value or an i32 POSIX error code, handled via a check/except flow that mirrors C++ exception speed but keeps the simplicity of Go’s error handling. * Unified Backend: We use Boost (Asio, Process, Filesystem) as the high-performance standard library that the JIT links against, ensuring POSIX compatibility across Linux and macOS.

The parser is implemented in C++ and handles deferred execution pipelines—nothing runs until you call .run(), which allows the JIT to optimize the entire chain of operations.

I'd love to hear your thoughts on the "Security through Omission" model and the feasibility of replacing dash/bash with a JIT-ted environment for high-performance automation.

keepamovin•1h ago
Cool, I am also working on a systems language targeting binaries. FreedomLang (freelang.dev) takes a radically different approach by using direct PE/Mach-O emission with zero runtime dependencies, built specifically for security agents and DevSecOps automation.

The key philosophical differences:

FSABI (Filesystem ABI) Concurrency: Instead of JIT-compiling shell pipelines, we use the filesystem as the concurrency boundary. Jobs fork with typed params written to /jobs/job<id>/inbox/*.<type>, execute in isolated processes, and write results to ./outbox. Debuggable with ls -R, reproducible, and naturally auditable. No shared memory, no race conditions.

Windows "Self-Exec" Model: Since Windows has no fork(), we re-spawn the binary with --flx-worker flags—the child reads its entire state from the FSABI inbox. Zero runtime shims, no process table magic.

Raw Assembly -> Kernel Only: Our binaries are tiny (7.5KB hello world, ~22KB for realistic file I/O + control flow + assertions) and link only against kernel32.dll (Windows) or raw syscalls (Linux). No libc, no CRT startup, direct CreateProcessA/WriteFile calls. The attack surface is just the kernel interface.

Fail-Fast by Design: fall for bugs (immediate termination), explicit variants for world state (missing files, timeouts). No exceptions, no silent recoveries that hide security issues in production agents.

We're in RFC/private beta right now, targeting security teams that need to justify every line of code running in their scanning agents and CI/CD gates. The ability to audit the entire compiler/runtime in an afternoon is the feature.

Questions on yours:

Your shell-to-LLVM JIT is fascinating -- how are you handling the semantic gap between Bash's lenient error model (pipelines succeed if any command succeeds) and POSIX's strict contracts? Do you expose multiple error handling modes, or force everything through the check/except flow?

Also curious: when you JIT-compile legacy .sh scripts, do you preserve the original behavior of things like unquoted variable expansion and word splitting, or do you enforce stricter semantics? What do you think of shc?

bayesnet•1h ago
What on earth is the value of a “hypothetical benchmark” as shown in the readme?
aeve890•50m ago
After the table it says it's a theoretical benchmark though.

Marking this as AI slop.

forgotpwd16•1h ago
Thing with LLMs, they'll tell you what a great idea and then output a design and tons of code for you which if lack the necessary knowledge will look coherent and correct. It's good to throw the design/code back in and tell them to review it and explicitly prompt them to tell you what is wrong.

So here it says your error handling maps directly to POSIX exit code. But then "On success, the function returns a non-zero value."

For the sh JIT: The slowness isn't due to the language per se but due to launching multiple processes. If performance is really the goal then you essentially need to replace every process launch with a built-in command. The benchmark is an hallucination unless can indeed be run. Hypothetical benchmarks with hypothetical results are nonsense. (Unless you've a mathematical model backing it up.)

keyle•31m ago
Nice "functional programming synatx."
gavinray•28m ago
Hmmmm

  llvm::Value* JitDirectiveNode::CodeGen(Compiler& compiler) {
    // TODO: Implement the @jit shell-to-native translation engine.
    // 1. Read the content of the shell script at FilePath.
    // 2. Parse the shell script into a sequence of POSIX-equivalent commands.
    // 3. Translate these commands into LLVM IR, similar to ProcessCallNode.
    // 4. Inline the generated IR into the current function.
    // This is a major and complex part of the compiler.
    return nullptr;
  }
Ciantic•17m ago
> designed to replace legacy shell scripting ... as arguments are passed as a structured array, not a raw string to be parsed by a shell

I find shell scripters prefer ubiquity and readability over raw performance. And making it mandatory to give arguments as arrays worsens the readabilty. However having both options would be good, your example doesn't actually require the shell escaping so it could have simpler way.

Here is equivalent in Deno for instance

    #!/usr/bin/env -S deno run --allow-all
    import $ from "jsr:@david/dax"; 
    const command = $`grep -r keyword .`.pipe($`wc -l`);
    const result = await command;
Deno (via library) and Bun both have $ that can also handle escaping, e.g.

    const dirName = "Dir with spaces";
    await $`mkdir ${dirName}`; // executes as: mkdir 'Dir with spaces'
I don't think syntax is your biggest hurdle though, biggest hurdle is that Bash is so common, Powershell was supposed to be better shell scripting, yet it takes nowhere outside Windows space.
pastage•11m ago
> X was supposed to be better shell scripting

These are often ecosystem which always becomes "all or nothing", you see this in all big languages Javascript, Java and even fish. All of them handle integration in their own way. Shell scripting is the only thing that recognises that reality is ugly.