Better HN
topnewbestaskshowjobs
Log inSign up

buba

278 karma · joined Feb 8, 2017 (9y ago) · 52 submissions

Submissions

comment 1y ago · link · parent

It's crazy how good this tool is generating documentation almost live https://deepwiki.com/PRDeving/easy-auth

2.

Ive used deepwiki from devin.ai to document my project and its awesome(devin.ai ↗)

1 points · by buba · 1y ago · 1 comment

comment 1y ago · link · parent

tbh i'm in the same state, actually working in a PoC architecture to stress the theory (https://github.com/PRDeving/MMO).

Regarding DBs...MMOs don't rely on them that much, it's safe to have everything in memory and persiste from time to time, and if it goes down, you just pull the backup and are good to go.

4.

MMO Architecture: Optimizing Server Performance with Lockless Queues(prdeving.wordpress.com ↗)

1 points · by buba · 1y ago · 2 comments

comment 3y ago · link · parent

Yep, I noticed. It's an interesting approach tho xD

comment 3y ago · link · parent

I've some other posts planned about this topic, I don't know when or even if im going to deliver, but you are free to follow the blog and receive the update if I ever do.

comment 3y ago · link · parent

to be honest, i know nothing about private WoW servers but i promise i'll check it out!

Thanks!

comment 3y ago · link · parent

yep

comment 3y ago · link · parent

Interesting aproach to data ownership philosophy, I/O techniques and source of truth fuckery in MMO-like systems

10.

MMO Architecture: Source of truth, Dataflows, I/O bottlenecks and how to solve(prdeving.wordpress.com ↗)

234 points · by buba · 3y ago · 74 comments

11.

How to write a game engine in pure C: Part 3 – The Engine Entity(prdeving.wordpress.com ↗)

1 points · by buba · 7y ago · discuss

12.

Cryptography Library in C++(github.com ↗)

2 points · by buba · 7y ago · discuss

comment 7y ago · link · parent

yep, i said "get what you wrote" and it's true, if you want your iterations to not get out of range you have to do it yourself, if you want to make a dynamic array you have to do it yourself and if something is not working as expected means that you wrote something wrong, that's far from the opaque flexible behaivour on javascript, f.e.

I meant that i think is easier to understand C than other languages cause you see all the flow without weird library stuff, maybe i'm wrong, dunno :(

comment 7y ago · link · parent

sad, but true

comment 7y ago · link · parent

yep, I choose C89 for this project because there's no Object/Prototype/Class/overloaded bullshit, you get what you wrote and no more, i think it's easier to understand than any other high level language where you have to use obscure things by design.

Actually, this tutorial is not just about "building a game engine in C89", it's more about learning the concepts behind game engines, the language and the code is just illustrative examples.

comment 7y ago · link · parent

Absolutely, i stick to C89 in this serie for clarity as you said, knowing what a game engine does under the hood is the only point here and C is a self explanatory language by design (even if it can be "tricky" sometimes), Im also doing tricky things with it (not that tricky anyways) like the method-like function pointers in the structures that can be "obscure" for those who only work with high level languages but i'm trying to explain everything with detail.

As i said previously, i'd never do a profesional game proyect (or even a hobby one to be sold) with C89, it takes lots of boilerplate and it feels like reinventing the wheel over and over. I'll have to code a hash map approach, a growing array (already did), a "garbage collector" in C89, things that you either don't need or have in the C++ Stdlib, so yep, you are absolutely right.

Also, i enjoy C :D

Maybe after this i could do the same with C++ macroprogramming

comment 7y ago · link · parent

uh, interesting....

C++ tho, but i could port it, i'll give it a glance

comment 7y ago · link · parent

this is not about SDL, it's just an easy way to open a window, import assets, handle events and reproduce sound.

Would you like to see a tutorial about how to do that in c89 compatible with windows, mac, Gnu/linux, consoles, etc? it'd take half million lines and 3 years.

12