Peter0x44

753 posts

Peter0x44

Peter0x44

@peter0x44

Katılım Haziran 2022
103 Takip Edilen27 Takipçiler
Sabitlenmiş Tweet
Peter0x44
Peter0x44@peter0x44·
How virtual calls and vtables work in C++ was a gap in my knowledge that bothered me for a long time. I spent a few months on-and-off researching and writing about this topic, and this blogpost is the result: peter0x44.github.io/posts/vtables-… Please read and spread it around!
English
0
0
3
119
Peter0x44
Peter0x44@peter0x44·
@lisyarus I always want my dependencies to build from source. No downloading binaries. I don't use rust.
English
0
0
0
69
Nikita Lisitsa
Nikita Lisitsa@lisyarus·
@peter0x44 Imo the easiest implementation is wgpu-native, they have pre-built binaries and they have other (non-vulkan) backends
English
1
0
0
490
Nikita Lisitsa
Nikita Lisitsa@lisyarus·
#graphics folks, I'm thinking of modernizing my undergrad graphics course and move it from OpenGL. Vulkan is too hardcore for an introductory course, Metal & DX12 are not cross-platform enough. Wdyt, how deranged is it to use native WebGPU? (maybe even in rust via wgpu)
English
74
4
220
21.1K
Fuggy
Fuggy@CEOofFuggy·
Maybe GNOME should take this as a sign... No, it's the users that are wrong
Fuggy tweet media
English
112
34
938
61.9K
Peter0x44
Peter0x44@peter0x44·
@loopunit @rfleury I like cmake. But saying you're having "antipatterns" by not using it is certainly unreasonable.
English
0
0
5
124
Babe Brussell
Babe Brussell@loopunit·
@rfleury Both your examples were antipatterns. Once you start having to deal with automated testing, wrangling dependencies, and deploying infrastructure, you have to accept some complexity, choose the right tools & not build fragile, bespoke solutions.
English
3
0
5
1.4K
Pirat_Nation 🔴
Pirat_Nation 🔴@Pirat_Nation·
Good news for Windows 11 gamers: Microsoft is quietly working on a major internal plan called “K2” to slash bloat, boost performance, and make the OS seriously competitive with SteamOS. >SteamOS is now the official benchmark, Microsoft wants Windows 11 to deliver identical (or better) gaming performance on the exact same hardware >Dramatically lower idle RAM usage and a much lighter overall OS footprint >Heavy cuts to AI clutter and pre-installed junk >Completely rebuilt Start menu, reportedly up to 60% faster >A ton of other under-the-hood tweaks (faster File Explorer, snappier UI, fewer background processes, etc.) The changes are probably due to make Windows look better on Project Helix and future handheld/Xbox PC hardware. It finally feels like Microsoft is listening people, can’t believe it
Pirat_Nation 🔴 tweet media
English
791
844
15.6K
1.8M
Peter0x44
Peter0x44@peter0x44·
@coconut_jpgg How is this difficult in any way. If you see this screen you already downloaded discord.
English
0
0
0
11
coconutjpg
coconutjpg@coconut_jpgg·
Chat is this really easier than just using the Flatpak?
English
2
0
0
8
Peter0x44
Peter0x44@peter0x44·
@coconut_jpgg Yes. And it uses far less disk space too. You just update it like any other package. Arch is rolling release so you're expected to upgrade somewhat frequently
English
0
0
0
3
Peter0x44
Peter0x44@peter0x44·
@joomy Or just increase your stack size? In any case, this has never happened to me. And I feel you probably should rethink your strategy anyway...
English
1
0
1
852
joomy
joomy@joomy·
my C++ surprise of today: you thought smart pointers would solve your memory management problems? it turns out, if you have a recursive data structure, and a big enough instance of it, the default destructor can cause a stack overflow! (so you need a custom iterative destructor)
English
21
10
264
25.2K
Thour
Thour@ThourCS2·
Microsoft is working on a Windows 11 update codenamed Windows K2 with a focus on improving gaming performance and reducing bloatware, according to @WindowsCentral They are using SteamOS as a benchmark for performance. It will also lower idle memory use and less AI clutter.
Thour tweet media
English
657
956
13.3K
2.5M
Orange Juice 🦏
Orange Juice 🦏@OrangeJuice6391·
@straceX Except VSCode rely on extensions that are not open source. If you use VSCodium you have only libre extensions and thats not at all the same experience lol.
English
1
0
0
773
Peter0x44
Peter0x44@peter0x44·
@xah_lee I think some of these claims are rather hyperbolic and don't reflect reality. "If it hadn't been for the gets routine in C, we might have had no malware" <- obviously untrue Undoubtedly, there's tons of poor design without enough momentum to change, though.
English
0
1
2
124
Xah Lee
Xah Lee@xah_lee·
the C programing language virus, and Cpp. sorry have to repeat this.
Xah Lee tweet media
English
24
6
62
26.5K
Peter0x44
Peter0x44@peter0x44·
@raysan5 snprintf(dest, dest_size, "%.*s", (int)src_length, src_pointer);
English
0
0
1
743
Ray
Ray@raysan5·
Why C compilers can't agree in how a standard C library function should works? ☹️ And better not to talk about strncpy()...
Ray tweet media
English
93
28
627
155.7K
Maxime Chevalier
Maxime Chevalier@Love2Code·
I saw Aron Swartz's blog post from 2004 introducing the markdown format on HN. The comment section is full of cynical assholes. Time has shown that Aaron & John Gruber had a great idea, but lots of people at the time were too dumb to see it. aaronsw.com/weblog/001189
English
13
36
334
24.4K
Peter0x44
Peter0x44@peter0x44·
@Malix_Labs There's no better editor+agent+extension+whatever package as a whole. IMO.
English
1
0
1
36
shellac
shellac@she_llac·
one of the great things to arrive this century will be the freedom to have biological children with any other person, regardless of sexual orientation and gender identity
English
7
0
42
1.1K
Peter0x44
Peter0x44@peter0x44·
this github decline might be terminal
Peter0x44 tweet media
English
0
0
0
37
Peter0x44
Peter0x44@peter0x44·
@PrimeAeon @AzureCrux @ForrestPKnight The year of the Linux desktop is every year for me. And it's every year for the motivated and determined. The ball is discord's court in any case.
English
1
0
1
187
Aeon
Aeon@PrimeAeon·
@peter0x44 @AzureCrux @ForrestPKnight The fact that someone had to document a workaround for one of the world's most popular chat apps is embarrasing already. That's the entire point, if the "year of the linux desktop" is ever to arrive, shit like this must not happen.
English
2
0
5
189
Forrest Knight
Forrest Knight@ForrestPKnight·
> sudo pacman -S discord success! > open discord get hit with this with no way to actually use discord... soo: > sudo pacman -R discord So really there's no point to use the official Discord package since it's unusable for days after every release. Why are you this way, Discord?
Forrest Knight tweet media
English
329
38
1.7K
133K