[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / 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
Subject
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]


[Advertise on 4chan]

[Catalog] [Archive]

File: welcome_poland.jpg (36 KB, 700x244)
36 KB
36 KB JPG
It's gonna get worse.
Microsoft replaces all Windows code (it might be named Windows 12 by then) with Rust.

Windows was written with C/C++. They want to replace those lines with Rust.

https://www.thurrott.com/dev/330980/microsoft-to-replace-all-c-c-code-with-rust-by-2030

Microsoft plans to eliminate all C and C++ code across its major codebases by 2030, replacing it with Rust

>using AI-assisted, large-scale refactoring.

"Goal is to eliminate every line of C and C++ from Microsoft by 2030," Microsoft writes in a post on LinkedIn.

"Our strategy is to combine AI and Algorithms to rewrite Microsoft's largest codebases. Our North Star is '1 engineer, 1 month, 1 million lines of code.'


Comment too long. Click here to view the full text.
>>
>>107641134
Why are people rewriting every codebase in Rust again?
>>
>>107641148
Because Rust is the language of the future.
>>
>>107641148
>>107641180

Linux is also on the process of getting remade in Rust
>>
>>107641180
Yeah but why is Rust the language of the future, do you even know?
>>
File: shrug.jpg (71 KB, 384x313)
71 KB
71 KB JPG
>>107641223

File: file.png (3.68 MB, 1920x1080)
3.68 MB
3.68 MB PNG
Everything is already from China, but here we discuss the cheap chink shit you see on various sites.
1st rule of /csg/: If it looks too good to be true, it probably is.

Useful links
>TWS IEM reviews: www.scarbir.com/
>Guide: csg-guide.neocities.org/
>Wiki: https://igwiki.lyci.de/wiki/Chink_Shit_General

>What headphones/earbuds should I buy?
>>>/g/iemg
>I want a cheap smartphone what should I buy?
>>>/g/spg/
>I want to buy some sort of emulation device
>>>/vr/hhg/


Comment too long. Click here to view the full text.
147 replies and 41 images omitted. Click here to view.
>>
https://www.theguardian.com/world/2025/dec/22/kimchi-south-korea-national-dish-priced-out-china-export
Even South Korean food is chink shit now.
>>
I'm getting a new-to-me car soon and looking for recommendations for a dash cam system
>>
>>107639974
I use Akko 5075S. Doesn't have insert (hell yeah)
>>
>>107640644
Isn't that a completely different dish? That's like if tortilla replaced naans
>>
Should I order things right now that the current Brand Days sale is applicable to or chance it and wait for whatever sales event is starting on the 26th?

File: Crop.png (468 KB, 1518x684)
468 KB
468 KB PNG
>mpv constantly gets shilled
>"aight I'll try it"
>see picrel
Yeah nah, I'll pass.
103 replies and 26 images omitted. Click here to view.
>>
>>107635155
I can't imagine still being being proud of watching cartoons as an adult, I refuse to believe this tranny is above 18, for his sake
>>
File: 1763270996941082.png (2.25 MB, 1920x1080)
2.25 MB
2.25 MB PNG
>>107634402
there isn't a good wrapper for windows
thankfully, it's easy enough to make vanilla mpv cozy if you aren't retarded
>>
>>107641035
but anon is retarded, now what do
>>
>>107636704
It plays fine on mpv
>>
>>107641181
looks like you have to pay the retard tax (paying for streaming services)

File: 1756543769703626.jpg (142 KB, 800x600)
142 KB
142 KB JPG
i want to go back
11 replies and 4 images omitted. Click here to view.
>>
File: 1766248669478921.png (187 KB, 432x533)
187 KB
187 KB PNG
>>107640104
skeuomorphic boomerslop vs just werks digital native
>>
>>107640000
Just use Wacup, and find a skin on the winamp skin database dude
>>
>>107640104
ow
>>
>>107640000
i miss my aim progz
>>
> no you don't you just loathe for nostalgia
get with the time boomer

File: incr.png (48 KB, 449x981)
48 KB
48 KB PNG
/dpt/ - Daily Programming Thread

Welcome to the Daily Programming Thread. What are you working on, /g/?
Previous thread: >>107575071
118 replies and 18 images omitted. Click here to view.
>>
i am writing erlang and i am having fun. rip Joe
>>
>>107640009
>you should have a permissive parse actually, the semantic passes have more hope of emitting descriptive error messages than just syntax errors
I completely agree. There are 2 kind of minimal syntaxes: the highly composable and permissive one, and the unnecessarily restricted one. I assumed it was the 2nd one for some reason.

Sometimes the badly complex grammars incorporate semantic rules directly in the grammar rules. For example in C, where you can't put function or type definitions in function bodies. That's bad. The grammar become complex and bloated for no reason because all this stuff is not hard to deal with during name resolution.

It can also be useful to have a very permissive syntax for macros or for the type system.
For example, you might want to pass a conditional statement/expresson or a while loop as argument to a macro call, in order to construct a function definition. For that you need to parse while loops as expressions. This mean you can write non sensical things in the language such as 2 + while (1) { ... } that will parse correctly but this is trivial to reject a program like that by the type checker if you assign the type void (or similar) to while loops

Concerning types, it's useful to be able to put arbitrary expressions in grammar rules relating to types so that you can maybe have dependent or refined types later. Or for compile time stuff, debugging stuff, reflection stuff, etc..
>>
>>107638916
Thanks anon.
I'll need some way to disambiguate between a function name and parameters, otherwise there's simply not enough information in the parser to tell what's a function name and what's a parameter.
I could try doing something insane like attempting to pattern match until I'm left with a single token in the LHS, but that gets ambiguous and expensive quickly.
With regard to output statements, my language will work differently than most. It doesn't have an explicit execution order. It will have "when" statements that run code when dependencies are satisfied.
tmp =
when true add out 1 2
when out print out

Because of this, explicit output statements don't work well. I could have a return keyword and use "when" to pull values out of "return", but that kind of breaks the code flow in the case of multiple possible return types, which is something I do want.
This lets me do cool stuff with hot reloading and reactive programming. It'll be more like programming excel than C.
>>107640461
I'll want to have dependent types in my language. For example, the language could automatically memoize a recursive fibonacci sequence by defining an overload with the specific input number at runtime, eventually assisted by a bytecode JIT.
So my goal is to have the base language be as minimal as it needs to be in order to be fully expressive and composable, if that makes sense.
>>
>>107641076
*implicit output
>>
https://4graphs.netlify.app/?threadpath=g%2Fthread%2F107627055

File: methoda.png (18 KB, 1000x1497)
18 KB
18 KB PNG
why are so many programming "help" groups like this? like, somebody will specifically opt into helping people, and then get frustrated when they dont do exactly what they expect. it constantly feels like im testing everyone's patience whenever i ask for help and its even harder trying to just learn everything myself, especially considering all the weird semantic differences in both the language itself and guides.

like i can imagine a full script in my head but i wouldnt know how to translate it into the language im currently using. and on the offchance that i *do* get the help needed, usually its just "oh just use the blah function", so its not like i just Dont Know How To Code or anything i just dont know the shit thats specific to the engine, and its not like i can just look it up in a glossary or something because the words can be totally different from language to language, like how "object" in one language can be "entity" in another, and object in *that* language refers to an object in an array or something, so theres just a huge language gap that i cant really cross without the help of others, which sucks because working with others sucks
42 replies and 2 images omitted. Click here to view.
>>
>>107641117
if this turns me on does that mean im gay?
>>
>>107641133
no because the other one could be a woman. you're safu
>>
>>107641133
unequivocally- yes
>>
>>107641133
nah, left one is a bald woman
>>
>>107641117
good post thanks anon

File: Screenshot_1.png (88 KB, 701x554)
88 KB
88 KB PNG
ill go first
44 replies and 21 images omitted. Click here to view.
>>
>>107637883
>He fell for the Linux meme
>>
>>107639986
Why, so i can LARP as some faggot uber tech guy?
>>
File: 1750459211080547.png (104 KB, 1141x517)
104 KB
104 KB PNG
there is a second 3050 6gb too
I plan to buy a second 2tb ssd and another 10tb hdd, I'll ride into the agenda as far as I can
>>
>>107626367
need to upgrade the storage tho i
>>
What do I win?

File: Ubuntu-Touch.png (144 KB, 1200x688)
144 KB
144 KB PNG
when will ubuntu touch be ready to replace android?
12 years of development and it's still not ready? wtf?
3 replies omitted. Click here to view.
>>
>>107640533
It will never be ready and carriers won't support Linux anyhow. We're stuck with Android and iOS until the end of time, or switch to a ChinkOS when they get good enough.
>>
>>107640533
> Ubuntu Touch
We need proper Linux devices with upstream drivers, not this Halium garbage, because at this point it isn't any better than running any open source Android ROM.
>>
>>107640692
It was revealed to me in a dream.
>>
linux users really are just quirky chungus types
>>
power of open source tho

File: 1766461875823.png (31 KB, 436x351)
31 KB
31 KB PNG
humiliation ritual
7 replies and 2 images omitted. Click here to view.
>>
>>107640739
i have trips you dont
>>
>>107640755
you have a slider, i dont
>>
File: zoomer password.png (101 KB, 1171x782)
101 KB
101 KB PNG
>>107640739
shut up zoomshit
>>
>>107640875
Why does NordPass have its users passwords in plaintext?
>>
>>107640896
i kept telling niggers on this board that password managers are a datamining psyop and to just use paper and pen but /g/ niggers have massive egos and love to get shilled corporate garbage instead

File: maxresdefault.jpg (215 KB, 1280x720)
215 KB
215 KB JPG
>3 Game & Watch from a Flea Market
Can she fix them?
224 replies and 43 images omitted. Click here to view.
>>
>>107641115
you have schizophrenia
>>
>>107641120
>"y-you have schizophrenia"
>trannie who has camped a thread for 2 days straight to scream >SHE over and over
Why does the left always accuse you of what it is doing?
>>
>>107641144
you have schizophrenia
>>
>trannie actually broken by a cute tomboy
kek 41% imminent
>>
>>107641178
you have schizophrenia

File: fedora aurora.png (89 KB, 1090x491)
89 KB
89 KB PNG
REJECT every other OS

EMBRACE the rightful, most reliable OS

File: count.jpg (199 KB, 1000x1374)
199 KB
199 KB JPG
Recounting the threads edition

/gedg/ Wiki: https://igwiki.lyci.de/wiki//gedg/_-_Game_and_Engine_Dev_General
IRC: irc.rizon.net #/g/gedg
Progress Day: https://rentry.org/gedg-jams
/gedg/ Compendium: https://rentry.org/gedg
/agdg/: >>>/vg/agdg
Graphics Debugger: https://renderdoc.org/

Requesting Help
-Problem Description: Clearly explain your issue, providing context and relevant background information.
-Relevant Code or Content: If applicable, include relevant code, configuration, or content related to your question. Use code tags.

Previous: https://desuarchive.org/g/thread/107546157/#107546157
139 replies and 12 images omitted. Click here to view.
>>
>try to reinstall Notepad++
>can't deselect auto-update feature in the installer
>apparently can't disable this option later on
What the fuck is happening to software? It all looks more sus than random crack from the torrents.
Last time I installed libre office with auto updates it was getting stuck in infinite loop on startup, but thankfully I could disable that.
>>
File: 1758371676603625.png (425 KB, 1540x1951)
425 KB
425 KB PNG
>>107637795
The writing was on the wall.
>>
>>107637843
They failed to see the irony of their own statement.
>>
Anyone have suggestions on how to draw Imgui lines "into" the 3d scene _with_ proper depth information? I'm working with Vulkan and SDL3, multipass deferred pipeline.

My current plan is:
- composite the scene via deferred rendering pipeline, including depth info (already using depth info in compositing, but I didn't bother to write it out before, so this will cost an extra full-screen depth write)
- write my own routine to draw lines over the composited scene, with their own fragment shader blending them in by depth
- render imgui over it all as normal

This seems retardedly over-complicated for something you'd think is a common use case, right?
>>
>>107640869
>the moment I ask for help, my fucking around leads to a possible solution
I scoped it out in RenderDoc and the Imgui vulkan platform source-- sometimes, lines are already being drawn in their own SetScissor/DrawIndexed command pairs? If I can intercept those "3d line" commands...

Uh, looks like it might be possible with an ImDrawCallback and a custom shader pipeline for the lines, dunno how I'll pack depth info into the verts though... eh, a problem for tomorrow's me.

File: Firefox_logo,_2019.png (337 KB, 1200x1131)
337 KB
337 KB PNG
ITT we share helpful firefox user_prefs that make it better. I'll start.

user_pref("full-screen-api.transition-duration.enter", "0 0");
user_pref("full-screen-api.transition-duration.leave", "0 0");
user_pref("full-screen-api.warning.timeout", 0);

This removes the annoying banner saying press ESC to exit fullscreen every time you fullscreen a yt video.

user_pref("media.videocontrols.picture-in-picture.video-toggle.has-used", true);
user_pref("browser.engagement.downloads-button.has-used", true);

With this in your user.js before you open the browser it won't popup instructions on obvious features. I have a pretty big user.js based on betterfox that disables telemetry and toggles all the settings the way I like them so it's completely configured on install without doing anything, and then I've added a bunch of minor quality of life conveniences like these. Share yours anons.
34 replies and 4 images omitted. Click here to view.
>>
>>107639459
only when you're holding. it disappears on release
>>107639499
chrome is unusable because it banned uBlock Origin. It blocks youtube ads which pihole/adguard can't do because those can only blacklist domains. You need ubo to block elements in the page yt is loading
>>
Firefox Zero user.js
https://pastebin.com/PRQyRv6x
>>
File: 1758735838222853.png (6 KB, 581x119)
6 KB
6 KB PNG
>>107639563
>>
>>107640497
>He uses UBOLite
>Thinks it's UBO
LMAO.
>>
File: 1758407726474792.png (48 KB, 1643x361)
48 KB
48 KB PNG
>>107640993
umm
>Version 143.0.7499.109

File: erosion.png (417 KB, 781x1070)
417 KB
417 KB PNG
At what point did we start relying on AI too much?
23 replies and 3 images omitted. Click here to view.
>>
>>107640616
did you read your own post? the guy says he upscaled it with ai

>>107640717
what are you talking about? link
>>
>>107639864
>Feels like we're in for a rude awakening once there's adults in government again.
Stop this nonsense. Haven't you learned anything from the UK and Europe? The US democrats campaigned on the "we're not as evil as this weird fella" and they fucking lost.
The UK campaigned on a "eh, we'll see, vague change" campaign then lurched right, every single week in office past the "evil" and "nasty" party that they took over from.
The UK's Labour party, campaigned with reason like "the grown up will be back in charge" and Darren Jones, a front bencher in the cabinet and probably likely to be the next PM if people reject Streeting literally said the line on the morning of the election "the adults are back in the room".

Stop saying the meme line. They're not grown ups either. They're literally the same group of people beholden to the same people that give them donations, bought and paid for. They go to the same gyms.
You'll get a continuity government and you'll like it. They might lurch further right in an attempt to recapture a vote if that fossil with the half moon glasses ever dies and your media will villainise them for it, ready to revolve the door back around again once the financial crash is over because people fall for populism again.

There's no adults in modern politics, the only way you'll know that they're not on the take is if the media runs a relentless multi-year smear campaign against them and if "people" start referring to their policies as unworkable, serious and vibes based.
>>
>>107639799
Every time somebody brings up Russia when talking about the US I know for a fact they're real politik believing losers.
>>
Since op slurps semen out of buttfucked homeless niggers, can someone else who isnt a faggot upload the video
>>
File: 1749649730233874.jpg (218 KB, 2048x1152)
218 KB
218 KB JPG
>>107639959
>They did so much better before everypne had smartphone cameras and internet.
>you now remember Ryan Fogle unshaven wearing a blonde wig and a baseball cap
Maybe it was always this way, but the nature of media changing was what exposed it.
I know we meme on people getting dumber over time and crims are naturally dumb, but in some ways I think part of the reason the agencies appear so incompetent is that the crims are more vigilant, exposed to the most basic of evasion techniques having seen it play out in media constantly.
Same with the CCTV angle, mass surveillance means people are more careful, and the agencies probably relied way too heavily on it in the past, newer investigators and operators are now the ones getting dumber over time as they start to rely on these tools instead of learning how to finesse it all.

File: john_blow.jpg (49 KB, 900x900)
49 KB
49 KB JPG
> Web developers are not real programmers.
How do you respond?
13 replies omitted. Click here to view.
>>
>>107640278
are you saying women are not people?
>>107640944
making a web page is not software development
>>
>>107640963
Go back to the grave, Dijkstra.
>>
>>107640944
grim, isn't it?
>>
>>107640263
We're not, but a job's a job and at least I didn't get btfo by Soulja Boy.
>>
>>107640263
>How do you respond?


[Advertise on 4chan]

Delete Post: [File Only] Style:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
[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.