Better HN
topnewbestaskshowjobs
Log inSign up

90s_dev

1,788 karma · joined Mar 13, 2025 (1y ago) · 921 submissions

Submissions

comment 1y ago · link · parent

I will never use AI.

My latest project is os.90s.dev but it's stuck.

This weekend I plan to recreate love2d but with SDL3 + TypeScript.

242.

Getting C++ Hello World working on Windows (a comedy & tragedy)(sdegutis.github.io ↗)

6 points · by 90s_dev · 1y ago · 8 comments

comment 1y ago · link · parent

> They were just missing precision manufacturing techniques to make a steam engine that actually did useful work.

That's the point. They had sustainable and clean technology. It was a sweet spot.

comment 1y ago · link · parent

It actually wasn't poisonous given the circumstances.

comment 1y ago · link · parent

Thanks for the recommendation, I never would have guessed someone made something like this! But of course they did.

I was definitely wondering how I would do this outside of Excel, but I have so many projects going on right now that figuring this one out didn't sound fun :D

comment 1y ago · link · parent

I genuinely wonder if the Romans actually had peak technology all things considered & balanced.

comment 1y ago · link · parent

> I got to see first-hand that notions like function calling, sequential processing, and boolean logic are not intuitive

It was a very long time since I first learned programming.

It was QBasic first I think.

It was a very slow process that I had mostly forgotten.

It took me a very long time to grasp what's now very basic control flow.

But I was like 7 or 10.

I remember feeling like "this is pure magic!" so many times so very early on.

Part of what I want to do is rekindle that like pico8 did for me. Somehow.

comment 1y ago · link · parent

I can't do it.

I can't work in Visual Studio. It's so unintuitive.

I have to do this in VS Code.

comment 1y ago · link · parent

To be honest I was just not giving the benefit of the doubt to the comment I was replying to. I should practice that.

comment 1y ago · link · parent

Fair enough, maybe I'll include it after all. Unless I get hung up on the question of which physics engine to include. Endless possibilities make decisions difficult.

comment 1y ago · link · parent

That is really cool and inspires me and makes me want to play it and make stuff like it, thanks for showing it to me. I really do live under a rock it seems.

comment 1y ago · link · parent

2d is the ideal for gamedev, always has been. I was so sad when Mario 64 came out and they moved on from Super Mario World's perfection. Fortunately the world is coming back to its senses with games like Animal Well.

comment 1y ago · link · parent

Why do I want to make money from my hard work? Or why am I sad when someone offers a way to bypass paying money for hard work to get something for free?

comment 1y ago · link · parent

My only plan for that was to add shadertoys effects to the text. Not great hence I hadn't started.

comment 1y ago · link · parent

I was kind of hoping it would be for text based adventures,

since last night I had the idea for one,

where you're an adult and you have to do adult things

like file taxes and go to work and dust your house

and the less you do these things the harder life gets,

but the more you do them, the easier it gets,

and the goal of the game is to die with no debt.

comment 1y ago · link · parent

Something about me has always wanted to learn and master C++. I've read through Stroustrup's book almost entirely, and still never written a single line of C++. I don't know why I have this goal in life, but I do. This project still doesn't do that, since I'm just wrapping SDL3 with QuickJS and will probably almost entirely just write C functions to do it with. But a man can dream.

comment 1y ago · link · parent

Mainly it just reminded me of what happened last night and seemed like good timing because of the similarity, but also I appreciate blog posts that are short and get right to the point of how to do something.

Half of the problems I got past were thanks to odd blog posts like this with code snippets that I found on google and got me unstuck immediately.

comment 1y ago · link · parent

Yeah sure https://github.com/sdegutis/minigamemaker placeholder.

comment 1y ago · link · parent

... at least if I can get the simplest Visual Studio + CMake + vcpkg hello world working.

Which I can't.

This always happens every few years. It takes me about a week to get a C++ program compiling and running, and by the end of it, I've lost all motivation, forget how any of it works, and delete it all and move back to TypeScript/web stuff. At least that I know despite all its warts.

[edit] figured it out

Hello me from the future, googling this in a few years. It's actually really simple: just follow the same steps on that page you were on[1] except you HAVE TO run the `vcpkg new --application` and `vcpkg add port fmt` commands in the dev cmd prompt, you can't just add the file manually for some reason, even though that's all it seems like it's doing.

[1] https://learn.microsoft.com/en-us/vcpkg/get_started/get-star...

comment 1y ago · link · parent

Care to elaborate?

comment 1y ago · link · parent

My theory is that good C++ devs haven't yet made a simple yet powerful build system because they're too busy making lots and lots of money writing enterprise C++.

comment 1y ago · link · parent

Well as a fan you certainly commit a lot https://github.com/RandyGaul/cute_framework/commits/master/

comment 1y ago · link · parent

As someone who dreams of making a living selling software that I've poured years and years into, that comment makes me very sad.

comment 1y ago · link · parent

That's what I'm working on, basically love2d but SDL3 and TS/JS (via QuickJS). And no box2d builtin, but easily importable via CDN.

comment 1y ago · link · parent

Ah thanks Piotr, also Cute looks very useful, great job.

comment 1y ago · link · parent

Cute looks like a modern version of SDL or maybge SFML[1]. Anyone have any experience with it?

[1] https://news.ycombinator.com/item?id=19677201

comment 1y ago · link · parent

Last night I tried for maybe about 6 hours so many combinations of efforts to compile a C++, SDL3 and Lua program on Windows, with different IDEs, build systems, compilers, package managers etc. Finally I'm just giving up and using VS with CMake and vcpkg. The main problem is that there's way too many words on all those documentation pages. It would have taken 3 or 4 days to read them all, and maybe only 2 hours worth of it would have been helpful or relevant at all.

comment 1y ago · link · parent

Doesn't C have slices but they're just kind of manual and non ergonomic and memory unsafe?

comment 1y ago · link · parent

This is far too clever for me to even begin to understand.

How do you get the hello world working?

I tried pasting ,--('\< into the code and if it walks like a lamb and quacks like a duck into the stdin field.

comment 1y ago · link · parent

Yeah but Janet is a Lisp. And Lisps are like black coffee.
1
8910
31