ɟɟoɥɹǝppıɹ

27.9K posts

ɟɟoɥɹǝppıɹ banner
ɟɟoɥɹǝppıɹ

ɟɟoɥɹǝppıɹ

@hoffridder

dysfunctional programming language developer LANG: en_US, es_ES, da_DK, C/C++, js/ts, WASM, hs/kms Tryna make friends

Chicago, IL Katılım Eylül 2018
733 Takip Edilen1.4K Takipçiler
ɟɟoɥɹǝppıɹ
ɟɟoɥɹǝppıɹ@hoffridder·
@eternalism_4eva @DJSnM Afaik you can still sell it you just can't export it. But yeah it's lame to limit your target market t. My company is selling an ITAR regulated product to consumers
English
0
0
1
86
eternalist
eternalist@eternalism_4eva·
@DJSnM part of me thinks ITAR should have an automatic “void if superseded by globally commercially available products” clause but that incentivizes leaking tech or similar shell games. doesn’t seem like a trivial fix
English
3
0
184
3.2K
ɟɟoɥɹǝppıɹ retweetledi
Glitchbyte
Glitchbyte@0xglitchbyte·
When are we going to stop pretending oneshotting bun’s rewrite was a good idea?
Glitchbyte tweet media
English
36
36
1.3K
121.4K
ɟɟoɥɹǝppıɹ
ɟɟoɥɹǝppıɹ@hoffridder·
@alexeeps Generally I prefer when if statement clauses aren't on same line but this looks good. You might wanna explain what the parameters mean in the comments tho
English
0
0
1
37
alex
alex@alexeeps·
how are we feeling about the formatting
alex tweet media
English
2
0
4
183
ɟɟoɥɹǝppıɹ
ɟɟoɥɹǝppıɹ@hoffridder·
@ced_jayy This is a really old video. I'm pretty sure I remember seeing it on Google+
English
3
0
82
9.3K
Cjay
Cjay@ced_jayy·
they decided to launch a $20,000 agriculture drone from an active road
English
20
276
6.2K
2M
ɟɟoɥɹǝppıɹ
ɟɟoɥɹǝppıɹ@hoffridder·
@kai_fell I think he's talking about large functions where you need to find everywhere it's used. I've been in this situation before and it's annoying not being able to ctl+f. For example, in C if you have to change it to a pointer and you have to change c. to c->, c to *c, &c to c, etc.
English
2
1
7
982
Pat LaVarre at Twítter
@hoffridder > I recently played Pokemon emerald and it's neat to see behaviors that tell you how they implemented things Quick easy to say more?
English
1
0
0
8
Łukasz | Wookash Podcast
Łukasz | Wookash Podcast@wookash_podcast·
I just learned that this style of OO programming is still taught in 2026 that's 200k views, 2months ago, "Rebuilding Pokemon with Object Oriented Programming"
Łukasz | Wookash Podcast tweet media
English
58
3
459
162.3K
ɟɟoɥɹǝppıɹ
ɟɟoɥɹǝppıɹ@hoffridder·
@chickenfender @wookash_podcast I was imagining an API wrapper or something realistic but his example still works ig. class File { int m_fd{-1}; public: File(){} ~File(){close();} int open(const char* path, int flags) { return m_fd = ::open(path, flags); } int close(){ return ::close(m_fd); } };
English
0
0
0
37
ɟɟoɥɹǝppıɹ
ɟɟoɥɹǝppıɹ@hoffridder·
@chickenfender @wookash_podcast It does not matter. The setters are inlined and the getters aren't even implemented. The functions are exported but never called. A normal build system wouldn't export them. Only other major difference is from him incorrectly using multiple inheritance. x.com/i/status/20551…
ɟɟoɥɹǝppıɹ@hoffridder

@wookash_podcast So to clarify, the top lines are just exporting the functions because the compiler doesn't know if you want to link them. I think -flto would remove them. ASM lines 43-50 have the duplicated string initialization. The rest is the same. Notice the setters even got inlined.

English
1
0
0
54
ɟɟoɥɹǝppıɹ
ɟɟoɥɹǝppıɹ@hoffridder·
@wookash_podcast So to clarify, the top lines are just exporting the functions because the compiler doesn't know if you want to link them. I think -flto would remove them. ASM lines 43-50 have the duplicated string initialization. The rest is the same. Notice the setters even got inlined.
English
0
0
0
255
ɟɟoɥɹǝppıɹ
ɟɟoɥɹǝppıɹ@hoffridder·
@wookash_podcast I'm on mobile and limited data so I can't play with compiler flags to get rid of the unneeded function exports but you actually made a common mistake with multiple inheritance that causes the goblin class to have two std::string instances: en.wikipedia.org/wiki/Virtual_i…
English
1
0
6
258
ɟɟoɥɹǝppıɹ
ɟɟoɥɹǝppıɹ@hoffridder·
@wookash_podcast Please elaborate. As someone who primarily writes C++ and occasionally checks compiler output I currently disagree.
English
1
0
2
406
ɟɟoɥɹǝppıɹ
ɟɟoɥɹǝppıɹ@hoffridder·
@wookash_podcast I mean you can write OO code that compiles to what is effectively the same as a non-OO solution. OOP doesn't necesitate using design patterns that are terrible fits for the task at hand.
English
1
0
1
435
Łukasz | Wookash Podcast
Łukasz | Wookash Podcast@wookash_podcast·
@hoffridder So if there are optimal ways, and these are not OOP I would claim „there is something wrong with OOP” xd
English
1
0
7
2.7K
ɟɟoɥɹǝppıɹ
ɟɟoɥɹǝppıɹ@hoffridder·
@varrock For reading level scores I'd blame it on digital media. Anyone around the world with a computer/phone can publish content online and editors got replaced with spell check. If you don't see big words you don't learn them.
English
0
0
0
16
ɟɟoɥɹǝppıɹ
ɟɟoɥɹǝppıɹ@hoffridder·
@wookash_podcast For example, I noticed a lot of things are in static memory and not being dynamically allocated on heap/stack like is common w/ modern development practices. In addition to using less resources it gives features like the menu cursor being where you left it.
English
0
0
1
88
ɟɟoɥɹǝppıɹ
ɟɟoɥɹǝppıɹ@hoffridder·
@wookash_podcast Nothing wrong with OOP but there's definitely a more optimal way to implement this that doesn't involve so many vtable lookups. I recently played Pokemon emerald and it's neat to see behaviors that tell you how they implemented things.
English
3
0
5
3.6K
saul
saul@saulhoward·
If the LLM writes it why does it matter if it’s Rust or Zig?
English
2
0
0
79
ɟɟoɥɹǝppıɹ
ɟɟoɥɹǝppıɹ@hoffridder·
Obviously you'd be able to filter tickets like with GH. Option 2 is nice because it shows clear association that currently involves clicking around a lot and even streamline a some things. But reviewing multiple PRs in a single thread could get messy...
English
0
0
0
49
ɟɟoɥɹǝppıɹ
ɟɟoɥɹǝppıɹ@hoffridder·
Ok so I'm making an alternative to GitHub and I'm considering combining Issues and PRs into a single "Tickets" tab. There are 2 options: 1. Tickets are either PRs or Issues (basically GH) 2. Open a ticket, anyone can respond with a PR in the same thread.
English
1
0
0
84