this post was submitted on 30 Jul 2023
10 points (100.0% liked)

Programming

13212 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
10
A Type System for Scripting ECS (ceesstuff.github.io)
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

cross-posted from: https://programming.dev/post/1086370

This time on my arbitrary blog: Entity component systems.

Also, highlight.js should degrade more gracefully without JS activated than last time. Note that I can't process syntax highlighting in my build step, because I don't have a build step.

EDIT: improved phrasing

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 years ago

I like the ideas presented in the article otherwise. I vaguely remember TypeScript having some sort of reflection support that Angular took advantage of or something. I wonder if that can be used to create a scriptable ECS like proposed in this article?

I don't know, I've seen some outdated version of Angular only for a couple of hours in my job now. But I'm sure, those sweet layers of metaprogramming and DI will be a bliss to debug. Not.