Game developer and artist.

Spoken languages: Hu, En, some Jp

Programming languages: C, C++, D, C#, Java

Mastodon: @ZILtoid1991

Github: https://github.com/ZILtoid1991

  • 4 Posts
  • 38 Comments
Joined 1Y ago
cake
Cake day: Jun 12, 2023

help-circle
rss

“Make your own games!”

“Okay!”

“No! Not like that!”


Yeah, there’s a good chance he’s either a naïve moron that thinks Meta has good intentions, or a techbro that soyfaces at any proprietary technology that has incorporated a trendy technology.


Also GPU drivers.

If you’re mad at NVidia for their closed-source drivers, then remember that ARM seldom makes their Linux drivers available for free, so you have to either have to deal with absolutely no GPU driver while the CPU does the graphics rendering (might not be a big deal on a NAS though), or with open source drivers that are less capable than the Nouveau drivers and even fiddlier to install. The ARM Mali driver issue is so bad I was legit thinking on a solution to run the Android binary blobs (which at least are available by ripping them off from the Android kernel) on regular Linux, a lot of function call redirects would likely take care of that issue.


That solution is janky and slow as hell. I’d rather just embed it into my own software, which is mostly done, except it doesn’t find functions as functions, but as nil value.


D.

It has C ABI compatibility, so it should work. But as others wrote, I might have messed up my Lua script.



Where can I find tutorials on embedding Lua scripting into applications
The official documentation isn't 100% clear on things (why am I getting `LUA_TNIL` for functions?), and the best I can find with some simple web search is kinda relevant stackoverflow (🤮) posts, except they're mostly about calling host functions from Lua side, the rest are things that seem I've nailed so far. EDIT: Solution was that everyone was using `luaL_dofile`, while I was forward thinking and used `lua_load` instead, which isn't a macro, and as such doesn't do an initial `lua_pcall`. Now I do it manually, and now I get different, but less cryptic and actually documented errors. Now I just have to wrestle with D metaprogramming features (very strong and capable, but is a rabbit hole itself).
fedilink

Eventually they will join, but will take a while…


It just takes a bit of time, then people will evetually come to the fediverse.


Install an emulator for her alongside with some roms. Unfortunately, that’s pretty much the only option we have nowadays.




Mine is quite minimalistic, and relies for the D runtime and standard library (or other D libraries) for many things. Also my engine is primarily geared towards retro pixelart games, and works as such. Currently, the CPU renders to a low-res texture (as seen in emulators), which is then stretched to a higher resolution, later on it’ll replaced by custom shaders that do color lookup and render directly to a texture (which is quite complicated, simpler methods would cause easily misalignable pixels, thus defeating the engine’s purpose, even if some likes the “smooth” scaling from other engines).


It’s usually quite difficult, since most other engines use C++, which is pretty different from C# in many aspects. My engine (PixelPerfectEngine - 2D game engine primarily aimed at retro pixelart games, link: https://github.com/ZILtoid1991/pixelperfectengine ) is written in D, which is much closer to C# in a lot of aspects, however my engine is far less capable than Unity, still needs a lot of development, and also has it’s own quirks that make some features inconveinent to implement or add.


Is there any GUI for either GDB or LLDB? Most cases, I don’t think “writing macros to do complicated things” is a path walkable for me, especially as I mostly want to do simple things.


A simple downgrade solved the issue, but regardless of that I’ll try to look into some alternatives, especially since VS has licensing issues, which is fine for me as I use it for open source projects, but might not be fine for others who would use it for closed source projects, and I made my open source engine in a way it allows for be used in closed source projects.


I’m looking for a debugger for Windows after the Visual Studio one no longer works for me
After a software update, VS2022 stopped working correctly. When I hit a break point, I don't get any local variables and their values, instead I get a "wait..." label that looks like a button, and also VS is growing in memory size until it crashes my Windows, or I either stop the debugging or VS itself. So far I get the best results by using x64dbg, but it has it's own issues, namely that almost all guides only discuss its reverse engineering capabilities, and I need a development tool, so I don't have to rely on printing to the console as debugging, which has a lot of issues (leaving in the print commands, etc). I'm programming in D, but it should work with any other debugger made for C, and up until recently I used VS for that purpose.
fedilink


Use google to mean “web search” in general!

Let them loose their trademark over the name google by generalization!


I used to flex on other programmers by telling them I code in D. Nowadays they tell me to try Rust instead. (D is still better IMO, especially with no const by default, which isn’t always convenient, especially for stuff negatively benefiting from functional programming.)


Linux doesn’t have a standard file extension for executable files, and that wouldn’t have been good for this meme.


As long as you don’t check the task manager.


In the short run, yes. In the long run, this just makes a bunch of coders that are now afraid of type declarations, because they were scared away from it with the “what if you have to choose?” tagline, thus making turning back to the proper way of doing things harder.


I have a few suggestions:

  1. Better education. Don’t scare people who’re learning programming away from the lower-level stuff, especially as people are even getting scared to use type declarations, not just the pointers (of which I was fearmongered with in college, as they told me Java is the future).
  2. Better portable APIs. Thanks to WebAssembly, one could easily have both something portable in a web browser and as a native desktop app, except instead we get browsers running said applications. I had some thinking about such a project, but then I remembered my iota project (a D-native replacement of SDL/SFML/GLFW, but without bloat by including standard library features), and then stopped thinking about it immediately, since a much smaller project already causes me too much headache. (Someone has a handy guide on win32 API? I have issues on getting certain messages produced, like input language change, and I don’t know if I glimpsed over some functions that enable them and just weren’t included in the documentation of the input language change event codes.)

And the app is just a chromium browser without the ability of typing in your own URL.



Wait until you meet with Javascript and WebAssembly viruses!



Those are not femboys, but doggirls.





  1. Work of art no longer sold.
  2. Creator(s) and/or production company involved with the making are garbage human beings.
  3. You don’t have money and you don’t just want to stare the ceiling.

I’m a D developer, and D is so far the best language I’ve tried. It has very powerful meta programming capabilities, looks much nicer than Rust, and supports multiple paradigms. My main gripe is the lack of libraries, but it’s pretty easy to either write your own, or a binding to a C or C++ one. I wrote a couple of my own libraries, and I’m currently writing my own replacement for SDL, called iota, and I aim it to be a smaller version of it (e.g. not including things into it that already exist in the Runtime and Phobos).

I really like multi paradigm programming, as most programming paradigms are good at a select few things, while over-complicate others.


No, gen Z C++ requires you to type fn for every function, weakly typed (type systems are scary), and every value is constant by default (variables are super scary and bad).


Yes, but also capitalism must be too abolished for it to work. At best we would just have the current big media corporations technically asset flipping smaller creators, at worst corporations just could use private armies to enforce their copyright.


Will Russia enter its Balkanization arc?


I think an option for full data deletion would be nice for those who want it, otherwise people should also expect others recording their data, which can be published later on.


I’m not against corporations wanting to set up their own instance for their own employees for them to interact with the Fediverse. I’m against data-collection, targeted advertisements, and corporate control.



Finally, a good utilization of AI art. (Really hate spammers)


I currently use Tidal. Lacks some of the DnB albums I liked on Spotify, but at least has proper audio quality.