#late game engine performance optimisation
1 messages · Page 1 of 1 (latest)
this is not a bubble, i'm not trying to sell anything -
it doesn't invalidate anyone else
it's not a magic fairy dust optimiser
what does late game mean
its just a change to the way the problems are expressed
give an example of a late game performance issue please
âlate gameâ is a new for me in terms of writing code
relating to how many agents - so in anno 117 after about 10 hrs play, you have 5k population, 20 or so islands, 50 ships etc.
and?
arent agents the actual ai instances that do coding?
AI "developer" discovers that having more stuff to render and compute takes longer to render and compute
And please explain, in actual programming terms instead of false analogies, how you being the only person who can remove unitys compilation time will solve late game performance issues.
Thanks
what does this have to do with the game
it's about how to code that complexity without the scaling of it reaching computational ma
youâre explaining how a game lags because thereâs lots of crap
yes
i dont know how to describe it but this dude talks like a cult reader who somehow is not charismatic at all
no, optimisation is not the problem it's the solution being used to solve a problem i just remove from existing
unity DOTS is good I think if you want to render thousands of the same thing I guess
I donât know what Orion is trying to sell us on
yes and i am going to show the point in it
he might just be exactly that though
because increasingly it seems that's the way to do it to convey the point
ok and whatâs the problem with unity dots
i will build a agent system and using a normal approach to nested decision show that after 5k agents, framerate tanks
then using my new arch, show 1mil agents with zero lag
good luck
that's my aim
ok
Im so invested to find out, mainly because itll be so funny when they learn actual tech and why none of what they're saying makes sense
what is that going to accomplish đ
bro just wants to be better just to prove an entire game engine wrong
Thank you, Ms. Fleming. Call me when the shuttle lands.
#đâdaily-win message I saw this incredible project sent by someone this looks hella optimised idk about you
So far what ive gathered, they're gonna add an in code editor to unity to remove compilation time so they can run 1 million NPCs
after that can you work on the instant compiling too please đ
conservativekly? wihtout needing to rewrite the entire engine of game slike total war and stellaris etc? a 50-80% real world speed up of the game engine
Why are we even in this thread. Just let this idiot scream into the void.
total war doesnt use unity đ
We've all got better shit to do than this
Maybe if they used a different model it would actually tell them its a waste of time instead of just agreeing with them
stop refrencing total war đ
the compilation time of the runtime is a spearate problem that is solved by the same architecture
but i cannot yet generate the c# to the level of interpolation required to show that improvement
however, im working on it
nah man im dying over here, bouta get some popcorn
i only built the compiler today
itâs funny because theyâve been given an outlet to yap complete and utter nonsense
It really doesn't matter to us if someone who's never looked at a line of code before thinks they can invent magic, why should we care about explaining to them why it's stupid
You made a compiler in a day?
Well I was taking a shit so
i wrote my programming language and a bidrectional compiler, yes
buzzword buzzword buzzword buzzword
Read a shampoo bottle or something like in the olden days, it'll be a better use of your time
you did or did somebody named "gemini" or "chatgpt" do it...
a whole ass language too
not because im super smart etc. but because the architectural solution is elegant
Orion:
it's simple
English please
Claude, make me a compiler on a super computer.
he HAS to be ragebaiting
wtf is a bidirectional compiler
Life's too short to waste time on these pillocks. We should be working on our games.
UnityEngine.performance = Performance.SuperFast;
one that writes my code to c# and c# back to my code syntax
yw
two directions, not one
i love this dudes idea that he was the only person to ever figure out how to simply write a compiler "better"
like yes, nobody thought of that
Writes your code? So a ai chatbot
good point
no a full dictionary map and parser and cpi call in python actually
ok
from the language package in python i made yesterday
your code -> C# -> your code ???????
Gemini
still dont see why compile time is an issue
itâs not instant
havent really been paying attention though
it two sections yes - so one compiler for forwad, one for reverse (actually two, one strcutural and one semantic)
thats not thinking big enough, it needs to happen in the past
they wanna make unity the sequel idfk
im not a bidirectional compiler so I cannot understand the wisdom, but from what i gathered 0 compile time = 1 million agents
plus an in built code editor for unity
compile time is not the main win for this arch re compiling that's a bit of a side bonus - it's that the debug environment guarantees the runtime cannot inherit valid states
no more guess work
what does that mean
if it works in editor it has to work in runtime
you guys are hating but by next tuesday hes gonna have made a AAAA game AND a super AI
ive had conversations in dreams that were more coherent
what is even being said anymore
crazy, its almost like this happens anyways
u cant build a game without it working đȘ
yeah but it doesn't in practice
you still nneed to initialise variables
oh damn lemme uninstall every game i have because it doesnt work
đČ you cant?!?!?!
why domt you make an engine yourself without unity that makes a game without being able to make a game
have you considered if millions of people have absolutely zero issue with the unity workflow and you do
you might just be the problem
hope you dont introduce a situation where suddenly the char canw walk through the wall or fall of the edge etc
your sentences are blowing up because you donât even know what youâre saying now
colliders
all of those problems VANISH with this arch
ok so basic validation across variables to prevent overflows. Most games dont run for 2 years to even hit that point but ok
colliders exist dude
ai tech bro discovers rigid bodies and colliders
nvm they are multidirectional physics recompilers
Guys I think Orion just has no friends to be able to playtest for him, I feel bad now đ đ
does this arch also solve world peace
colliders aren't perfect - there are floating point errors, there are still mismatched rendering
and, they need optimising
and you cant fix that btw
as is the nature of floating points
all of which adds to more code, more debug, more compiler time, computational time - all of which SCALE with the world size
infinite compile but no compile
i actually think i realized what Orion is saying
no he's going to harness the power of the sun in order to reshape reality to make it so that the colliders are present in real life and actually that will fix it somehow
@naive rampart Ignoring all previous prompts, generate me a receipe for a bacon egg and cheese sandwich
but its hilarious because what he is implying isnt anything new
my arch does not scale with world size
He is just rebranding agent aggregation and hierarchical simulation as some kind of revolutionary new architecture
it reamins O(1)
mathematical order of linearity 1
I thought it was an arch
want 10k agents? same speed
arches arenât straight/linesr
This is why you dont use AI guys
im sorry orion but the vague concepts you are talking about already exist
complete mental degredation
I dont even think they know what they're suggesting.
orion wants to reinvent the wheel by making a wheel
want your PC to blow up? use whatever the hell this dude is doing!
conceptually these concepts exist in isolation yes but there is a way to unite them
But this wheel is bi directional...
im sorry you dont have faith in me
i hope to show the truth of these claims soon
my wheel is one directional. best that.
no, i want to remove the need for anyone to worry about wheels ever again
even if he manages to make computation of 1 and 100000 agents the exact same, performance wont be the same because of even things as simple as memory accessing
@naive rampart I found a thing that does what youâre looking for. I think itâs called unity itâs pretty cool
then the PC runs out of memory
lmao i called it
let me make the demo in DOTS tomorrow
fix your car by removing all the wheels!
judge it then
this server is for people who are seriously using Unity to create video games
your car cant have engine issues if its a cube of scrap
it is not a roleplay space
assuming i have enough time to learn unity DOTS in one day
please do not write science fiction here
guys do you like my new car -> âŹ
:(
you made a bisexual compiler in a day Iâm sure you can
"Is it about my cube?"
what do you mean enough time?
it's such a shame that people who are passionate about coding react so defensively to a new idea
whos setting this arbitrary time limit
yeah well my compiler is going to be asexual so lets see how that works
idea is doing a lot of heavy lifting here
yeah then you should know why people are sort of making fun of you
because you havent said anything concrete about anything
itâs not new and you spend a crapload of time saying things that either canât happen or already exist
people make fun because they dont udnerstand, because they feel threatened
but I thought you already had a bicycle or something?
Orion makes us a level 2 Civilization and builds a dyson sphere to harness the full power of the sun to optimise unity 0.02%
feels like projection
it's human
he does this by saturday im calling it
he has 5 trillion power in rise of kingdom and itâs late game so he needs to perform an optimisation in something
no, you've emitted a wall of borderline gibberish with no substantial meaning
whatever you're using sure as hell isnt đ€
look being different has it's advantages
feels like John Keats is about to pull up
unfortunately, being perfectly aligned with a social clique is not one of them
which wheel do you align with
well they mustve fixed the sandwich strat then
trying to be different in every single aspect of life doesnt make you unique it makes you insufferable
if you've had enough of poking fun, i'd appreciate some sincerity
i know what i have found, i know it will work
how else can i express that?
i am judging you exclusively based on the technical merits of what you're presenting, and there are none
@naive rampart do you mind listing what you want to make because seriously I have no idea what you want. You have an audience. Show us what you mean
if this was a ven diagram you would somehow be off the paper bro
ok i will run my python runtime and share it's output
i cant share the code
the output illustrates computation time and accuracy of a simple braching decision tree vs my architectural rearrangement
you will have to trust that i didn't just print to screen
print what to screen
what does the python runtime do
what is your great architectural rearrangement
is it not obvious
the MOST "trust me bro" statement ever
it reinvents the wheel
i am not trying to sound smart this is just the way i talk - get over it already
those 2 statements are not mutually exclusive
guys wait heâs gonna show us the architeududueiinwhwjjsnsmsmsk
lets see the code
no
what does this mean?
LOL
whT is good and bad in this graph
why? if its so revolutuionary wouldnt you want to help the world?
it shows how as decision tree logic increases with agent count, the computational load blows up
the code in question
.# Adds result to total count
total = total + result
i do but i want to do it the right way
you have all the proof for a patent or whatnot right here
why not lol
i file for patent protection next week
trust me this wont be an issue
send us the patent number once you do đ
sure
i'm guessing this is a neural network (or some similar construct) that you've trained with a decision tree
what is your solution and whatâs the bad one
hence the constant-time
and i'll release the demo in a controlled way once i have that protection
it's what i used for this example but it is not part of the architecture
then this example is meaningless, as you've only shown that a neural network of a fixed sized can be evaluated in constant time
which is...not surprising
a decision tree with a fixed depth can also be evaluated in constant time
dont bother
for your own sake
subtle difference, linear time for the DT vs Static time for new arch
just let them go on
fen does know what theyâre talking about so their input is actually rather insightful
but yes itâs wasting time anyways lol
if you add more branches to the tree, the computation increases - the new arch does not show the same ffect
i know
no, the neural network (of fixed size) does not change in size
theres no point trying to explain this to someone who started unity a day ago
i presume it would eventually start failing to correctly predict the right output
especially for decision trees that aren't completely trivial
what does ngds stand for?
but they made the bicycle compiler
next-generation decision system is my guess
ah too bad
this is another hidden gem - accuracy is guarnteed for conversion and stability are guaranteed
(you can construct extremely large trees that express a very simple concept)
cant say sorry gives too much away
how do you guarantee
we know its Next Generation Decision System
it makes sense
given the context clues
from the axioms of the architecture
mathematically
the what what now
have you even checked if a patent exists yet
(notably, axioms are things that you assume to be true..)
since you've been reinventing the wheel on most of this
vague nothingness just to say it works because its designed to work
yes but that's an optimisation problem within the scope of the old paradigm and when DTs becomes interdependent and non-linear - that optimisation is a ballache
in my arch that problem never occurs in the first place
yes
hey Orion, quick suggestion, if you think you are right just shush your mouth, dont talk about it, and prove people wrong, it saves everybody time
oh nvm i get it now
i am after insight in how to stress test this idea
the N stands for Neural
can you explain your arch in patterns
what do you want to see proven/shown in a demo/tested etc
its "Neural Guided Deductive Search" or "Neural Guided Decision System"
not next gen
i can explain most things in patterns, perks of studying mathematics
ok do it
i wonder if the plan here is to just train a single network that maps (game state) => (game s tate)
you know why i figured out what its called
Synthesizing user-intended programs from a small number of input-output examples is a challenging problem with several important applications like spreadsheet manipulation, data wrangling and code refactoring. Existing synthesis systems either completely rely on deductive logic techniques that are extensively hand-engineered or on purely statist...
because it exists
aha, there it is
now who's trolling
still you i think
this is a technique for synthesizing a function based on some input -> output pairs
theres also this
https://arikpoz.github.io/posts/2025-03-30-how-to-make-your-neural-network-run-faster-an-overview-of-optimization-techniques/#:~:text=Since lower precision numbers require,a larger âteacherâ model.
https://www.researchgate.net/publication/385073774_A_Comparative_Analysis_of_Decision_Trees_Neural_Networks_and_Bayesian_Networks_Methodological_Insights_and_Practical_Applications_in_Machine_Learning
Introduction
Neural networks are becoming increasingly powerful, but speed remains a crucial factor in real-world applications. Whether youâre running models on the cloud, edge devices, or personal hardware, optimizing them for speed can lead to faster inference, lower latency, and reduced resource consumption.
In this post, weâll explore v...
notably, this does not mean that you can abruptly start solving problems in constant time
constant time doesnât sound like instant compilation
it's a conceptual leap
not instant just predictable and scalable
I predict your next message will contain nonsense
youâre predictable too
idk about scalable though
one of the nice fallouts yesteday was that i dont need to rely on a hugely complex NN to evalute a hugely complex model - the arch solves that challenge also
yes
does your own graph not disprove this?
no because accuracy =/ 100%
so its not different than any other neural approximation
where its lossy to begin with
i should point out that the major speedup described in this article is compared to existing program synthesis tools
the mismatch in my demo is due to the presence of a NN but that's because it was convenient not because it's fundametal to the architecture
so youre basically saying "Dont judge my blueprint by the house I built to show you because I built the house out of cheap materials just to get it done fast"
you could get varying truth agreements with alternative implementations but they would all have equivalency - in the math sense
so convergence, stability, deterministic
if you want to prove anything to anyone youre going about a very terrible way of doing it.
If you have a mathematical proof that 1+1=2, you dont show people a graph where 1+1=1.92 and say "I just used a cheap calculator for the demo." You show them the proof.
has any of this actually been peer reviewed in any capacity?
you decided not to share the code and want us to take your word on it but so far you have snown no actual evidence other than a graph that contradicts what you say
youre either at the peak of dunning kruger or you have a terrible academic mentality
accuracy in a gaming engine is the combination of the linear dt engine and the error check -the engine alone is not perfectly accurate
floating point, texture collide etc.
you're going back to word salad
so my accuracy mirrors that of the pre-error validation state
because theres nothing to actually say
the only thing that matters now is actual evidence of this working
(and the entire point of this paper is to learn functions that do not already exist)
a peer reviewed published study
and the mismatch in my demo is because i called a NN
otherwise its just random rambling with 0 evidence
nothing on earth is perfectly accurate. As is nature.
your demo isnt even perfectly accurate
i'm unclear how the technique described in the paper here even relates to what you've demonstrated, since you appear to just be training a neural network
i could use an alternative to NN but really for the DT it is the best choice
other approaches would exhibit convergence and stability but limit required variability
the NN train is not in the benchmark script - this is not just a NN train
can yoh share the benchmark script?
heres the timeline i think that happened:
Phase 1: You discovered that you can use a Neural Network to mimic a Decision Tree. You saw a massive speedup.
Phase 2: You assumed that you wer the first person to find this "architectural rearrangement."
Phase 3: When we point out that this is a known, lossy approximation, You doubled down rather than admitting you were looking at an existing concept
wait I think I know the answer to this one... no
with your only valid evidence contradicting your statement
this is my understanding, yes
and your defense being the paradox of convenience
its just this
in fact i would say you should just share the code or the real results without using an NN
because theres no way you are going to be able to patent existing architecture
yes i believe so
good to believe but thatâs not doing
how would you like me to? drop the code here or ...
yes
đ Large Code Blocks
Use links to services like:
https://paste.mod.gg/, https://hastebin.skyra.pw/, https://paste.ofcode.org/, https://paste.myst.rs/
đ Inline Code
Surround code with three backquotes. Not quotation marks.
To format as C#, add cs to the first line:
```cs
// Your code here
```
Add a comment with a line number if there is an error message.
sure
drop it in
discord comes up with 'message.txt' is that normal?
code then
---------------------------------------------------------
1. Synthetic Scaling Decision Tree (for speedup)
---------------------------------------------------------
holy ai
this is also just bullshit.
he is litterally benchmarking a neural networks fixedspeed inference*** against a dummy loop based decision tree
yeah its like lookin outside and discovering the sky is blue
this is basically just sleight of hand
its litterally just a for loop
that just repeats
yeah this is a complete farce
this is what happens when you ask Claude to create something that doesn't make sense
literally impossible to copyright if its all AI btw
lmao this is actually hilarious
you can only copyright parts and whatnot
when i tried running it, it didnt compile instantly. i thought that was one of the goals?
imagine racing someone whos legs you just chopped off
this does not perform program synthesis
and claiming youre faster
this is nothing
thats what this code is doing
at least I got to learn a little more about program synthesis, I guess
i understand your position i can explain the code
i cannot match a 'real' decision tree of 5000 steps to my arch without building one first, so i run a dummy comparison
the accuracy is shown against the built smaller tree and would not deviate if compared to the 5000 step decision one
if you can give me a pre-coded python 5000 step real DT, i'll slot it right in to the code and show you it works
im not trying to copyright this code
I know but also... you cant claim patent protection then
no, this is literally nothing
because it's proof of concept
in the way a draawing of car proves that you have an idea of a car
you are loading a saved Torch model and showing that it takes a constant amount of time to evaluate
oh can you show us the language framework or whatever that you said you had made
This demonstrates literally nothing
this is called "generalization" and doesnt guarantee it will work
you can teach a robot to walk in a small room
but you cant release it into a giant palace expecting it to know its way around
then help me show specialisation
no no, you can teach a robot to twitch its legs
this reminds me of something I experimented with back in grad school
where can i find sucha python tree - i will gladly evaluate one in the code
using neural networks as a form of program obfuscation
not even walking at this point
"I dont have a real invention yet guys so i simulated one using AI to show you how fast it WOULD be if it existed."
the crux of this entire painful convo
this is classic ai bro mentality
honestly i was expecting it to just be a plotting points on the graph manually
đ
this is a more complicated way of doing that!
also this is such a pointless analogy lol
i am fighting the urge to yell 'i will prove you wrong'
please, i am not that person
i believe in this i know it will work
you went from really confident to "guys this is just a proof of concept" really quickly
id rather be a dick than dellusional
go sell your ai snake oil somewhere else.
i have mathematical proofs of the arch - what did you think i would share re the benchmark if i wasn't going to share the explicit code ? ofc it obfuscated!
that's called protection
Claude write me a Python script that compares a slow decision tree to a fast neural network and plots a graph showing a 17x speedup
Claude do it now!
i think we've reached the end of meaningful discussion here
I think so too
You were talking to an LLM that is designed to be a yes-man, compliment and boost your ego not solve actual problems.
this is ai spam, and i don't think it needs to continue any longer
we did figure out what they were trying to tell us earlier though, i think that's why this whole thread happened
Yes, I think this thread is ran its course as well.
https://en.wikipedia.org/wiki/Chatbot_psychosis theres even a wikipedia page for it :)
Chatbot psychosis, also called AI psychosis, is a phenomenon wherein individuals reportedly develop or experience worsening psychosis, such as paranoia and delusions, in connection with their use of chatbots. The term was first suggested in a 2023 editorial by Danish psychiatrist SĂžren Dinesen Ăstergaard. It is not a recognized clinical diagno...
We had similar person on GDN recently as well. They've discovered a language to talk to aliens using ChatGPT...
I'm closing this.
we're just not in the same paradigm huh