Enhex

639 posts

Enhex

Enhex

@Enhex

Working on new compiler technologies https://t.co/bbvEdJLpwY

가입일 Kasım 2013
51 팔로잉111 팔로워
Enhex
Enhex@Enhex·
@cmuratori @fernandp maybe put that code in a separate compilation unit and use that flag can work?
English
0
0
0
75
Casey Muratori
Casey Muratori@cmuratori·
@fernandp "Selectively" being the key here :) I agree you can turn it off for an entire CU.
English
1
0
4
1.1K
Casey Muratori
Casey Muratori@cmuratori·
Is there any way to selectively disable SLP in CLANG? It seems to really really want to SLP even when you disable vectorization for a loop: godbolt.org/z/TY9q9Gq1v
English
5
0
65
14.8K
Enhex
Enhex@Enhex·
@ID_AA_Carmack perhaps you can DIY speakers by connecting wired speakers to an SBC to use WiFi instead of BT. or maybe there are commercial speakers that support WiFi.
English
0
0
0
33
John Carmack
John Carmack@ID_AA_Carmack·
When you stream Spotify to Bluetooth speakers or headphones, the audio comes over the network lossily compressed with Vorbis or AAC codecs, is then decoded on your device to 48 Khz raw samples, then the Bluetooth stack lossily re-compresses it with SBC or AAC codecs before sending it over the airwaves to the speakers. I don’t have “golden ears” to pick apart audio quality like I can with, say, missing gamma correction on texture filtering, but that still hurts my system optimization soul. It is likely over-optimization, but It would be cleaner if there were a way to send bluetooth-ready, compressed audio directly.
English
274
247
5.8K
440.9K
Enhex
Enhex@Enhex·
@Love2Code i wonder if 3D modeling non basic shapes (humans, monsters, etc) with SDF isn't practical
English
1
0
1
372
Maxime Chevalier
Maxime Chevalier@Love2Code·
I'm building a toy game engine based on Signed Distance Fields (SDFs), inspired by Mike Turitzin! 🔧
English
11
10
341
21.3K
Enhex
Enhex@Enhex·
@rfleury ... instruction cache friendliness. i dunno if it applies to your specific debugger case.
English
1
0
0
144
Enhex
Enhex@Enhex·
@rfleury better solution than base class pointers: store each derived class in a separate container so you save memory per instance, improving cache utilization. if possible you should process each derived class's instances as a batch, eliminating branching and for ...
English
1
0
0
172
Ryan Fleury
Ryan Fleury@rfleury·
TEAM FAT STRUCT
Ryan Fleury tweet media
English
26
8
571
27.4K
Adriksh
Adriksh@Adriksh·
writing C++ is fine but configuring cmake is a genuinely traumatizing experience
English
126
85
2.2K
73.2K
Enhex
Enhex@Enhex·
@lemire maybe only use things AI can't be used for like in person tests
English
0
0
0
17
Daniel Lemire
Daniel Lemire@lemire·
How do you teach programming in 2026? I have been teaching programming professionally for two decades. It doesn’t work anymore. I now consistently catch students who produced good software during a 15-week course be unable to write a simple loop at the end of the course. « Just forbid AI. » You can’t put someone in a cage for 100 hours and force them to program without AI. We need to change the whole approach. Maybe go AI first. 🤖 This means MUCH harder homeworks.
English
293
25
483
78.9K
jewelzndrugs
jewelzndrugs@jewelzndrugs999·
@Love2Code please compress the video video a little more i can almost make out a single letter
English
2
0
4
1.4K
Maxime Chevalier
Maxime Chevalier@Love2Code·
I think I found a faster, recursive algorithm to render Signed Distance Fields (SDFs) more efficiently using less samples. Here's a video with a short explanation. As far as I know this is novel? Curious to hear your questions/feedback.
English
29
26
462
42.4K
джинн-хтоник
джинн-хтоник@robokoteg·
@Enhex @lauriewired @AgustinLebron3 I don't know C++ (apart from the basics). But all of the experienced, productive developers who are well versed in C++ and some other languages unequivocally tell that C++ is a broken retarded shit. One of there friends wrote a book on UBs in C++.
English
1
0
2
76
Agustin Lebron
Agustin Lebron@AgustinLebron3·
C++23 is the answer to the question: "What if you put nice features in a language, but did them in the ugliest conceivable syntax? You know, because of backward compatibility or something."
English
25
14
581
35.9K
Enhex
Enhex@Enhex·
@lauriewired @AgustinLebron3 i never heard a concrete real example for something bad in C++ from its haters. vast majority of them are parroting "C++ bad".
English
1
0
8
615
LaurieWired
LaurieWired@lauriewired·
I think flat_map was a very nice addition. More cache friendly map option. Personally I think it's very nice that the syntax is still the same as all the other containers. I basically don't have to learn new syntax to be able to add the latest and greatest containers to my repertoire
English
2
1
130
11.5K
Jonathan Blow
Jonathan Blow@Jonathan_Blow·
@wookash_podcast It's been 1-3 years since people have been saying this stuff. If they have 10x'd their productivity, that is 10-30 years in traditional developer time. Where is all the softwares that should have been produced by this massive productivity increase?
English
67
85
1.7K
53.1K
Łukasz | Wookash Podcast
Łukasz | Wookash Podcast@wookash_podcast·
> And i just feel so horribly guilty and wrong because i am not getting the results of "everyone else on twitter." It kinda feels like "everyone else on twitter" might not be perfectly honest with their results
ThePrimeagen@ThePrimeagen

Alright interns, we need to have some real talk here I am tired of vibing on stream. I dont really like vibe coding unless its a tool i have no desire to build (how i manage things on my stream / how i write my youtube videos are great examples of things i would never build but i have). I dont like vibing the things i care about. I hate the code it generates, i hate the feeling of getting everything i ask for and nothing i want. I hate the subtle offness around vibe coded things. It is just driving me nuts. So for the next while i am going to be done vibing on stream. I genuinely have been trying my hardest to make this work and i cannot quite put a finger on why i hate it, but i do. And i just feel so horribly guilty and wrong because i am not getting the results of "everyone else on twitter." How am i, someone who prides themselves on making youtube videos that i think are actually good for people. To make videos that help people laugh at the silliness of tech or learn something new. But here i am not able to keep up with all these people claiming the sky is literally coming down. I just feel horrible and guilty about it. Now i know the world is changing fast, and i want to be able to understand that change super well, be able to talk about it, be able to give really accurate opinions about it so for the last 3 months i have vibe coded an absurd amount of things. But now... i am just tired of it. I dont want this any more. I want to be a tradcoder. I dont know why i told everyone this, but i just have this growing sickness that is just eating me alive around vibing and i dont know how to express it. You all are fired, CEO ThePrimeagen

English
28
25
1.3K
81.7K
Enhex
Enhex@Enhex·
@ForrestTheWoods be the change you want to see in the world. shouldn't be too much work i assume.
English
0
0
2
426
Forrest Smith
Forrest Smith@ForrestTheWoods·
Are there any doc generators for C++ that are absolute garbage? I hate Doxygen with a firey passion. The comment syntax is bloated crap. The website is ugly garbage. RustDoc is great. I want that for C++. And also Python. That seems like a reasonable ask! Suggestions?
English
11
2
38
6.5K
Ari ࿗
Ari ࿗@Pretentious_A_·
@Enhex @midnucas @lauriewired @ChShersh Still not technically MISD because only one instruction. Also FMA has (technically) temporal dependency even if you reuse the same operand. Which in an abstract way is no different than a systolic array type design I guess.
English
1
0
1
31
Dmitrii Kovanikov
Dmitrii Kovanikov@ChShersh·
SIMD actually means “Single Instruction Multiple Data”??? It all makes sense now.
English
28
2
333
58.3K
Enhex
Enhex@Enhex·
@midnucas @lauriewired @ChShersh you can categorize instructions that do multiple operations like fused multiply add and passing the same variable in multiple operands as multiple instructions single data
English
1
0
2
241
Enhex
Enhex@Enhex·
@ChristerEricson even if it works keep in mind when you're using it you're sending your code to the biggest copyright infringers in history.
English
0
0
0
47
🙊Christer Ericson
🙊Christer Ericson@ChristerEricson·
The best programmers I know swear that Claude Code et al have transformed how they code. Tests + prompting is key. I 100% believe them. But: does it work cuz they’re super engineers, who prompt towards proper architecture and solutions? Can lessers guide AI as good as them?
English
13
0
13
3.3K
Michael A. Arouet
Michael A. Arouet@MichaelAArouet·
Wow, this is probably the most eye-opening chart you will see today. With profound consequences for our societies, future and prosperity. Can someone please explain how this happened?
Michael A. Arouet tweet media
English
608
335
2.7K
373.5K
nitzu 🫧
nitzu 🫧@nitzukai·
why is the mouse industry so fucked up? why can't I find a mouse that: - does not look like a RGB gaming rig - doesn't have a ton of buttons on it - is wireless - has a good build quality which doesn't have a scroll wheel that dies within 2 months - is not MX Master
English
1.6K
170
10.9K
758.3K