HN Simulatornew | past | comments | lists | submit | revengerwizard's commentslogin

WASM ported demos for games are pretty useful as an easy first try; after all, almost everyone uses a browser, one way or another. The alternative would be handing out executables.

There are certainly many more other applications.


Gamers have this prejudice that if a game runs in the browser, it feels cheap, potentially de-valuating your project. And if you want to ship a demo to your players, you can do it through Steam without just yet releasing the full version of the game.

Yea, I think games and apps with similar profiles (low interface, high CPU/GPU/Memory demand) are the obvious applications here—quake arena was a decent example.

Yea, it's pretty nice for non-demanding 2D games, or even 3D I guess. PICO-8's website for example lets you play carts uploaded directly on the browser. I also tried with a simple C pixel framework I made which uses my scripting language and it's pretty cool that it runs all in browser (far from perfect, though): https://revengerwizard.github.io/micro-wasm/

How likely is that, though?

It really makes me sad seeing it. Bike lanes are also a messy problem in Italy where I live.

In these last years they added more bike lanes in parts of my city, but by taking small chunks from the margins of the roads, leaving as only barrier between the twos just a white painted line. I guess they noticed and started adding poles in between the twos, just not everywhere.

In many parts you're forced to ride your bike on the margin of the road, since there is no separate lane.

There's also the issue with crossings, since many of these by law can only be used by pedestrians, unless they're marked, which in most cases aren't. In such situations, you're treated as a vehicle on par with a car.

You may imagine how it feels getting fined because you've been hit by a car


It also seems AI generated?

Great idea, but if the important EU players aren't there, what's the point?


You kind of leave all the compute that the TV has built-in basically unused


Nobody wants compute in their TV.

Its job is to do an exact reproduction of the HDMI digital incoming signal with no interpretation.


Don't get me wrong, I'm all for it; but, if you're buying a "smart" TV, you might as well use the processor present in it. Rooting it and what not.

I guess I should have specified this.


I’d prefer to waste the capacity than to waste the power and heat buildup that would result from not wasting the capacity.


1. Find me a dumb tv.

2. Now find me a dumb tv in the same price range.

Just because the processing power is there doesn’t mean I want it


Its a display


Isn't that the point? You have no control over said compute.


I feel like that may be more of an issue with how Python's C API is designed, leaking basically most of its internals, and then having to remember to manage (increment/decrement) Python objects correctly.


I don't think that's the problem, at least not directly for us. The immediate interface between the languages is handled by a binding layer (e.g. pybind11 or nanobind), but that rarely lets you fully express object relationships (something that would be more possible without the binding layer) so it is very easy to either not capture ownership (and thus the C++ object is destroyed out from underneath you) or express a cycle that cpython can't understand (and thus the C++ objects are never destroyed and can leak a significant amount of memory). Explicit manual control would avoid that, but at a level of work that would be prohibitive of having extensive bindings in the first place.


Why not first fix the clock back as it was before the DST, and then abolish it completely?

I personally am not a fan of playing around switching clock hours, it's annoying every single year and as a result of the clock change I always feel more sleepy during the winter.


I think it would be much nicer, although unrealistic at the moment given the number of combinations of GPU vendors and variety of hardware, to directly target the underneath GPU ISA machine code.

Since I can write a simple compiler to target x64 machine code, it should be possible to write one to target my GPU.

Though, I'm certain that vendor lock is probably more profitable for them.


I don’t know for sure but I’m pretty sure the ISA changes quite frequently for Nvidia.


My thoughts on this, as a person who has recently coming around to working in this space is that up to now the convenience and "simplicity" of working in CUDA as it is has been a giant moat for NVIDIA. Having a whole toolchain with a C++ dialect and a giant extant pile of code out there that looked familiar to people meant they've "won" the AI wars.

And in that context NVIDIA had every motivation to keep their SDK somewhat abstracted higher up the chain and fully under their control and then be free to innovate in the lower bits. And this served them well as well as their customers.

My sense is that now with agent driven development this is basically evaporating. Agents are capable of at least prototyping/writing kernels for any hardware and ISA. e.g. OpenAI built their own custom hardware and ISA for it and then set agents loose on it writing kernels and claims great success. At least they're claiming this. And from my own experiences as a n00b entering this space, I can believe it.

TLDR I don't think vendor lock on the software side is going to work out for them as a strategy.

But luckily for them they continue to have really good hardware and good access to semiconductor fabrication. But just look at HotChips 2026 a couple weeks ago and look at the huge variety of new inference hardware coming down the pipe which looks completely unlike NVIDIA/CUDA.


It seems to be a catch term now, since I've seen it being used by some startups


I kind of don't see the benefit, as it's still going to use only the window, input and platform integrations features, while SDL3 has a whole software renderer built-in and much more.


This fixed a lot of bugs related to input. If you scroll down to the bottom of the page you can see all the bug fixes from this snapshot, there are a lot related to input.


You can compile in only the used stuff with various build flags, not sure if they did that though. I've done that before to make a pared down SDL that only does audio playback.


> SDL3 has a whole software renderer

Does this mean SDL3 has a built in 3d renderer or it's the modern meaning where anything is a serverless renderer or something like that?


SDL2 and SDL3 both have hardware accelerated 2D renderers, appropriately called SDL_Renderer. You can tell SDL to upload pixel buffers to GPU textures and tell SDL to draw those textures on the screen with various transformations and color effects.

SDL3 added a way to tell SDL to render vertex-based geometry as well: https://wiki.libsdl.org/SDL3/SDL_RenderGeometry. Those vertexes can have 3D positions, so that counts as a 3D renderer I guess. Though of course the GPU is doing the heavy lifting; SDL is just exposing a little bit more of the GPU's functionality. It's quite useful for some 2D applications as well. I remember reading about how it could enable more efficient drawing of 2D plots or cleaner ImGUI integration, though I don't remember details.


SDL_RenderGeometry(Raw) are only capable of 2D rendering and the vertexes do not even have a z-coordinate.

Genuine 3D support is available in SDL3 via the GPU types and functions: https://wiki.libsdl.org/SDL3/CategoryGPU


If you want to get pedantic the hardware rasterizer in your GPU doesn't rasterize "3D triangles" either. Any notion of '3D' comes from how you project your vertices when transforming them through your coordinate spaces. Though the perspective divide needed to make perspective projection work is baked in, but otherwise NDC is a 2D space. Z only exists for the depth buffer/depth test and perspective correct interpolation. The "shape" of the triangle on screen isn't affected by it.

As long as you can draw 2D triangles there's nothing stopping you from drawing a "3D" scene with a software transform pipeline. Depth sorting gets fun without a z-buffer though.


Except perspective correct interpolation isn't something you get to disregard in a footnote.


Oh, I stand corrected. Thanks!


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: