frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

nimbme – Nim bare-metal environment

https://github.com/mikra01/nimbme
44•michaelsbradley•8h ago

Comments

ronsor•4h ago
Since Nim compiles to C, porting it to new platforms is surprisingly easy. I did it a few years ago for 16-bit DOS (OpenWatcom): https://github.com/Ronsor/Nim/tree/i086-and-watcom.
yapyap•4h ago
oh nim nim nim nim nim, fucking nim

shoutout if you got that [reference](https://youtube.com/watch?v=Z7PH36ZAao4)

hugs•4h ago
Happy to see more Nim projects on HN!

I don't know if AI code gen helped with this particular project, so please forgive my small tangent; Claude Code is surprisingly good at writing Nim. I just created a QuickJS + MicroPython wrapper in Nim with it last week, and it worked great!

Don't let "but the Rust/Go/Python/JavaScript/TypeScript community is bigger!" be the default argument. I see the same logic applied to LLM training data: more code means more training data, so you should only use popular languages. That reasoning suggests less mainstream languages are doomed in the AI era.

But the reality is, if a non-mainstream language is well-documented and mature (Nim's been around for nearly 20 years!), go for it. Modern AI code gen can help fill in the gaps.

tl;dr: If you want to use Nim, use Nim! It's fun, and now with AI, easier than before.

ternaryoperator•3h ago
Is there a reasonably good IDE for Nim that provides debugging, specifically the full debugging experience (Nim code rather than C, breakpoints, inspect/modify values, etc.)? That's been the gating factor for me trying it. What's the present situation?
hugs•3h ago
I'm using Claude Code... And then for manual review and editing, using Zed with Nim extensions: https://zed.dev/docs/languages/nim

Sorry, I don't really do debuggers... I mostly step through code interactively using a REPL (INim).

pmarreck•1h ago
I see comments like this fairly often and in my entire career (I'm 53) I've never had to use a debugger. For inspection of values, I write small functions and unit tests or just output to stderr in debug modes set with env vars. I've always thought that the need to use a debugger was a code smell- too much cyclomatic complexity of single functions.
HexDecOctBin•1h ago
Does Nim not output the #line directives when compiling to C? That alone should help with the debugging experience.
aryonoco•3h ago
My experience has been the same. I have found it much easier to write good Nim and F# code with Claide Code, than say modern Python with type hints everywhere.

Both Nim and F# have strong types and strict compilers (arguably more strict in case of F#). These factors matter a lot more than how much code there is for the LLM to train on. And there probably is less ostensibly bad Nim and F# code out there than old Python code written by people who were not really developers, so the training data set is higher quality.

the__alchemist•1h ago
Nice to see more embedded language options!

Show HN: I'm an airline pilot – I built interactive graphs/globes of my flights

https://jameshard.ing/pilot
1074•jamesharding•13h ago•163 comments

Normalizing Flows Are Capable Generative Models

https://machinelearning.apple.com/research/normalizing-flows
87•danboarder•6h ago•6 comments

Learn OCaml

https://ocaml-sf.org/learn-ocaml-public/#activity=exercises
69•smartmic•6h ago•20 comments

James Webb Space Telescope Reveals Its First Direct Image of an Exoplanet

https://www.smithsonianmag.com/smart-news/james-webb-space-telescope-reveals-its-first-direct-image-discovery-of-an-exoplanet-180986886/
131•divbzero•9h ago•60 comments

SymbolicAI: A neuro-symbolic perspective on LLMs

https://github.com/ExtensityAI/symbolicai
120•futurisold•8h ago•35 comments

Structuring Arrays with Algebraic Shapes

https://dl.acm.org/doi/abs/10.1145/3736112.3736141
65•todsacerdoti•6h ago•5 comments

C compiler for Web Assembly (c4wa)

https://github.com/kign/c4wa
10•90s_dev•3d ago•0 comments

Reinforcement learning, explained with a minimum of math and jargon

https://www.understandingai.org/p/reinforcement-learning-explained
51•JnBrymn•3d ago•1 comments

Multi-Stage Programming with Splice Variables

https://tsung-ju.org/icfp25/
16•matt_d•3h ago•1 comments

Qwen VLo: From "Understanding" the World to "Depicting" It

https://qwenlm.github.io/blog/qwen-vlo/
170•lnyan•12h ago•50 comments

10 Years of Pomological Watercolors

https://parkerhiggins.net/2025/04/10-years-of-pomological-watercolors/
170•fanf2•12h ago•28 comments

nimbme – Nim bare-metal environment

https://github.com/mikra01/nimbme
44•michaelsbradley•8h ago•9 comments

bootc-image-builder: Build your entire OS from a Containerfile

https://github.com/osbuild/bootc-image-builder
32•twelvenmonkeys•3d ago•7 comments

Transmitting data via ultrasound without any special equipment

https://halcy.de/blog/2025/06/27/transmitting-data-via-ultrasound-without-any-special-equipment/
98•todsacerdoti•9h ago•31 comments

Theoretical Analysis of Positional Encodings in Transformer Models

https://arxiv.org/abs/2506.06398
15•PaulHoule•4h ago•1 comments

Rust in the Linux kernel: part 2

https://lwn.net/SubscriberLink/1025232/fbb2d90d084368e3/
71•chmaynard•4h ago•2 comments

Facebook is starting to feed its AI with private, unpublished photos

https://www.theverge.com/meta/694685/meta-ai-camera-roll
66•pier25•2h ago•41 comments

Spark AI (YC W24) is hiring a full-stack engineer in SF (founding team)

https://www.ycombinator.com/companies/spark/jobs/kDeJlPK-software-engineer-full-stack-founding-team
1•juliawu•5h ago

New Process Uses Microbes to Create Valuable Materials from Urine

https://newscenter.lbl.gov/2025/06/17/new-process-uses-microbes-to-create-valuable-materials-from-urine/
26•gmays•8h ago•5 comments

The Journey of Bypassing Ubuntu's Unprivileged Namespace Restriction

https://u1f383.github.io/linux/2025/06/26/the-journey-of-bypassing-ubuntus-unprivileged-namespace-restriction.html
14•Bogdanp•5h ago•1 comments

A Brief History of Children Sent Through the Mail (2016)

https://www.smithsonianmag.com/smart-news/brief-history-children-sent-through-mail-180959372/
84•m-hodges•6h ago•74 comments

Weird Expressions in Rust

https://www.wakunguma.com/blog/rust-weird-expr
142•lukastyrychtr•11h ago•111 comments

Whitesmiths C compiler: One of the earliest commercial C compilers available

https://github.com/hansake/Whitesmiths-C-compiler
96•todsacerdoti•4d ago•31 comments

Glass nanostructures reflect nearly all visible light, challenging assumptions

https://phys.org/news/2025-06-glass-nanostructures-visible-photonics-assumptions.html
26•bookofjoe•3d ago•4 comments

Does a Focus on Royalty Obscure British History?

https://www.historytoday.com/archive/head-head/does-focus-royalty-obscure-british-history
16•pepys•3d ago•5 comments

A New Kind of Computer (April 2025)

https://lightmatter.co/blog/a-new-kind-of-computer/
41•gkolli•3d ago•17 comments

Parameterized types in C using the new tag compatibility rule

https://nullprogram.com/blog/2025/06/26/
130•ingve•21h ago•64 comments

Slightly better named character reference tokenization than Chrome, Safari, FF

https://www.ryanliptak.com/blog/better-named-character-reference-tokenization/
48•todsacerdoti•1d ago•8 comments

PJ5 TTL CPU

https://pj5cpu.wordpress.com/
81•doener•19h ago•2 comments

Project Vend: Can Claude run a small shop? (And why does that matter?)

https://www.anthropic.com/research/project-vend-1
202•gk1•10h ago•86 comments