frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I wrote a flight simulator in my own programming language

https://github.com/navid-m/flightsim
50•pizza_man•2d ago

Comments

kaant•2d ago
Interesting zig rust combine.I like it.How is the performance?
pizza_man•2d ago
It compiles to QBE IR and optionally C99, there hasn't yet been much focus on optimization of the generated QBE.
stackghost•1h ago
Very cool achievement. I gather that the real goal was the making of a complete game rather than high fidelity to actual flight dynamics, but since you used the term "flight simulator" rather than calling it an arcade game, I would gently suggest the following:

- conventional aircraft have direct roll control, not just pitch and yaw

- you can get very far with simple static lift and drag coefficients (though they're not static IRL), and then computing lift/drag forces, and using trigonometry with the bank/pitch/yaw angle to implement a simple rigid body dynamics model

Those two alone will have a big impact on how realistic it feels to fly.

amelius•1h ago
Heh, using your own programming language is the best proof that you didn't vibe-code it :)
_diyar•1h ago
You could vibe a language, feed the spec into a model and vibe the flight sim.
PretzelPirate•56m ago
I had GH Copilot make me a new programming language (LLVM based) with a pretty unique syntax, and it was able to write games in it using SDL easily.
thomasmg•56m ago
Well... actually, it isn't. I'm also writing my own programming language (named "Bau"). I asked Claude to convert a minesweeper game from C to that language. I only gave some example programs in my language and the grammar. This worked on the first try (Claude didn't even have access to the compiler).
Forgeties79•29m ago
Not to single you out but I really don’t like the whole “I asked an LLM” phrasing. All this language anthropomorphizing a tool is just weird to me
cjbgkagh•51m ago
As others are mentioning LLMs are actually rather helpful in making new programming languages and then programming in those languages.

For me, a DIY programming language is something I wouldn’t have the time for without the help of AI.

menno-sh•32m ago
Congrats on joining Terry Davis [0] in the probably small club of people who wrote a flight simulator in their own programming language!

https://www.youtube.com/watch?v=CYQEfLaR4Pg

laserDinosaur•30m ago
I wonder if this comment thread is going to go better than your "I wrote a DOOM clone in my own programming language" from 9 days ago: https://news.ycombinator.com/item?id=47932974
onlyrealcuzzo•10m ago
"He" writes tens of thousands of lines per week.

An LLM wrote a flight simulator in a language an LLM also wrote for you.

It's cool that you're doing all of this, and hopefully you and others get value out of it.

But it helps to be clear about who is doing what.

Just own it.

It's cool that AI can do this.

ninala•28m ago
While I applaud creatively exploring new programming language concepts, I find this language confusing. Both the compiler and the flight simulator appear to be vibe coded. The documentation for the language is full of errors or things that don't make sense, and the bootstrap code is a nightmare. It looks like the bootstrap make process requires the bootstrapping code to exist already. Your flight simulator code does not appear to make use of the contract capabilities at all. Am I missing something? Did you actually bootstrap this in another language first? Did the contract capabilities help you during the coding process?

Internet Archive Switzerland

https://internetarchive.ch/
407•hggh•7h ago•57 comments

CPanel's Black Week: 3 New Vulnerabilities Patched After Attack on 44k Servers

https://www.copahost.com/blog/cpanels-black-week-three-new-vulnerabilities-patched-after-ransomwa...
53•ggallas•2h ago•28 comments

Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc

https://twitter.com/jarredsumner/status/2053047748191232310
36•heldrida•9h ago•83 comments

I Will Not Add Query Strings to Your URLs

https://susam.net/no-query-strings.html
64•susam•3h ago•24 comments

Show HN: I wrote a flight simulator in my own programming language

https://github.com/navid-m/flightsim
50•pizza_man•2d ago•13 comments

Zed Editor Theme-Builder

https://zed.dev/theme-builder
46•cuechan•2h ago•19 comments

LLMs corrupt your documents when you delegate

https://arxiv.org/abs/2604.15597
267•rbanffy•10h ago•102 comments

Google broke reCAPTCHA for de-googled Android users

https://reclaimthenet.org/google-broke-recaptcha-for-de-googled-android-users
1378•anonymousiam•1d ago•499 comments

PipeDream on the Acorn Archimedes

https://stonetools.ghost.io/pipedream-archimedes/
55•msephton•4h ago•18 comments

Distributing Mac software is increasing my cortisol levels

https://blog.kronis.dev/blog/apple-is-increasing-my-cortisol-levels
59•LorenDB•5h ago•32 comments

The hypocrisy of cyberlibertarianism

https://matduggan.com/the-intolerable-hypocrisy-of-cyberlibertarianism/
175•ColinWright•5h ago•127 comments

The ROKR wooden typewriter: a closer look

http://writingball.blogspot.com/2026/05/the-rokr-wooden-typewriter-closer-look.html
7•speckx•2d ago•0 comments

Using Claude Code: The unreasonable effectiveness of HTML

https://twitter.com/trq212/status/2052809885763747935
369•pretext•14h ago•223 comments

How LEDs are made (2014)

https://learn.sparkfun.com/tutorials/how-leds-are-made/all
104•smig0•2d ago•14 comments

Mythical Man Month

https://martinfowler.com/bliki/MythicalManMonth.html
306•ingve•2d ago•178 comments

A recent experience with ChatGPT 5.5 Pro

https://gowers.wordpress.com/2026/05/08/a-recent-experience-with-chatgpt-5-5-pro/
535•_alternator_•17h ago•395 comments

OpenAI’s WebRTC problem

https://moq.dev/blog/webrtc-is-the-problem/
436•atgctg•2d ago•137 comments

America's carpet capital: an empire and its toxic legacy

https://apnews.com/projects/pfas-forever-stained/
137•rawgabbit•3d ago•81 comments

GrapheneOS fixes Android VPN leak Google refused to patch

https://cyberinsider.com/grapheneos-fixes-android-vpn-leak-google-refused-to-patch/
163•Georgelemental•5h ago•49 comments

Introduction to Beaver Triples

https://stoffelmpc.com/stoffel-blog/beaver-triples-tuples
11•badcryptobitch•3h ago•5 comments

David Attenborough's 100th Birthday

https://www.bbc.com/news/articles/cp3pww9g0p5o
803•defrost•1d ago•154 comments

Building the TD4 4-Bit CPU

https://jayakody2000lk.blogspot.com/2026/05/building-td4-4-bit-cpu.html
39•zdw•2d ago•11 comments

Show HN: Create flashcards with Space CLI

https://getspace.app/cli
4•friebetill•5h ago•0 comments

Reviving the IBM Selectric Composer Fonts (2023)

https://www.kutilek.de/selectric/
58•tangus•3d ago•5 comments

What causes lightning? The answer keeps getting more interesting

https://www.quantamagazine.org/what-causes-lightning-the-answer-keeps-getting-more-interesting-20...
163•Tomte•3d ago•40 comments

Show HN: Mochi.js: bun-native high-fidelity browser automation library

https://mochijs.com/
16•ccheshirecat•5h ago•11 comments

Wi is Fi: Understanding Wi-Fi 4/5/6/6E/7/8 (802.11 n/AC/ax/be/bn)

https://www.wiisfi.com/
344•homebrewer•3d ago•91 comments

Meta's Embrace of A.I. Is Making Its Employees Miserable

https://www.nytimes.com/2026/05/08/technology/meta-ai-employees-miserable.html
14•JumpCrisscross•1h ago•1 comments

Killswitch: Per-function short-circuit mitigation primitive

https://lwn.net/ml/all/20260507070547.2268452-1-sashal@kernel.org/
71•signa11•10h ago•19 comments

AI is breaking two vulnerability cultures

https://www.jefftk.com/p/ai-is-breaking-two-vulnerability-cultures
402•speckx•1d ago•160 comments