frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

GNU Midnight Commander

https://midnight-commander.org/
113•pykello•2h ago•65 comments

Notion API importer, with Databases to Bases conversion bounty

https://github.com/obsidianmd/obsidian-importer/issues/421
30•twapi•1h ago•0 comments

The Asus Gaming Laptop ACPI Firmware Bug: A Deep Technical Investigation

https://github.com/Zephkek/Asus-ROG-Aml-Deep-Dive
67•signa11•2h ago•21 comments

Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised

https://socket.dev/blog/ongoing-supply-chain-attack-targets-crowdstrike-npm-packages
973•jamesberthoty•18h ago•764 comments

I just want an 80×25 console, but that's no longer possible

https://changelog.complete.org/archives/10881-i-just-want-an-80x25-console-but-thats-no-longer-po...
24•teddyh•1h ago•15 comments

Things you can do with a Software Defined Radio (2024)

https://blinry.org/50-things-with-sdr/
725•mihau•15h ago•122 comments

How to make the Framework Desktop run even quieter

https://noctua.at/en/how-to-make-the-framework-desktop-run-even-quieter
249•lwhsiao•11h ago•71 comments

Slow social media

https://herman.bearblog.dev/slow-social-media/
49•rishikeshs•4h ago•29 comments

About the security content of iOS 15.8.5 and iPadOS 15.8.5

https://support.apple.com/en-us/125142
287•jerlam•5h ago•107 comments

Doom crash after 2.5 years of real-world runtime confirmed on real hardware

https://lenowo.org/viewtopic.php?t=31
152•minki_the_avali•8h ago•50 comments

Denmark close to wiping out cancer-causing HPV strains after vaccine roll-out

https://www.gavi.org/vaccineswork/denmark-close-wiping-out-leading-cancer-causing-hpv-strains-aft...
648•slu•12h ago•261 comments

Irssi: IRC Client in a Docker Image

https://hub.docker.com/_/irssi
34•razodactyl•4h ago•26 comments

I got the highest score on ARC-AGI again swapping Python for English

https://jeremyberman.substack.com/p/how-i-got-the-highest-score-on-arc-agi-again
36•freediver•4h ago•2 comments

A dumb introduction to z3

https://asibahi.github.io/thoughts/a-gentle-introduction-to-z3/
167•kfl•1d ago•17 comments

CubeSats are fascinating learning tools for space

https://www.jeffgeerling.com/blog/2025/cubesats-are-fascinating-learning-tools-space
34•calcifer•3d ago•3 comments

Show HN: A PSX/DOS style 3D game written in Rust with a custom software renderer

https://totenarctanz.itch.io/a-scavenging-trip
32•mvx64•3h ago•2 comments

AMD Open Source Driver for Vulkan project is discontinued

https://github.com/GPUOpen-Drivers/AMDVLK/discussions/416
36•haunter•5h ago•4 comments

Waymo has received our pilot permit allowing for commercial operations at SFO

https://waymo.com/blog/#short-all-systems-go-at-sfo-waymo-has-received-our-pilot-permit
616•ChrisArchitect•13h ago•603 comments

I built my own phone because innovation is sad rn [video]

https://www.youtube.com/watch?v=qy_9w_c2ub0
224•Timothee•2d ago•44 comments

Should we drain the Everglades?

https://rabbitcavern.substack.com/p/should-we-drain-the-everglades
81•ksymph•10h ago•79 comments

Meta RayBan AR glasses shows Lumus waveguide structures in leaked video

https://kguttag.com/2025/09/16/meta-rayban-ar-glasses-shows-lumus-waveguide-structures-in-leaked-...
77•speckx•11h ago•75 comments

In Defense of C++

https://dayvster.com/blog/in-defense-of-cpp/
113•todsacerdoti•10h ago•181 comments

Bertrand Russell to Oswald Mosley (1962)

https://lettersofnote.com/2016/02/02/every-ounce-of-my-energy/
190•giraffe_lady•13h ago•95 comments

How Container Filesystem Works: Building a Docker-Like Container from Scratch

https://labs.iximiuz.com/tutorials/container-filesystem-from-scratch
135•lgunsch•3d ago•25 comments

Launch HN: Rowboat (YC S24) – Open-source IDE for multi-agent systems

https://github.com/rowboatlabs/rowboat
55•segmenta•13h ago•26 comments

Global Peace Index 2025

https://www.visionofhumanity.org/maps/
50•teleforce•3h ago•49 comments

Tuberculosis shaped Victorian fashion (2016)

https://www.smithsonianmag.com/science-nature/how-tuberculosis-shaped-victorian-fashion-180959029/
3•franze•1d ago•1 comments

Wait4X allows you to wait for a port or a service to enter the requested state

https://github.com/wait4x/wait4x
28•atkrad•3d ago•7 comments

Coders End, from Typers to Thinkers

https://etsd.tech/posts/coders-end/
22•elieteyssedou•1d ago•10 comments

Mystery in the Moon

https://engelsbergideas.com/reviews/mystery-in-the-moon/
9•benbreen•4d ago•3 comments
Open in hackernews

Show HN: A PSX/DOS style 3D game written in Rust with a custom software renderer

https://totenarctanz.itch.io/a-scavenging-trip
32•mvx64•3h ago
So, after years of abandoning Rust after the hello world stage, I finally decided to do something substantial. It started with simple line rendering, but I liked how it was progressing so I figured I could make a reasonably complete PSX style renderer and a game with it.

My only dependency is SDL2; I treat it as my "platform", so it handles windowing, input and audio. This means my Cargo.toml is as simple as:

[dependencies.sdl2] version = "0.35" default-features = false features = ["mixer"]

this pulls around 6-7 other dependencies.

I am doing actual true color 3D rendering (with Z buffer, transforming, lighting and rasterizing each triangle and so on, no special techniques or raycasting), the framebuffer is 320x180 (widescreen 320x240). SDL handles the hardware-accelerated final scaling to the display resolution (if available, for example in VMs it's sometimes not so it's pure software). I do my own physics, quaternion/matrix/vector math, TGA and OBJ loading.

Performance: I have not spent a lot of time on this really, but I am kind of satisfied: FPS ranges from [200-500] on a 2011 i5 Thinkpad to [70-80] on a 2005 Pentium laptop (this could barely run rustc...I had to jump through some hoops to make it work on 32 bit Linux), to [40-50] on a RaspberryPi 3B+. I don't have more modern hardware to test.

All of this is single threaded, no SIMD, no inline asm. Also, implementing interlaced rendering provided a +50% perf boost (and a nice effect).

The Pentium laptop has an ATI (yes) chip which is, maybe not surprisingly, supported perfectly by SDL.

Regarding Rust: I've barely touched the language. I am using it more as a "C with vec!s, borrow checker, pattern matching, error propagation, and traits". I love the syntax of the subset that I use; it's crystal clear, readable, ergonomic. Things like matches/ifs returning values are extremely useful for concise and productive code. However, pro/idiomatic code that I see around, looks unreadable to me. I've written all of the code from scratch on my own terms, so this was not a problem, but still... In any case, the ecosystem and tooling are amazing. All in all, an amazing development experience. I am a bit afraid to switch back to C++ for my next project.

Also, rustup/cargo made things a walk in the park while creating a deployment script that automates the whole process: after a commit, it scans source files for used assets and packages only those, copies dependencies (DLLs for Win), sets up build dependencies depending on the target, builds all 3 targets (Win10_64, Linux32, Linux64), bundles everything into separate zips and uploads them to my local server. I am doing this from a 64bit Lubuntu 18.04 virtual machine.

You can try the game and read all info about it on the linked itch.io page: https://totenarctanz.itch.io/a-scavenging-trip

All assets (audio/images/fonts) where also made by me for this project (you could guess from the low quality).

Development tools: Geany (on Linux), notepad++ (on Windows), both vanilla with no plugins, Blender, Gimp, REAPER.

Comments

creikey•1h ago
Very cool project, can't play because on mac but looks like cool approach
armitage__•1h ago
I love custom game engines. Looks fantastic! Will you be sharing the source?