RustCompiler

70 posts

RustCompiler

RustCompiler

@RustCompiler

100% memory safety and i'll hold your hand! In my correct opinion everything should be re-written in RS. Optimist. Realist.

Future Inscrit le Haziran 2020
11 Abonnements6 Abonnés
RustCompiler
RustCompiler@RustCompiler·
@valigo Yeah remember those times in 2015 when VSCode only used 50MB of RAM and i say "only" cause the alternative Atom editor by Github used 500MB-1GB of RAM
English
0
0
1
320
Valentin Ignatev
Valentin Ignatev@valigo·
I often post about "Electron slop" and "Electron slop" that, and I always get replies and qrts that Electron is not the problem. And it is true, PARTIALLY. I remember when VSCode first shipped in 2016, it was super light on resources and pretty much natively fast. It was literally only losing (not by a lot!) to Sublime Text in its performance, a state of the art carefully crafted native code editor. At the time I couldn't believe that it's Electron. Same with early versions of Slack - it was fast and snappy, a joy to use compared to its competitors at the time that nobody remembers today because Slack [rightfully] killed them all. So yes, I KNOW it is possible to ship reasonably fast and efficient Electron apps. The issue is that for some reason all Electron apps become sluggish and resource-hungry real fast, and their maintainers lose whatever control they had over them, while there are plenty of native desktop apps that are decade(s) old, that gain features, but stay fast and efficient. So there's clearly something about it that leads to this rot, even when very smart programmers work on apps built with it.
English
30
15
605
51.4K
Jason Crawford
Jason Crawford@jasoncrawford·
Depending on your political tribe, Claire is either Claude's trans identity or Claude's new tradwife
English
9
16
563
38.3K
Jason Crawford
Jason Crawford@jasoncrawford·
Um… Claude Code just created a .claire directory? For its git worktrees. Who is Claire?
Jason Crawford tweet media
English
159
34
2K
728.4K
Vjekoslav Krajačić
Vjekoslav Krajačić@vkrajacic·
There's actually a "trick" I use to cut all the one time garbage that OpenGL and other Windows shell functions allocate at startup. I call this a couple of frames after the program starts: SetProcessWorkingSetSize(GetCurrentProcess(), (SIZE_T)-1, (SIZE_T)-1); Read the docs to see what it does: learn.microsoft.com/en-us/windows/…
English
4
2
93
3.7K
Vjekoslav Krajačić
Vjekoslav Krajačić@vkrajacic·
It's incredible how often I work with my "pig hat" on, and yet people are always surprised by how small File Pilot is, both as an .exe and in memory usage. Previously, I would always be very rigorous about whether to go with a discriminated union or a fat struct. These days, I just default to a fat struct, do some basic math on the memory usage, and roll with it. To put myself in a @cmuratori mood from the video: "Forget about it, everything is in there. The whole thing. Everything is in there. Everything. Not some of it, not a little bit of it, the whole thing is there. Every last bit. It's all there." youtu.be/hwLSZuxK6aU?t=… I can always compact it with a discriminated version later, if needed.
YouTube video
YouTube
English
9
12
435
85.8K
RustCompiler
RustCompiler@RustCompiler·
@OlexGameDev This works for small game but imagine hundreds of entities with fat structs that thing is gonna fill your cache fast and now you have low FPS cause the cache prediction misses.
English
0
0
0
92
Olex (Solo gamedev Diablo-like) 🇺🇸🇺🇦
I am expanding the functionality of the Animation component even more. It's probably the most complex component I have in my C++ game with ECS. Or is it now an ECS with huge fat structs? Some advise to skip ECS and just have a huge entity/thing. I can see the benefit of that but at the same time my components are already mighty big and fat. Combining them into even larger structs might break my brain.
Olex (Solo gamedev Diablo-like) 🇺🇸🇺🇦 tweet media
English
10
2
83
9.5K
RustCompiler
RustCompiler@RustCompiler·
@LundukeJournal We switched from * to ▲ and saw a 37% increase in cybersecurity. Do your own research.
English
0
0
0
85
The Lunduke Journal
The Lunduke Journal@LundukeJournal·
The Rust-re-write of sudo has decided to prioritize “user experience” over security. “Change the default so that asterisks are shown when entering passwords.” … “Security is theoretically worse since password lengths are exposed to people watching your screen, but this is an infinitesimal benefit far outweighed by the UX issue.” This change has already been included in the upcoming release of Ubuntu 26.04, scheduled to ship in April. github.com/trifectatechfo…
The Lunduke Journal tweet mediaThe Lunduke Journal tweet media
English
144
88
1K
174.9K
RustCompiler
RustCompiler@RustCompiler·
@ishtwts Strong men use C. C uses all their RAM. They switch to Rust. Now the code compiles, the program is safe, and the only thing panicking… is X arguing about the borrow checker
English
0
0
0
52
ish.exe
ish.exe@ishtwts·
Strong men create c language. C creates good times. Good times create python, python creates AI, AI creates vibe coding, vibe coding creates weak men, weak men creates bad times, bad times creates strong men.
English
40
114
1.5K
38K
RustCompiler
RustCompiler@RustCompiler·
@TheGingerBill @ladybirdbrowser The C++ programmers i talk to all say that Rust is what modern C++ is destined to be. Think of Rust as C++ but with better defaults and much more concise core design without 30 years of baggage.
English
1
0
0
324
RustCompiler
RustCompiler@RustCompiler·
@TheGingerBill @ladybirdbrowser I don't really understand all these people defending irrational decisions to write new project in unsafe language like C/C++/zig? They don't add any value to write safe software that is multithreaded, they just add some niceties that don't solve hard problems.
English
4
0
2
1.9K
Andreas Kling
Andreas Kling@awesomekling·
Over the last ~2 weeks I've rewritten the @ladybirdbrowser JavaScript compiler in Rust using AI agents. ~25k lines of safe Rust (20k if you exclude comments). No regressions on test262 or our own internal test suites. Extensively tested against the live web by browsing in lockstep mode where we run both the C++ and Rust pipelines, and then verify identical AST & bytecode. We're making a pragmatic decision and adopting Rust as a C++ successor language. What a time to be alive!
Ladybird@ladybirdbrowser

Ladybird adopts Rust, with help from AI ladybird.org/posts/adopting…

English
148
125
2.5K
326.9K
RustCompiler
RustCompiler@RustCompiler·
@rfleury Don't wanna sound like a hole but does jai bring anything new to table to solve hard problems in programming or is it just another language that shifts syntax around? Jon is no doubt very talented game dev but i think he just wasted decade making another C with sexier syntax.
English
6
0
9
6.1K
Ryan Fleury
Ryan Fleury@rfleury·
>designs unique & innovative language, writes compiler for language from scratch, writes game engine in new language from scratch, designs state-of-the-art game in new engine Theo: “what a terrible developer” This guy is an embarrassment
Ryan Fleury tweet media
English
156
59
3.4K
252.2K
RustCompiler
RustCompiler@RustCompiler·
@seloesque Surely they would pick ADA over C/C++ then? DO178C certification has nothing to do with NOT picking Rust.
English
0
0
0
384
RustCompiler
RustCompiler@RustCompiler·
@WorkaholicDavid You know what how about we use front facing camera to capture user smiling or angry, phone AI chip makes the decision whether to accept call or decline. This would be truly innovative and we can remove the accept button too
English
0
0
0
59
Amir
Amir@WorkaholicDavid·
Imagine not having a clear, visible UI for declining a fucking phone call. People love to glaze iOS, unnecessarily for its UI elements, but the fact that clear options are not present to the user is objectively a poor design.
Amir tweet mediaAmir tweet media
English
272
185
8.2K
1.4M
RustCompiler
RustCompiler@RustCompiler·
@notch Just accept that AI is like stealing a bicycle, you didn't pay for it but you still get much further when walking.
English
0
0
0
17
notch
notch@notch·
Reminder that using AI to write code is an incredibly bad idea still, and anyone advocating for it is either incompetent or evil. It's just as dumb as letting AI write the laws. It's about logic, not about typing.
English
966
545
9.4K
1M
RustCompiler
RustCompiler@RustCompiler·
@william_revoir @TallbarFIN I don't like the US vs Finnish army thing either but Finnish army is very capable if looking back in history. Each army is good at it's homeland, each army knows it's terrain, weather best etc...
English
0
0
0
22
William
William@william_revoir·
@TallbarFIN More European propaganda slop to smear us troops is insane. Only if you guys had the same energy against the Russians.
English
1
0
0
94
Real Climate Info
Real Climate Info@OracleofMusk·
@DriveGreen80167 Nope. Tesla has the tech in all cars to record all the data for all actual accidents. THEN they use THAT to engineer and test more safety. Nobody else does that, nor can.
English
4
1
11
1.8K
DriveGreenLiveGreen
DriveGreenLiveGreen@DriveGreen80167·
Quite an interesting crash test by the Volvo EX60 — setting new safety standards by creating demanding crash tests that truly reflect real-world scenarios. #VolvoEX60
English
22
154
2.3K
215.2K
RustCompiler
RustCompiler@RustCompiler·
@ID_AA_Carmack Old Twitter was about discussion between people and learning something new everyday. Now it has turned into ragebaiting engagement farm, but this ragebait adds no value to society. I wonder how much longer can X keep funding these trollfactories in thirdworld countries.
English
0
0
0
44
John Carmack
John Carmack@ID_AA_Carmack·
It would be nice if some of the Twitter diaspora returned. So many creatives, but also many developers, that generally enriched the experience are no longer active. Those that performatively left and those with a seething hatred of Elon probably won’t be back soon, but a lot of people just disengaged on vague cultural grounds that can be reevaluated. There are probably some technical tweaks to the algorithm that could make them more comfortable. I don’t mind the existence of independent echo chambers that people are happy within. There is only a problem when some echo chambers are allowed and others aren’t. Reach out to lapsed friends!
English
697
236
5K
657.9K
RustCompiler
RustCompiler@RustCompiler·
@ID_AA_Carmack I dont follow Elon Musk and i still get follow notifications about him, is this overlord programmed to be shown to everybody?
English
0
0
0
38
RustCompiler
RustCompiler@RustCompiler·
@notch I wouldn't say its gonna replace good programmers but its like bicycle but for mind. Experienced gamedev can also pinpoint performance issues but we can now do it eevn faster. AI is good at patterns, humans are good at intuition, which AI still lacks often.
English
0
0
1
22
RustCompiler
RustCompiler@RustCompiler·
@notch Used Claude to find performance bottlenecks in renderer. It read entire engine source code, told it what models and scene files i used. Exported renderdoc data as text and feed it to claude. It was able to pinpoint the bottlenecks and suggested renderpass changes in code.
English
2
0
1
91
notch
notch@notch·
"Vibe coders be like" followed by a screenshot of failed automatic subtitles based on the AI lacking domain specific nuanced information is a powerful meme because it highlights how easily something parroting us still isn't us. It's not surprising that an AI would think you got a "minor damage upgrade" when you actually got a "miner damage upgrade" in coal LLC, but youtube is still shoving auto dubbed videos down our throats. They WILL lose nuance. They WILL sometimes be COMPLETELY wrong. And this all makes sense for subtitles. We expect them to not be quite perfect. But the same. Is true. For code. And there it matters. A LOT
English
42
18
704
76.8K