frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Big-Endian Testing with QEMU

https://www.hanshq.net/big-endian-qemu.html
19•jandeboevrie•1h ago

Comments

pragmaticviber•46m ago
It's all fun and games until you have to figure out if the endianness bug is in your code or in QEMU's s390x emulation.
rurban•42m ago
Haven't found any bug in QEMU's s390x, but lots in endian code.
AKSF_Ackermann•21m ago
> When programming, it is still important to write code that runs correctly on systems with either byte order

What you should do instead is write all your code so it is little-endian only, as the only relevant big-endian architecture is s390x, and if someone wants to run your code on s390x, they can afford a support contract.

electroly•19m ago
> When programming, it is still important to write code that runs correctly on systems with either byte order

I contend it's almost never important and almost nobody writing user software should bother with this. Certainly, people who didn't already know they needed big-endian should not start caring now because they read an article online. There are countless rare machines that your code doesn't run on--what's so special about big endian? The world is little endian now. Big endian chips aren't coming back. You are spending your own time on an effort that will never pay off. If big endian is really needed, IBM will pay you to write the s390x port and they will provide the machine.

Retr0id•15m ago
> There are countless rare machines that your code doesn't run on--what's so special about big endian?

One difference is that when your endian-oblivious code runs on a BE system, it can be subtly wrong in a way that's hard to diagnose, which is a whole lot worse than not working at all.

electroly•9m ago
That sounds like a problem to deal with as part of your paid IBM s390x porting contract. I guess my point is: why deal with this before IBM is paying you? No other big endian platform matters, and s390x users are 100% large commercial customers. If IBM or one of their customers isn't paying you, there's nobody else who would need it. If IBM is paying you, you can test on a real z/VM that they provide. I see big endian as entirely their burden now; nobody else needs it. If they want it, they can pay for the work.
Retr0id•4m ago
I value correct code for purely selfish reasons. The most likely person to try to run my code on a BE system is me.
eisbaw•18m ago
I did that many years back, but with MIPS and MIPSel: https://youtu.be/BGzJp1ybpHo?si=eY_Br8BalYzKPJMG&t=1130

presented at Embedded Linux Conf

US Biofuel Tax Credits Could Help Bring Down Fuel Prices

https://blog.verdova.com/
1•mxfeinberg•1m ago•0 comments

Migrating from Fathom Lite to Umami

https://www.devroom.io/2026/04/01/migrating-from-fathom-lite-to-umami/
1•ariejan•5m ago•2 comments

A self-hosted travel/trip planner with real-time collaboration

https://github.com/mauriceboe/TREK
1•michidk•7m ago•0 comments

IceVox – Serverless P2P voice chat with built-in AudioWorklet effects

https://github.com/bjorehag/IceVox
1•bjorehag•7m ago•1 comments

SpaceX Targets More Than $2T Valuation in IPO

https://www.bloomberg.com/news/articles/2026-04-02/spacex-is-said-to-target-more-than-2-trillion-...
2•alpha_squared•7m ago•0 comments

Ask HN: Phones Under $100

1•general_reveal•8m ago•0 comments

The Axios supply chain attack used individually targeted social engineering

https://simonwillison.net/2026/Apr/3/supply-chain-social-engineering/
2•cmitsakis•8m ago•1 comments

What happens when a destructor throws

https://www.sandordargo.com/blog/2026/04/01/when-a-destructor-throws
2•ibobev•9m ago•0 comments

A Way to Do Emulator Audio Resampling

https://jsgroth.dev/blog/posts/a-way-to-do-audio-resampling/
1•ibobev•9m ago•0 comments

Automating starting Lambda Labs instances

https://www.gilesthomas.com/2026/04/automating-starting-lambda-instances
2•ibobev•9m ago•0 comments

'Nothing like the Louvre': Italian art museum hit by cyberattack

https://www.politico.eu/article/nothing-like-the-louvre-italian-art-museum-hit-cyberattack-uffizi/
2•jruohonen•10m ago•0 comments

Prysma: Anatomy of an LLVM Compiler Built from Scratch in 8 Weeks

https://old.reddit.com/r/LLVM/comments/1sapy98/prysma_anatomy_of_an_llvm_compiler_built_from/
2•zyphorah•11m ago•2 comments

Graph-go – zero config, full visibility

https://github.com/guilherme-grimm/graph-go
2•devGrimm•12m ago•1 comments

High-Temperature Superconductivity of Pure Mg Metals, UFOs and Cuprates

1•chmike•15m ago•0 comments

Man admits to locking Windows devices in extortion plot

https://www.bleepingcomputer.com/news/security/man-admits-to-extortion-plot-locking-coworkers-out...
1•Brajeshwar•15m ago•0 comments

TeamPCP Supply Chain Campaign: Update 006

https://isc.sans.edu/diary/32864
1•jruohonen•16m ago•0 comments

Claude Code Found a Linux Vulnerability Hidden for 23 Years

https://mtlynch.io/claude-code-found-linux-vulnerability/
3•mtlynch•17m ago•0 comments

Perpetual Machines -Possible: How far we achieved

https://www.youtube.com/watch?v=FKHcgw6tIqQ
2•manishfoodtechs•18m ago•1 comments

Orange Cats

https://www.aceecat.org:4443/orange_cats/index.html
2•jruohonen•18m ago•0 comments

Machina Mirabilis

https://michaelhla.com/blog/machina-mirabilis.html
1•lokimedes•18m ago•0 comments

A µ-opioid receptor superagonist analgesic with minimal adverse effects

https://www.nature.com/articles/s41586-026-10299-9
1•bookofjoe•20m ago•1 comments

I prefer OG style websites – what are yours?

6•gorfian_robot•22m ago•1 comments

Using a local VLM to organize my screenshots folder

https://jspann.me/blog/posts/my_screenshots_arent_organized/
2•jspann•22m ago•0 comments

The Mortal Consequences of Free Trade – How NAFTA Shortened Lives

https://www.nominalnews.com/p/the-mortal-consequences-of-free-trade-nafta
2•NomNew•22m ago•0 comments

Backing Up PostgreSQL with Plakar

https://plakar.io/posts/2026-04-03/backing-up-postgresql-with-plakar/
1•mrflop•24m ago•0 comments

System Design Isn't About Working Code It's About Surviving Change

https://dvcoolarun.com/2026/04/03/System-Design-Isn-t-About-Working-Code-It-s-About-Surviving-Cha...
1•dvcoolarun•24m ago•0 comments

Real-Time App Store IAP Notifications via Telegram (Vercel Webhook)

https://old.reddit.com/r/iOSProgramming/comments/1rn9t4l/realtime_app_store_iap_notifications_via...
2•givebest•24m ago•0 comments

Running Out of Disk Space in Production

https://alt-romes.github.io/posts/2026-04-01-running-out-of-disk-space-on-launch.html
2•romes•25m ago•0 comments

Pgenie: Type-safe PostgreSQL client code generator

https://github.com/pgenie-io/pgenie
2•fanf2•25m ago•0 comments

An I/O psychologist's rules for stopping AI agents from cutting corners

https://github.com/travisdrake/context-engineering
1•travisdrake•26m ago•0 comments