Hacker News
Show HN: MicroECS – entity component system library in Python/NumPy
Hi, in the last ~month I've learned a lot about ECS [1,2].
I'm currently developing a robotics simulator from scratch (python+raylib) and, due to lack of game dev experience I went "full OOP" on it. A SceneObject with a lot of inherited interfaces (e.g. Collidable, Movable etc.). These are inherited and fixed at run time.
The main loop inevitably became:
for scene_object in sim.scene_objects: scene_object.update(...) for scene_object in sim.scene_objects: scene_object.draw(...) Well, it turns out that this can become a bottleneck if you have many scene objects because computers love contiguous memory for caching, physics/math vectorization and so on.
Having recently learned more about ECS[1,2], I started doing a bunch of experiments in a sandbox with turning the update() function into ECS. The idea is that the data is stored in columnar numpy arrays (components) + a lot of data structure optimizations for querying scene objects and fast access e.g.
qr = scene.query(HasMotion, HasPosition) # query result acting like a np array of (N, ...) shape qr.position += ... # operate like numpy / vectorized In any case, the standalone library only needs python and numpy. Raylib is only for rendering, but the raw data structures don't need it.
I'd love some feedback on it, e.g. what is it missing or what are gotchas I'll find out later on during the simulator development.
As an anecdote: I used Claude as an 'engineering manager', I wrote the code myself, it did the code review, tasks management and tests (super useful for corner cases).
[1] https://www.youtube.com/watch?v=qglU107_DA4 hytale's ECS video (great for beginners)
[2] Casey Muratori's latest video about the first ECS in the game industry (https://www.youtube.com/watch?v=73Do0OScoOU)
Comments URL: https://news.ycombinator.com/item?id=48500561
Points: 1
# Comments: 0
Show HN: Real-time ISS tracker with live NOAA solar wind visualisation
Article URL: https://mujib77.github.io/plasma-net/
Comments URL: https://news.ycombinator.com/item?id=48500528
Points: 2
# Comments: 0
Microservices for the Benefits, Not the Hustle
Article URL: https://kiss-and-solid.com/blog/microservices-for-the-benefits
Comments URL: https://news.ycombinator.com/item?id=48500524
Points: 1
# Comments: 0
Matchmakers Are Busy, but Worried
Article URL: https://www.tabletmag.com/sections/community/articles/matchmaker-business-booming
Comments URL: https://news.ycombinator.com/item?id=48500510
Points: 4
# Comments: 0
Humans prefer to walk anticlockwise, scientists find – but reason is unclear
Article URL: https://www.theguardian.com/science/2026/jun/10/humans-prefer-to-walk-anticlockwise-scientists-find-reason-unclear
Comments URL: https://news.ycombinator.com/item?id=48500485
Points: 2
# Comments: 1
SSL Certificate Expiry Explained
Article URL: https://urlwatch.io/blog/ssl-certificate-expiry.php
Comments URL: https://news.ycombinator.com/item?id=48500471
Points: 1
# Comments: 0
AUR Report Thread
Article URL: https://lists.archlinux.org/archives/list/aur-general@lists.archlinux.org/thread/FGXPCB3ZVCJIV7FX323SBAX2JHYB7ZS4/
Comments URL: https://news.ycombinator.com/item?id=48500469
Points: 1
# Comments: 0
AUR Packages Compromised with Infostealer and Rootkit
Article URL: https://discourse.ifin.network/t/400-aur-packages-compromised-with-infostealer-and-rootkit/577
Comments URL: https://news.ycombinator.com/item?id=48500447
Points: 2
# Comments: 0
Zepto's published search architecture only applies to logged-in users
Article URL: https://medium.com/@abhij89/zeptos-llm-search-works-great-unless-you-re-a-new-user-c13e138de331
Comments URL: https://news.ycombinator.com/item?id=48500436
Points: 1
# Comments: 0
Countdown calendar for Fable 5 leaving Claude Code
Article URL: https://fable-farewell-calendar.pages.dev/
Comments URL: https://news.ycombinator.com/item?id=48500432
Points: 2
# Comments: 2
Guardian Runtime – Track AI agents token usage and enforce API budgets
Article URL: https://github.com/ashp15205/guardian-runtime
Comments URL: https://news.ycombinator.com/item?id=48500426
Points: 4
# Comments: 0
LLM for the ESP32-S3
Article URL: https://github.com/harmansingh4163-ai/ESP-32-s3-Story-maker-LLM
Comments URL: https://news.ycombinator.com/item?id=48500424
Points: 1
# Comments: 0
Digital Sovereignty Becomes an Imperative as the US Reads Dutch Emails
Article URL: https://www.korte.co/2026/06/11/digital-sovereignty-becomes-an-imparative-as-the-us-reads-dutch-emails/
Comments URL: https://news.ycombinator.com/item?id=48500404
Points: 2
# Comments: 0
Remote Magic Trackpad – Control Mac's Trackpad and Keyboard from Android Device
Article URL: https://play.google.com/store/apps/details?id=com.magic.trackpad.free&hl=en_US
Comments URL: https://news.ycombinator.com/item?id=48500394
Points: 1
# Comments: 1
There Is Life Before Main in Rust
Article URL: https://grack.com/blog/2026/06/11/life-before-main/
Comments URL: https://news.ycombinator.com/item?id=48500372
Points: 1
# Comments: 0
Stimulants Are the Killer of Generalists
From a young age, I was prescribed stimulants to 'treat' a strong case of ADHD. Being ~7 at the time, I had no clue what was going on. Never really questioned it either. Fast forward 18 years: through a lot of introspection, I can happily say I am not in a position I'd like to be in.
Stimulants come at tradeoffs.
I've come to realize that people with ADHD are: - Observant - Social - Generalist
I've also come to notice that I am: - Specialist - Zombie - Anti Social
"Locked-in" = specialist.
I hate specialization. Its fragile. Throughout history, generalists have reigned. Entrepreneurs are generalists. I want to be an entrepreneur.
I work a job now. Software Engineering. Im left wondering, what will I do if I leave the stimulants? I dont vouch for the life I live, at all. I will find a way out of it.
Im not an introvert. Yet I've grown as one. Its isolating, seeing people socialize and strangely feeling out of place.
I've confirmed all of this through trial and error. Dropping the stimulants, going back on them.
Its an odd discovery in your 20s that you are a completely different person than you had thought.
The world becomes beautiful when you see it raw for the first time. Food tastes wonderful. Moments become magical and powerful. It feels tingly to make someone laugh and converse deeply. I dont believe there are many people who've experienced the difference so suddenly.
Comments URL: https://news.ycombinator.com/item?id=48500343
Points: 2
# Comments: 0
Scientists unlock the secret behind the Venus flytrap's snap
Article URL: https://www.reuters.com/science/scientists-unlock-secret-behind-venus-flytraps-snap-2026-06-11/
Comments URL: https://news.ycombinator.com/item?id=48500335
Points: 1
# Comments: 0
Does Music Help You Focus? (2022)
Article URL: https://rdegges.com/2022/does-music-help-you-focus/
Comments URL: https://news.ycombinator.com/item?id=48500325
Points: 1
# Comments: 0
Show HN: Landcheck – is coordinate is on land?
Article URL: https://jaakla.github.io/trifold/landcheck.html
Comments URL: https://news.ycombinator.com/item?id=48500316
Points: 1
# Comments: 0
Senate wants to force US to share sensitive Intel with Israel
Article URL: https://responsiblestatecraft.org/us-intelligence-israel/
Comments URL: https://news.ycombinator.com/item?id=48500313
Points: 1
# Comments: 1
