[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


Janitor applications are now open. Apply here!


[Advertise on 4chan]


File: c_floor.png (1.74 MB, 1600x900)
1.74 MB PNG
What are you working on, /g/?

Previous: >>108971267
>>
Fuck tranime
>>
No one tell him
>>
File: 1757281952272415.png (369 KB, 648x648)
369 KB PNG
the more I learn about programming the more retarded I feel, it's literally the tip of the iceberg and brainless as fuck to be able to make applications using existing languages. all of the actual geniuses that know how to code are working on frameworks, libraries, and compilers to optimize our dogshit code and actually make them work behind the scenes.
>>
>>108993855
All of the actual geniuses that know how to design processors are working on branch prediction, pipelines, and cache to optimize our dogshit compilers and actually make them work behind the scenes.
>>
>>108993855
Well as the Japanese say, if you don't feel competent in your work, you're doing it right.
>>
>>108993930
The japanese also say if you're the one sleeping with your wife you're doing it wrong
>>
>>108993855
The more you learn, the more you realize how much you still don't know. I'm learning OpenMP right now, and I swear I keep running into the same basic issues over and over again.
>>
>>108993885
The real geniuses are way below all that, down at the transistor level, tweaking layout, sizing, and electrical characteristics just to compensate for our shitty digital designs and actually make them work behind the scenes.
>>
>>108993942
No the Japanese say if your wife is only sleeping with you, she is either lying or very ugly.
>>
>>108993813
Then why are you here?
>>
>>108994133
don't tell me what to do you tranny.
>>
File: poop.png (233 KB, 1284x904)
233 KB PNG
>>108993948
i just finished the chapter on semiconductor devices in my microelectronics book
now i'm ready for the digital circuit design part
understanding MOSFETs is prerequisite for PMOS/NMOS/CMOS circuits. i have a VLSI book on CMOS that i'm about to rip into
understanding BJTs is prerequisite for understanding TTL beyond a superficial level, which i'm excited about too

>>108993885
and to complement this, i broke my FPGA dev board out again and am working through defining a soft core processor with peripherals that i will target with a C program, cross compile, and then download into the FPGA along with the gate configuration

the whole point is to realize a tile-based graphics digital logic design i put together as a digital circuit, first in FPGA form and then perhaps using TTL. the design is somewhere in power between the NES and SNES, closer to the latter. i've been working on this the last few months, the last thing i put together being a browser-based emulator to verify and evaluate the digital logic.

it's been a fun project. haven't posted anything on it in a couple months because i've been spinning up the next steps.
>>
>>108993855
Nah they don't. Once you realize just how much poorly abstracted userspace garbage there is you realize that they are all fucking autists who objectively deserve to be turned into food.
>>
File: IMG_8558.jpg (316 KB, 1146x1200)
316 KB JPG
>>108993813
>>
>>108994322
is it an ebook? if so where did you get it? anna's archive and libgen suck nowadays and I need to download a lot of textbooks
>>
File: poop.jpg (31 KB, 375x475)
31 KB JPG
>>108994864
mostly hardcover texts:
Microelectronic Circuit Design, by Richard Jaeger (found at used bookstore)
Principles of VLSI CMOS Design - A Systems Perspective, by Neil Weste and Kamran Eshaghian (stolen from last workplace)
Embedded SoPC Design with Nios II Processor and VHDL Example, by Pong Chu (bought from amazon)

the FPGA book is out of date, but I'm using is as a guide to figuring out the more recent Quartus tooling and work flow in conjuction with Altera's online documentation
i'm supplementing Jaeger with The Art of Electronics of which anyone can find a pdf online, but it's scared of offloading math onto its reader, which i don't like
>>
>>108995082
thank you anon
>>
File: 1766826801082327.png (16 KB, 539x81)
16 KB PNG
>4 state dp
>>
File: 1771041515148027.png (256 KB, 1715x1097)
256 KB PNG
I solved https://leetcode.com/problems/total-waviness-of-numbers-in-range-ii/ but I had to have claude walk me through all of it because I couldn't understand any of the blogposts online

digit DP is exactly what you expect, it's like backtracking in that it builds an "array" of the current digit prefix in memory and then based on the conditions applies the computed result to all subsequent numbers you can generate with that prefix.

so
[1,2,3,4] -> [1,2,3,4,1], [1,2,3,4,2], [1,2,3,4,3] ... etc

//if state is true at prefix [1,2,3,4], then it's true at every following number built off the prefix
let (nextState, numsMadeFromPrefix) = dp(idx + 1)
totalState += nextState + (isStateValidAtPrefix * numsMadeFromPrefix)
totalCount += numsMadeFromPrefix


maybe I should've gone into healthcare instead of computer science
>>
>>108995874
You will never have to use algorithms like this in your entire career. Stop doing it.
>>
>>108993808
Learning C for system dev still worth it as a NEET in 2026?
>>
File: 1772858434135144.png (672 KB, 809x900)
672 KB PNG
>>108995877
we should all aspire for greatness, for greatness's sake.
>>
>>108995899
jeetcode is not greatness
>>
>>108995896
Yes. Fundamentals always matter
>>
File: 1767086269395134.png (101 KB, 326x206)
101 KB PNG
>>108993808
those who know:
>>
>>108995877
>solved 99% of my DSA questions into my projects by #include <sys/queue.h>
>>
>>108995917
Well, should I learn Rust when I grasped most syscalls and most of the low level concepts? Why is C only ”fundamentals” for you? A bit vague imo
>>
>>108996035
stay away from Rust
>>
>>108996035
>most of the low level concepts
List them.
>>
>>108996035
Use Rust and obey all the compiler warnings.
>>
>>108996046
Sure, at the top of my head:

Caching (optimization, aligning addresses to word size)
Bit twiddling hacks, (packing when necessary)
Trampolining code
Callbacks
Low overhead vs high overhead thinking (invoke syscall directly)
>>
>>108996091
>no SIMD
>no ABI limitations
>no implementation limitations inherited from interface limitations
>no allocation grouping
>>
File: 1753309857337640.png (141 KB, 684x1220)
141 KB PNG
https://leetcode.com/problems/create-binary-tree-from-descriptions/
>>
>>108993808
Did Rustle end up going blind?
>>
>>108996101
Most of that is handled by the compiler or not used directly in code. Only thing I missed on was SIMD which is fairs (as a concept).

>ABI limitations
Be specific here. You read the manuals for that, eg System V or Windows ABI.
>no allocation grouping
>no implementation limitations inherited from interface limitations
Already inferred that via mentioning invoking syscall instead of c lib wrappers.
>But you didn’t mention a memory pool or arena!
Well, allocation is smart on linux/unix, and brk or sbrk already implements an arena. You can always implement ur own in Windows via relevant win/ntapi.
>>
>>108996158
>Most of that is handled by the compiler
Wrong, and you'd know that if you had ever actually looked at compiler output.
>>
>>108994311
Generally the people who go to places themselves are usually the trans one.
>>
>>108996161
You don’t know what a syscall is, and that’s fine coming from a webjeet.
>>
>autist projecting his retardation onto others
It's REALLY like they cannot help themselves, they HAVE to clock themselves, it's like one of those unwritten rules they desperately cling at.
>>
>retarded brainlet thinks the compiler wont optimize away his low iq code
>B-but i’m smarter than the compiler
>>
>projecting autist believes reddiots
>>
>brainlet jeet believes reimplementing what the compiler would optimize his code to, is actually him optimizing it.
>has never heard of godbolt
>>
>Smooth McGroove shits beats out of his mouth in an act of self-sacrifice to enhance gaming music.
>>
>still believes what some reddiot told him once
>>
>his understanding of optimization
>I can allocate on the stack instead of on the heap, wow!
>>
>projecting autist makes up strawmen
>>
>projecting autist, projecting
>>
>projecting autist projecting his projecting autism onto others
>>
>lots of ad hominem fallacies in the """smart""" board
>>
>projecting nocoder incel has never opened a code editor and only browses 4chan
>>
>autists are """smart"""
OK, that one made me laugh.
>>
File: 1780803733011631.png (169 KB, 1149x1055)
169 KB PNG
Factorio schizo is having another meltdown.

Anyway my next project when I finish stringy is going to be unreal.
>>
>STILL partial register write without XOR or MOVZX
ngmi, but then again so do most autists
>>
File: 1780803992173339.png (60 KB, 764x420)
60 KB PNG
>>108996701
>>
>wake up
>want to hustle real hard
>The autists are fighting again about who is the worst autist
fucking autism
>>
>>108996716
>write only to lower 8 bytes
>read only from lower 8 bytes

What the problem is?
>>
>>108996728
Haven't I already told you? Or do you need me to explain how RATs work?
>>
>>108996728
Your code doesn't use the maximum amount of cycles. How do you want your users spend more time on the platform if it just works, is fast and they get their shit down asap? use more instructions
>>
>is fast
See, this manipulation stuff is why normal people consider autists psychopaths.
>>
File: rcKbt9my_WI-HD.jpg (65 KB, 1280x720)
65 KB JPG
>>108996745
https://www.youtube.com/watch?v=rcKbt9my_WI
>>
>>108996768
>famawii
I prefer Dawkness
https://www.youtube.com/watch?v=PVYP4Ygqnyk
>>
>>108996768
Sorry, don't care enough to enable Javascript for Jewtube.
>>
File: e0CvSsmLW-E-SD.jpg (26 KB, 640x480)
26 KB JPG
>>108996776
Are you paying attention?
>>
>>108996807
>"They say most of your brain shuts down in cryosleep, all but the autistic side..."
>>
File: 1780805696538486.png (87 KB, 782x623)
87 KB PNG
So what's the point of the sub 32 bit registers?
>>
>>108996849
Zero bit.
https://lock.cmpxchg8b.com/zenbleed.html



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.