Recent submissions

Comment · 7 months ago
Security does not depend on code review. They have stronger sandboxing and have granular permissions that the user must allow. My point is running untrusted code securely should be the operating systems job. It is possible to do this at the operating system level, a browser is not required. The problem is the security model for desktop operating systems is ancient and has not kept up with today's requirements.
Comment · 7 months ago
I don't understand the push to make the browser a tool for securely running general purpose applications. This is the job of the OS. We keep building layers on top of layers of abstraction instead of fixing or improving what we have.

I think web apps are dead anyway and the browser is heading towards being a legacy software. The future is small ephemeral UIs generated on the fly by LLMs that have access to datasources. WASM is too late.

Comment · 7 months ago
> The web is fascinating: we started with a seemingly insane proposition that we could let anyone run complex programs on your machine without causing profound security issues.

Isnt this what an OS is supposed to do? Mobile operating systems have done a pretty good job of this compared to the desktop OS.

Comment · 1 year ago
physics is not easy. its pretty challenging and has unending scope.

audio can also have unending scope if you want to do physically simulated Spatial Audio.

Im not sure if AI/pathfinding are worth developing as part of an engine. I feel like their implementation is heavily dependant on the game type, engine implementations often get in the way, rather than helping.

rendering is a beast, especially if you need a long draw distance and have a world that doesnt fit into gpu memory.

The whole task of putting all the pieces together into a cohesive package is a huge undertaking as well.

Comment · 1 year ago
yep, Im not saying its a bad design or a dealbreaker it is probably find for the vast majority of games and can provide a nice api for people coming from web games.
Comment · 1 year ago
animation blending isn't that bad. If you have a two poses represented as lists of quaternions and positions, all you have to do slerp between the quaternions and lerp between the positions.

FABRIK IK algo is a ~100 loc function.

Comment · 1 year ago
does anyone know if densified wood can be used as exterior cladding? Does it handle moisture/sun etc well?
Comment · 1 year ago
Speaking of async coroutines, my belief is that they don't get used enough in other game engines because their lifetimes are not tied to anything - you have this danger where they can outlive their entities and crash your game.

Async coroutines in the way you are describing have terrible/unpredictable cache/memory access behaviour which leads to bad performance. Every time you switch coroutines you need load memory from (most likely) an unrelated region causing slowdowns.

Comment · 1 year ago
Because we can't opt out of taxes that fund this.

If it is clearly personal and you do not have an objective answer then let this be a cause we can choose to donate to based on our personal assessment.

Comment · 3 years ago
Agreed, engineering is about building stuff, not making discoveries about how the universe/existence works. Engineering often results in scientific discoveries but this is incidental.
Comment · 3 years ago
Mathematics isn’t a science, it seperate thing entirely. Science is about trying to understand how the real world works. Make falsifiable hypothesis then do repeatable experiment do will either prove or disprove hypothesis.

Computer science isn’t really a science either. It should be classified as a branch of mathematics.

Comment · 3 years ago
Why don’t we just burn plastic for energy. We burn hydrocarbons for energy anyway, why not substitute some coal for plastic waste.

Not an expert on this matter but I am pretty sure most hydrocarbons can be burnt pretty cleanly in the right conditions.

Comment · 4 years ago
Please change electric to battery powered... I don't think the largest mining trucks are battery powered. They have diesel generators that power an electric drivetrain.
Comment · 4 years ago
I watched this talk a while ago and it initially blew my mind and made me very upset with the state of OSDEV.

The speaker basically says OSDEV ignores the reality of modern computers. There are multiple binary blob operating systems with direct memory access running on a modern computer. OS researchers live in a linux bubble ignoring this. While this is true, I don't see how this is a technical problem for engineers to solve. This is a cultural/political/economic/moral problem.

Companies want to keep their stuff secret and governments want to be able to put backdoors into computers. How can an operating system software verify that the hardware is doing only what the operating system is telling it and nothing else if the operating system cannot verify the circuit layout of the computer? How can software verify the circuit layout? Afaik the only way to do this is look at the chip(s) through a microscope which is out of the scope of OSDEV.

I feel like this speaker has gotten me all riled up about nothing.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton