frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Run – a CLI universal code runner I built while learning Rust

https://github.com/Esubaalew/run
17•esubaalew•1h ago
Hi HN — I’m learning Rust and decided to build a universal CLI for running code in many languages. The tool, Run, aims to be a single, minimal dependency utility for: running one-off snippets (from CLI flags), running files, reading and executing piped stdin, and providing language-specific REPLs that you can switch between interactively. I designed it to support both interpreted languages (Python, JS, Ruby, etc.) and compiled languages (Rust, Go, C/C++). It detects languages from flags or file extensions, can compile temporary files for compiled languages, and exposes a unified REPL experience with commands like :help, :lang, and :quit. Install: cargo install run-kit (or use the platform downloads on GitHub). Source & releases: https://github.com/Esubaalew/run I used Rust while following the official learning resources and used AI to speed up development, so I expect there are bugs and rough edges. I’d love feedback on: usability and UX of the REPL, edge cases for piping input to language runtimes, security considerations (sandboxing/resource limits), packaging and cross-platform distribution. Thanks — I’ll try to answer questions and share design notes.

Comments

not--felix•49m ago
This is great! How hard is it to add more languages?
brandonasuncion•44m ago
As a small note, Swift is a compiled language. It uses LLVM as a backend, same as Rust and Clang (C/C++/ObjC). It's currently listed under "Web & typed scripting".
jayrhynas•27m ago
It's definitely a blurry line, this `run` tool invokes your Swift file with `swift file.swift` which runs it in immediate mode. Technically it is compiling your code to memory and and immediately executing it, but is it that different from JIT in Python or Node scripting?
pipsgame•36m ago
This CLI tool looks awesome for running code in different languages! I love how it supports both interpreted and compiled languages with a unified REPL. Great job building this while learning Rust, and thanks for sharing the GitHub link.
Surac•16m ago
I am very intrested why you choose to write such a tool. i normaly have a hand full of shell scripts doing the work, but surly i have to know the used language befor i call the script. Can you explain the motivation?

Say Goodbye

https://www.mooreds.com/wordpress/archives/3717
1•mooreds•5m ago•0 comments

Designers Should Look to Demis Hassabis. Not Jony Ive

https://www.suffsyed.com/futurememo/designers-should-look-to-demis-hassabis-not-jony-ive
1•alexcos•8m ago•0 comments

John Edmark's geometric patterns underlying space and growth in nature

http://www.johnedmark.com
2•mdp2021•8m ago•1 comments

Storytel Player – unofficial desktop client for Storytel audiobooks

1•debba•11m ago•0 comments

ML Models for Yield Estimation of Rice Cultivars Using UAV Imagery

https://www.mdpi.com/2071-1050/17/18/8515
1•PaulHoule•17m ago•0 comments

America fell behind China in the lunar space race – how it can catch back up

https://arstechnica.com/space/2025/10/how-america-fell-behind-china-in-the-lunar-space-race-and-h...
1•rntn•19m ago•0 comments

The UK Is Still Trying to Backdoor Encryption for Apple Users

https://www.eff.org/deeplinks/2025/10/uk-still-trying-backdoor-encryption-apple-users
40•CharlesW•19m ago•1 comments

The Czech Trump wins an election, again

https://www.economist.com/europe/2025/10/04/the-czech-trump-wins-an-election-again
5•mustaphah•23m ago•1 comments

Plans for Building Democranet: A new on-chain voting system for governance

https://nickmudge.com/plans-for-building-democranet
1•mudge•29m ago•0 comments

Autism, A.D.H.D., Anxiety: Can a Diagnosis Make You Better?

https://www.nytimes.com/2025/10/03/health/can-a-diagnosis-make-you-better.html
3•whack•36m ago•0 comments

Formally Verified Code Benchmark

https://arxiv.org/abs/2509.22908
1•yuppiemephisto•37m ago•0 comments

Summary of Nix drama so far. Sep27 – Oct4 2025

https://gist.github.com/jonringer/37ea49415bdd06015e7ae5b7661d3696
2•srid•38m ago•0 comments

Thin for the Win: Qualcomm Shows Fanless Desktop PCs Powered Snapdragon X2 Elite

https://www.pcmag.com/news/snapdragon-summit-qualcomm-slim-fanless-desktop-pcs-snapdragon-x2-elite
1•walterbell•40m ago•0 comments

The Free Software Foundation is livestreaming its 40th anniversary celebration

https://www.fsf.org/live
2•MilnerRoute•43m ago•2 comments

Show HN: Imbi-Automations

https://aweber-imbi.github.io/imbi-automations/
2•crad•45m ago•0 comments

Why NetNewsWire Is Not a Web App

https://inessential.com/2025/10/04/why-netnewswire-is-not-web-app.html
14•frizlab•45m ago•2 comments

Saturn's moon Enceladus shows potential for habitability

https://cosmosmagazine.com/space/astronomy/saturn-moon-habitability/
1•gmays•46m ago•0 comments

Economics and AI (Tom Cunningham)

https://tecunningham.github.io/posts/2025-09-19-transformative-AI-notes.html
1•deepdarkforest•47m ago•0 comments

Microsoft 365 Copilot is a commercial failure

https://www.perspectives.plus/p/microsoft-365-copilot-commercial-failure
6•jukkan•47m ago•4 comments

Why Conservatives Are Attacking 'Wokepedia'

https://www.wsj.com/tech/wikipedia-conservative-complaints-ee904b0b
2•voxadam•48m ago•3 comments

Nimletter – Self-hosted newsletter, drip and transactional email system

https://github.com/ThomasTJdev/nimletter
1•TheWiggles•48m ago•0 comments

On Agency, and Design

https://uditsaxena.bearblog.dev/on-agency-and-design/
1•wavelander•52m ago•0 comments

ProPublica Releases New Private School Demographics Lookup

https://www.propublica.org/article/propublica-private-school-demographics-lookup
3•mooreds•59m ago•0 comments

New Poll: Democratic Socialism Is Now Mainstream

https://jacobin.com/2025/09/new-poll-democratic-socialism-mainstream/
35•PaulHoule•59m ago•14 comments

Show HN: OneDollarChat – Global chat where messages cost $1

https://www.onedollarchat.com/
4•skrid•1h ago•2 comments

How Thomas Peterffy automated trading, made Interactive Brokers a $100B business

https://joincolossus.com/article/thomas-peterffy-market-maker/
1•Geekette•1h ago•0 comments

Investor Convicted of Stealing Homes Is Jailed

https://www.nytimes.com/2025/10/03/realestate/sanford-solny-deed-thief-jailed.html
2•randycupertino•1h ago•1 comments

Show HN: ZapForms – Create public forms with instant APIs and webhooks

https://zapforms.io
1•skrid•1h ago•0 comments

Native iOS SwiftUI Client for Actual Budget

https://github.com/BearTS/actual-budget-app
2•todsacerdoti•1h ago•0 comments

When your ISP pays you

https://pluralistic.net/2025/10/03/we-dont-care-we-dont-have-to/
2•freddydumont•1h ago•0 comments