HNHacker News
TopNewBestAskShowJobs

Smergnus

7 karma · joined August 10, 2022

I fly small planes and work in air traffic management
submissionscomments
Smergnus··on I spent 2 years building my own game engine (Rust, WASM, WebGPU)
"One of the primary strengths of ECS is its cache efficiency, which is crucial when managing the simulation of thousands to millions of entities in a massive, open-world multiplayer environment. Unlike traditional object-oriented approaches where an object contains both data and methods, ECS separates data and behavior. This separation allows for component data of similar types to be stored contiguously in memory. When the game runs and needs to process these components, the CPU can efficiently load and process large blocks of component data with minimal cache misses. This translates to faster computation and smoother gameplay, which are essential for maintaining performance in large-scale multiplayer environments."

Huh? Is there something I'm missing here? Does he think that object-oriented languages store a copy of behavior code for every instance of an object?

Smergnus··on CFR[] is a very minimal drawing language with 5 simple commands: C, F, R, [, ]
[[[[[[[[[[[F]F]FC]F]FR]F]F]R]]R]]
Smergnus··on Launch HN: Sematic (YC S22) – Open-source framework to build ML pipelines faster
Awesome. Thanks!
Smergnus··on Launch HN: Sematic (YC S22) – Open-source framework to build ML pipelines faster
I have an idea where I want to build an ML system that generates different sets of board game rules (think tic-tac-toe type games), then trains models to play that game, and scores each set of rules based on a set of criteria. For example: no side should always win, the skill ceiling should be high (models should keep improving when trained more). A less skilled (trained) model should sometimes be able to beat a more skilled model. The games should end within a reasonable number of turns. Etc. The high level system should then generate new rulesets, searching for a ruleset that scores optimally on the criteria. Would Sematic be good for this?