Good thing I wrote my own game engine using D, and soon there will be 2 (known) games for it.
He/Him | Hu/En/some Jp | ASD | Bi | C/C++/D/C#/Java
Good thing I wrote my own game engine using D, and soon there will be 2 (known) games for it.
In a just world, you could just download ROMs for free.
Now I need two things:
Aaaaand… it’s DMCAd by Nintendo!
I actually got into a fight over suggesting someone to use stock photos instead of grungy-smeary AI generated images for their (sh)articles, so at least I won’t believe it was too AI generated. Then they insisted on it being their own creation, and how they became an artist through words.
https://github.com/ZILtoid1991/newxml/tree/main
This XML parser of mine uses safe by default.
Pointers are not guaranteed to be safe. DIP1000 was supposed to solve the issue of a pointer referencing to a now expired variable (see example below), but it’s being replaced by something else instead.
int* p;
{
int q = 42;
p = &q;
}
writeln(*p); //ERROR: This will cause memory leakage, due to q no longer existing
D has many memory safety features. For local variables, one should use pointers, otherwise ref
does references that are guaranteed to be valid to their lifetime, and thus have said limitations.
That’s why I often recommend D instead.
Has a much more C-style syntax, except much more refined from the years of hindsight. The catch? No corporate backing, didn’t jump on the “immutable by default” trend when functional programming evangelists said for
loops are a bad practice and instead we should just write recursive functions as a workaround, memory safety is opt-in (although “safe by default” can be done by starting your files with @safe:
), some of the lead devs are “naive centrists” who want to “give everyone a chance at coding even if they’re bad people (nazis)”, implementing new changes to the lang has slowed down significantly up until the departure of Adam D Ruppe and the drama surrounding it, etc.
I’m very sad about kbin, I eve told Ernest that I’d volunteer with some admin work and potentially code (even if I despise PHP), but he declined, even when his health went really bad.
The sad thing is, there are other languages better at replacing C/C++ due to closer resemblance, except they’re rarely used due to lack of trendy technology that is being hyped in Rust. D lost a lot of ground due to its maintainers didn’t make it an “immutable by default” language at the time when functional programming paradigm was the next big thing in programming (which D can still do, as long as you’re not too fussy about using const
everywhere).
Peasant uprisings, to take down the kings of today.
Let’s hope we also getting GPU drivers unlike on those cheaper SBCs…
Also web-native apps are a web 2.0 mistake, and lead to the abandonment of many portable GUI frameworks in favor of the “what if your pops didn’t had to install Word Processor, and instead just had to type wordprocessor.com into his browser” idea of some techbro. Do you know why your ÜBERGAMERMOUSE Ultrautility is 250+MB? Because they’re all Electron apps!
Issue with the US is that HFCS is heavily subsidized, and thus added to everything.
Please, just give us back the headphone jacks!
Or let us amputate the legs of techbros (they’re obsolete in the world of cars and electric wheelchairs).
Video game developer here. A lot of anti-optimiation sentiment are just excuses and/or part of some dumb trend.
Oh no, compiled languages require you to choose between variable types! Better use Javascript.
Why should we develop a proper portable app environment when we have Electron? It can even run in browsers. Imagine if you didn’t had to go to your pops to install the word processor, instead he just types in wordprocessor dot app into the browser?
What if code was so easy to understand you didn’t had to document it, and each macroblock of a function instead were a named function, so they’d be automatically documented?
And this is just the tip of the iceberg. I’m currently writing my own scripting VM, as most others have their own limitations, and would introduce a barely usable build system to my game engine (which are their own can of worms). Code as data is a very useful feature, but having to include DLL files as scripts would be very complicated due to platform differences, although also very fast. Issue comes when people treat scripting languages as full-fledged programming languages, and even scaring away beginners from compiled languages, because you have to compile them, you have to choose a type, etc.
Give it another go, maybe join the community Discord server.
There’s some very well going hobby projects, and D3 seems to be inevitable (safe by default, PhobosV3, etc.).