Better HN
topnewbestaskshowjobs
Log inSign up

paavohtl

2,048 karma · joined Feb 13, 2017 (9y ago) · 318 submissions

[ my public key: https://keybase.io/paavohtl; my proof: https://keybase.io/paavohtl/sigs/IXOdW6VdCADJUAghmWT_vQukHoCSQY4NXO0wyFzNSoU ]
Submissions

comment 2w ago · link · parent

Looks like this was ~100% generated with Claude within the past month. Interestingly it still has a lot of occurrences of words that Opus used way too much pre 5.5, so maybe they're not using the latest models.

https://github.com/search?q=repo%3Aaws%2Faws-emulator+load-b...

https://github.com/search?q=repo%3Aaws%2Faws-emulator+%2Fno+...

https://github.com/search?q=repo%3Aaws%2Faws-emulator+golden...

comment 1mo ago · link · parent

You can't solve this with a library without essentially implementing a separate browser engine in JS (or WASM). Doing this directly in the browser engine is far simpler than that.

comment 1mo ago · link · parent

I was specifically referring to PS4 and Xbox One. Power-wise Nintendo platforms since Wii are essentially (at least) one generation behind the other consoles, and generally speaking Nintendo platforms have their own games rather than relying on big multiplats, outside of indie games.

comment 1mo ago · link · parent

Power-wise Steam Deck isn't on par with current gen consoles nor even last gen consoles. It can play plenty of games, but we've reached a point that it can't run most new AAA games at an acceptable level of performance regardless of settings. With a console you can buy pretty much any game and assume that it will run at a playable frame rate (though there are of course exceptions).

comment 1mo ago · link · parent

What I'm talking about is how the game engine represents 3D space, and how engine capabilities enable and constrain game design.

> 3D is an illusion in this sense in every game, with the potential exception of space combat simulators.

In almost all general-purpose game engines, most game objects are modeled as 3D polygonal meshes and placed in the world using three coordinates. They can be scaled and rotated freely. The world can be viewed from any position and angle and with any projection (disregarding some of the limitations imposed by rasterization). Object movement and physics are continuous and handled uniformly regardless of direction. Whether or not this is an illusion is a question of philosophy, but I can't think of a way this could reasonably be more "real".

> And they can only make it work by pretending inertia doesn't exist.

This hasn't been true for decades. The Elite series has done this since the 90s, and the latest entry Elite Dangerous implements physics-based space dogfighting with momentum and inertia, though you need to disable Flight Assist to get the full simulation. For a more grounded simulation, Kerbal Space Program implements enough orbital mechanics to support satellites in different orbits, and is realistic enough to enable many real-world spaceflight techniques. And I also have to mention Outer Wilds and its small solar system with simulated spherical explorable planets and moons. All of these games would be fundamentally impossible without 3D.

> You can fly in World of Warcraft, but all of the content is on the ground, and the designers keep griping about how they don't want you to fly because it makes them feel bad when you skip their content.

This is a statement about Blizzard's game design, rather than anything fundamental about 3D. Yes, giving players the ability to fly requires a different approach to world design. That doesn't make WoW any less 3D. You can have a bridge, and one player can walk on it while another is under it. And a third player could be flying over it with a flying mount.

> You can jump in Quake. You can't jump in Doom. This makes no difference. Level layout is the same.

Doom levels are 2D with added height information. Quake levels are actually 3D. This imposes many fundamental limitations on Doom level design. You can't build a multi-floor building in Doom where you can see down to the previous floors. You can't have a pit in the middle of a room and leave the pit via a tunnel, because you can't have two walkable surfaces laid vertically on top of each other. You can't walk on top of a building and then enter it, or have floating platforms, walk under a bridge, have a spiral staircase that overlaps itself, etc.

> Elevation is real in both games; you can always walk up a ramp. There are three dimensions whether you can jump or not.

Doom has heights, but it cannot represent arbitrary 3D geometry, only a very limited subset.

RuneScape is somewhere between Doom and Quake, with its own set of limitations. While the game uses actual 3D models and therefore can display any 3D shape, much like Doom the world consists of top-down 2D levels with per-tile & object height information. The game does enable "rooms over rooms" by having up to four floors / layers per tile, used for things like multi-floor buildings. The player can't walk between floors; they must use an object like a ladder, a portal or agility shortcut to teleport to another floor.

comment 1mo ago · link · parent

They've already confirmed that this is a new game, not a continuation of RS3. New world, different gameplay (WASD movement instead of clicking), different everything.

This is also not their first Unreal game, as they just released the 1.0 version of RuneScape Dragonwilds, their survival-crafting multiplayer game that has been both a critical and commercial success. It appears that RS4 is to some extent an expansion of Dragonwilds into a proper MMO.

Besides, if they're going to create a brand new big-budget MMO, what else other than Unreal could they realistically use? Graphics aren't the primary reason to replace the RS engine with Unreal - the reason is gameplay.

Their internal engine that they use for RS3 (and OSRS) is only suitable for games like current RS. Even RS3 is still fundamentally based on a 1 square meter grid, gameplay-wise 3D is an illusion (no jumping, climbing or flying), and most importantly game logic updates only once every 600ms, which is about one tenth of even World of Warcraft. They've made two pretty good games despite those limitations throughout the decades, but it can't scale to anything that feels more "modern".

comment 2mo ago · link · parent

I can tell this is fake from the fact the explorer context menu and the start menu open in under 2 seconds (on a top end Ryzen CPU, nonetheless).

comment 3mo ago · link · parent

I was also bothered by this. I don't care if you use LLMs to write most or all of your code, but at least have the courtesy of actually writing your blog posts & readmes, to demonstrate that you at least understand what the LLM generated for you.

9.

Rust project goals: Immobile types and guaranteed destructors(github.com ↗)

245 points · by paavohtl · 3mo ago · 109 comments

comment 5mo ago · link · parent

Indeed, the post is rather obviously written by Claude. It's just missing a few "load-bearing"s and a "golden", so that I could have the full picture.

comment 5mo ago · link · parent

> The source code is theirs, binaries mixed with other copyrighted content is not.

Distributing binaries should not matter. If the binary is just compiled from the source code, the binary is just an (non-)infringing as the source code.

> They also allegedly violated a EULA

Meaningless. EULAs are not the law.

comment 5mo ago · link · parent

Yes, quite easily. It requires some setup, but the basic idea is that you create a DLL and a simple loader program which injects it into your target process. You can then use a hooking library like MinHook to replace individual functions with your own implementations. If the target application is in C++, you can additionally do vtable hooking and replace functions even easier (though it will always be a combination of the two techniques).

comment 5mo ago · link · parent

Rust is a significantly higher level language than C, but it can be used it almost all environments where C is used; provided there's a supported compiler target for it. In (safe) Rust, null is basically a guaranteed compiler optimization. Optional / nullable values are represented via Option<T>, which is a sum type of Some(T) and None. When a reference or other pointer-like value (e.g. Box<T>, an owned heap allocation) is wrapped in Option, the compiler can use the invalid bit patterns of T (such as null) to represent the None variant. This is called niche optimization.

So yes, it's nulls underneath, but the developer never has to think about them.

14.

Bevy 0.19(bevy.org ↗)

6 points · by paavohtl · 5mo ago · discuss

comment 5mo ago · link · parent

We have used React Compiler in production for a large ecom / media website for about a year. Performance has been fine overall, and we haven't ran into any major bugs attributable to it in that time.

comment 6mo ago · link · parent

I'm the author of said technical analysis! (https://blog.paavo.me/cities-skylines-2-performance/)

But yes, at launch Cities Skylines 2 was very heavily GPU bound, due to very unoptimized meshes and a poor culling implementation. I haven't profiled it afterwards, but from what I've read they've optimized it enough that on most systems the limiting factor is now the CPU.

comment 6mo ago · link · parent

More like 25. C# 1.0 already had capabilities Java developers are still dreaming of, like structs / value types, properties and operator overloading. C# 2.0 in 2005 introduced generics, implemented far more competently than Java ever did.

comment 6mo ago · link · parent

Considering the latest commits and issues in effects-initiative are about 2 years old, the keyword generics initiative seems effectively dead.

comment 7mo ago · link · parent

As it happens I do have the habit of writing very long blog posts - though none on OpenWA so far. The OpenWA readme file serves as a bit of an introduction, though it's already a month old.

comment 7mo ago · link · parent

I don't think it's impossible, but it would take a lot of time and a lot of money; likely more time than good enough models have been commercially available.

I have been working on an incremental decompilation-based reimplementation (basically how OpenRCT2 was done) of Worms Armageddon for the past 2 months with a lot of help from LLM tools; primarily Claude Code and Ghidra MCP. I've worked on it almost every day, reaching Claude Code Max 5x's 5 hour session limit multiple times every day. Suffice to say as a software rendered, sprite-based 90s PC game, Worms Armageddon is several orders of magnitude simpler than MGS2. Despite that, I think it will be 2-3 more months of work before I can compile a fully independent version of the game.

This is despite the game being an almost ideal candidate for automated RE, as it uses deterministic game logic with built-in checksum checks in replays and multiplayer. I've downloaded all the speedruns I could find for the game (as replay files) and I've retrofitted the replay system into a massively parallel test framework, which simulates over 600 games in about 30 seconds. So Claude can port all game logic independently without much need for manual testing; the replay tests can almost guarantee perfect correctness.

MGS2 doesn't have anything like that, so every ported function requires extensive manual testing. Even with LLM tools, an accurate decomp could take years (unless you're willing spend thousands of $currency per month on it).

comment 7mo ago · link · parent

I think pairing RX 5700 XT with Control as the "defining game" is an interesting choice, considering the facts 1. AMD cards were incapable of RT at the time and 2. Control was basically the first game with a good, comprehensive RT implementation that had a massive positive impact on the graphics.

comment 9mo ago · link · parent

Absolutely nothing in the announcement or other publicly available source implies that, to my knowledge. Might as well speculate if a random passer-by on the street is secretly a martian.

comment 10mo ago · link · parent

For Android specifically, by Q3 of last year more new lines of Rust were being added per week than new lines of C++: https://security.googleblog.com/2025/11/rust-in-android-move...

comment 11mo ago · link · parent

At least in simple cases the compiler will just inline the closure, as if it never existed. There shouldn't be any measurable overhead.

25.

1000 Days in 32:9(blog.paavo.me ↗)

2 points · by paavohtl · 11mo ago · discuss

comment 1y ago · link · parent

The source is only partially available; they released the source code of the game logic, but the engine was not included in the source release. You'd need to reverse engineer & remake the engine to make any major improvements to the game, such as porting it to new platforms.

comment 1y ago · link · parent

And even that isn't enough; no browser supports WebGPU on all platforms out of the box. https://caniuse.com/webgpu

Chrome supports it on Windows and macOS, Linux users need to explicitly enable it. Firefox has only released it for Windows users, support on other platforms is behind a feature flag. And you need iOS 26 / macOS Tahoe for support in Safari. On mobile the situation should be a bit better in theory, though in my experience mobile device GPU drivers are so terrible they can't even handle WebGL2 without huge problems.

comment 1y ago · link · parent

I know you're being sarcastic, but to be pedantic WebGPU (usually) uses canvas. Canvas is the element, WebGPU is one of the ways of rendering to a canvas, in addition to WebGL and CanvasRenderingContext2D.

comment 1y ago · link · parent

Photoshop has had smart objects for quite literally 20 years - have they gained some important features recently? Smart filters have also been included since CS3 in 2007.

comment 1y ago · link · parent

This is definitely corporate speak for "no guaranteed support, no planned further updates beyond critical security bugs, you are on your own".
12345
11