Teisybe

I tinker with hardware, poorly reverse engineer software and write C++

2025-02-18

@jakub_neruda so, std::embed (still not accepted into the standard) or it's cousin #embed on C

2025-01-29

@aurisc4 Nu, tada tik užuojauta pasiūlysiu :D Pas mane didžioji dalis tokių problemų dingo kai pradėjau naudot Cmake preset'us. Protingai pavadinus build targetus sunku kažką ne to pasirinkt.

2025-01-29

@aurisc4 Cmake naudoji?

2024-09-27

@neuroexception Eh, a plain old hosting with a static site generator is pretty secure and gets the job done

2024-09-25

@cerberus1746 struct is public by default, class is private by default. I personally use only structs, as I prefer having my public member functions above private member variables, so it saves one line (not having to write public after class).

2024-09-19

@vitaut OH hell yes!

2024-08-29

@hyaniner Don't do this, it's UB

2024-08-02

@simontoth Thanks for all your work! Reading your Daily Bites was fun.

2024-07-31

@csepp Good job! Keep going! You will start recognizing more and more patterns as time goes on

2024-07-22

@aurisc4 also, for the love of whatever you believe in, turn on warnings. Use sanitizers, static analysis. There is so much help out there that ensures your code is correct. Use it.

2024-07-09

@meetingcpp currently half way though it, it's really really good, highly recommend!

2024-07-03

@codeDude what's the world coming to. What next? Surgeons needing to know how to do surgery? Drivers knowing how to drive? Pilots knowing how to fly?

2024-06-04

@LawnMeower Please don't!

2024-05-16

@zig_discussions Hate to be the guy, but this is a very trivial example. This isn't even C++, because it is marked as `extern "C" `, so no name mangling, which means this is basically a pure-C example. Is Zig capable of interoperating with proper C++? I'm talking about stuff like overloaded functions, templates, coroutines, standard library types (std::string, std::vector, std::array and the likes)? What about exceptions?

2024-04-15

@sofia My personal and very limited experience with Ghidra: tried REing a game that was available for x86 and PPC (PC, Xbox360, PS3) and well - it didn't help that much. Some stuff was easier to recover due to console-specific APIs (decompression of game assets, some filesystem stuff, etc), but overall - the tooling is not there IMO. X86 had far better decompilation results. PPC required more manual effort.

2024-03-20

@ThinkingSapien Oh dear....

2024-03-02

@CodingThunder Well, Bjarne is correct here

2024-02-26

@AppleJuiceNerd I know this seldom applies to gamedev, but try writing tests! They are a form of feedback and can be a morale booster. And hey, you get more robust code as a side effect :P

2024-02-13

@DiegoCrespo Yeah, it was very usable and it was pretty decent all things considered. Time went on, lessons were learned, improvements were made and what we have now is better

2023-12-02

@simontoth Ranges! Finally got a chance to play with them properly during first two days of #adventofcode

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst