Steven T. Cramer #dotnet

3.5K posts

Steven T. Cramer #dotnet banner
Steven T. Cramer #dotnet

Steven T. Cramer #dotnet

@StevenTCramer

Author of TimeWarp.State https://t.co/wQuANCMaaD npub1dh5md7ysepkc2eqne5cmy2prvxscgadchtjwyapjrq67guvnmgfsf7fqg4

เข้าร่วม Kasım 2009
4.5K กำลังติดตาม1.6K ผู้ติดตาม
Milan Jovanović
Milan Jovanović@mjovanovictech·
What’s wrong with this EF Core code? Technically? Nothing. Performance-wise? A lot, potentially. Here is a common mistake I see developers make when pulling data: ❌ Fetching the entire entity (all the columns). ❌ Mapping that data into an object in memory. This pulls down way more data than you actually need. It wastes memory, hogs network bandwidth, and slows your app down unnecessarily. ✅ The fix? Project your data. Use .Select() to grab only the specific fields you need right inside the query. This way, the database does less work, less data travels over the network, and your app stays lightning-fast. Want more practical tips for speeding up EF Core? Check out my full guide here: milanjovanovic.tech/blog/how-i-mad… When was the last time you checked your queries for bloated data? --- Tired of writing the same boilerplate code for every new project? Skip the setup and start building features immediately with my Clean Architecture template: milanjovanovic.tech/templates/clea…
Milan Jovanović tweet media
English
3
14
65
2.8K
Dave Callan | dotnet
Dave Callan | dotnet@Dave_DotNet·
CA1507: Use nameof in place of string Who has this code analysis rule turned on? #dotnet
Dave Callan | dotnet tweet media
English
2
1
27
3.9K
Steven T. Cramer #dotnet รีทวีตแล้ว
Anton Martyniuk
Anton Martyniuk@AntonMartyniuk·
.𝗡𝗘𝗧 𝟭𝟬 𝗶𝘀 𝗳𝗮𝘀𝘁𝗲𝗿 𝘁𝗵𝗮𝗻 𝗝𝗮𝘃𝗮, 𝗚𝗼, 𝗣𝘆𝘁𝗵𝗼𝗻, 𝗡𝗼𝗱𝗲𝗝𝘀 𝗮𝗻𝗱 𝗣𝗛𝗣 Why .NET is the best platform in build projects in .NET 2025 Why is .NET so fast? - 𝗔𝗱𝗮𝗽𝘁𝗶𝘃𝗲 𝗦𝗲𝗿𝘃𝗲𝗿 𝗚𝗖 adjusts in real time, reducing pause frequency and sustaining throughput during traffic spikes. - 𝗦𝗺𝗮𝗿𝘁𝗲𝗿 𝗝𝗜𝗧 trims warm‑up time and accelerates hot methods, producing consistently shorter response cycles. - 𝗔𝗱𝘃𝗮𝗻𝗰𝗲𝗱 𝘃𝗲𝗰𝘁𝗼𝗿𝗶𝘇𝗮𝘁𝗶𝗼𝗻 leverages AVX10 and Arm SVE, letting loops process multiple data points per tick. - 𝗡𝗮𝘁𝗶𝘃𝗲 𝗔𝗢𝗧 further cuts binaries and startup cost, ideal for containers, IoT, and edge workloads. - 𝗢𝗽𝘁𝗶𝗺𝗶𝘇𝗲𝗱 𝗻𝗲𝘁𝘄𝗼𝗿𝗸𝗶𝗻𝗴 improves socket handling and HTTP/3 support, delivering lower latency for high‑connection services. - 𝗙𝗮𝘀𝘁𝗲𝗿 𝗝𝗦𝗢𝗡 processing in System.Text.Json reduces allocation, enabling leaner APIs and real‑time data streams. - 𝗟𝗼𝘄𝗲𝗿 𝗮𝗹𝗹𝗼𝗰𝗮𝘁𝗶𝗼𝗻𝘀 via spans, inline arrays, and pooled buffers lighten GC pressure and memory footprint. 🧩 - 𝗧𝗵𝗿𝗲𝗮𝗱‑𝗽𝗼𝗼𝗹 logic minimizes contention, ensuring asynchronous operations remain smooth under mixed loads. - 𝗘𝗻𝗵𝗮𝗻𝗰𝗲𝗱 𝗺𝘂𝗹𝘁𝗶𝘁𝗵𝗿𝗲𝗮𝗱𝗶𝗻𝗴 schedules tasks more evenly, unlocking full core capacity for parallel workloads. - 𝗖𝗿𝘆𝗽𝘁𝗼𝗴𝗿𝗮𝗽𝗵𝘆 𝗿𝗼𝘂𝘁𝗶𝗻𝗲𝘀 are streamlined, providing robust security without incurring excessive computational overhead. - 𝗖𝗹𝗼𝘂𝗱‑𝗻𝗮𝘁𝗶𝘃𝗲 tooling reduces cold starts and aligns neatly with Kubernetes, simplifying microservice deployment. - 𝗙𝗶𝗹𝗲 𝗜/𝗢 now buffers intelligently, boosting throughput for applications that read or write extensive data. - 𝗥𝗲𝗳𝗹𝗲𝗰𝘁𝗶𝗼𝗻 𝗮𝗻𝗱 𝗘𝘅𝗰𝗲𝗽𝘁𝗶𝗼𝗻 pathways are optimized, cutting overhead for dependency injection and dynamic object scenarios. - 𝗠𝗶𝗻𝗶𝗺𝗮𝗹 𝗔𝗣𝗜𝘀 advance performance in .NET 9, pairing concise code with leading throughput, making .NET 9 more than 15 % faster .NET 9 outruns these 10 popular web frameworks: - Java (Spring) – about 2.5× slower - Go (Fiber) – 1.3× slower - Node.js (Fastify) – 4× slower - Python (FastAPI) – 10× slower - Ruby (Rails) – 20× slower - PHP (Laravel) – 15× slower - Kotlin (Ktor) – 2.8× slower - TypeScript (Deno) – 3.5× slower - Swift (Vapor) – 2× slower - Elixir (Phoenix) – 1.7× slower You will find links to the benchmarks in the comments. What web framework do you use for your production apps? What are the main reasons you like your current framework? 👉 Subscribe to my newsletter to improve your .NET Skills — ♻️ Repost to help others learn how fast .NET is ➕ Follow me ( @AntonMartyniuk ) for more
Anton Martyniuk tweet media
English
18
28
203
13.8K
Elon Musk
Elon Musk@elonmusk·
I would like to offer to pay the salaries of TSA personnel during this funding impasse that is negatively affecting the lives of so many Americans at airports throughout the country
English
31.9K
60.6K
436.3K
66M
Luke Parker
Luke Parker@LukeParkerDev·
this might be crazy to you but in .NET land my runtime doesn't segfault every 30 mins
English
12
0
95
14.4K
Steven T. Cramer #dotnet
Steven T. Cramer #dotnet@StevenTCramer·
@jamonholmgren 100% AI is shining a light on how poorly we treated developers over the years, with poor context, no evals, and bad tooling. On the other hand, now that I am a bot manager I appreciate how hard a manager's job really is.
English
0
0
2
17
Jamon
Jamon@jamonholmgren·
This very much applies to managing humans as well…let’s be honest. 😅
English
2
0
22
2.7K
Jamon
Jamon@jamonholmgren·
If your agent misbehaves and writes the wrong code, don’t tell it to fix the code. And don’t fix it yourself. Use that valuable context to figure out WHY it did the wrong thing. Tell it the issue, have it analyze its own context, and have it tell you what docs or skills or workflow is wrong, and what improvements would make it make the right decision next time. Then have it fix those issues. Be very diligent that it gets it right. Be prepared to hand tune this, because you can amortize the improvement over the rest of your project. Only after that, have it fix the original issue.
English
44
32
415
40.7K
Stan Root
Stan Root@SRoot68243·
@Tyler_Neville_ Keep on dreaming clown. We stand behind our President! Not the RINOS and Socialists working against him!
English
3
0
15
189
Tyler Neville
Tyler Neville@Tyler_Neville_·
Trump is losing his base & support at light speed. Politics seem to be shifting faster than we thought (4th Turning is here). After Trump's rally in Kentucky against Massie last night, Massie's probability ROSE by almost 10 points on both Kalshi & Polymarket. The Trump effect is working in reverse now. Epstein is a way bigger generational issue now-You simply can't just ignore it anymore or you'll be politically punished. American's seem to be taking a bipartisan stand on this one.... Any contra takes on this?
Tyler Neville tweet mediaTyler Neville tweet media
English
856
861
5.3K
272.3K
Ryan Grim
Ryan Grim@ryangrim·
Ok this is legit funny
English
498
2.2K
22.1K
1.8M
The Lunduke Journal
The Lunduke Journal@LundukeJournal·
From @system76 CEO, @carlrichell: “Today, I met with Colorado Senator Matt Ball, co-author of Colorado OS Age Attestation Bill SB26-051. Sen. Ball suggested excluding open source software from the bill. This appears to be a real possibility.” Big thumbs up to @carlrichell for taking that initiative and using his position to try to influence the Colorado version of the age verification bill.
The Lunduke Journal tweet media
English
27
39
315
10K
Steven T. Cramer #dotnet
Steven T. Cramer #dotnet@StevenTCramer·
@thdxr Not to mention Mac and Linux both have plenty of issues. "don't use windows" is just childish hopefully soon we can have WASI first Operating System that is better than all, but these are the horses that got us here.
English
0
0
2
179
dax
dax@thdxr·
sometimes it's not their choice either!
English
6
0
137
6.8K
dax
dax@thdxr·
@francisco_m001 we have a full time person on windows now
English
3
0
50
3K
dax
dax@thdxr·
once we hit a bit more stability my goal is to have opencode running as a service so when you launch tui, web, desktop it's all just connecting to a same process if you can assume there's an agent always running ready for work a lot of interesting things can be built on top
English
110
21
1.4K
50.7K
dax
dax@thdxr·
@ibuildthecloud i mean running as an OS service on your machine
English
2
0
28
1.9K
Luke Parker
Luke Parker@LukeParkerDev·
opencode is getting firstclass powershell support soon. this will help with models failing due to shell in shell issues... this actually nuked 1/2 my drive from git bash -> pwsh -> cmd dogfooding pwsh and i have almost no shell retries. can't wait to get this one out
English
14
5
163
6.8K
Berend de Boer
Berend de Boer@berenddeboer·
@LukeParkerDev Yeah, Unix guy here :-) I think these days it's either fish (my preference) or zsh.
English
2
0
0
55
Benjamin De Kraker
Benjamin De Kraker@BenjaminDEKR·
Talking to a voice AI LLM over ham radio (on UHF 420.69 megahertz, of course!) (Note: cool experiment, but be careful: FCC regs require a licensed control operator to be present at the control point the entire time the LLM is operating.)
English
64
109
904
69.6K
Steven T. Cramer #dotnet
Steven T. Cramer #dotnet@StevenTCramer·
It isn't all slop actually, but there is just a ton of stuff. The human slop dominated the scene for all of my career. AI in the hands of a craftsman can yield quality code. Just now there are 100 new things and everyone says "Let me show you want I did last night" that it is overwhelming. I used to ignore the "I have an idea" people now hard to not ignore even the "I have a solution".
English
0
0
0
6
avrl ☘
avrl ☘@avrldotdev·
@thdxr Yes, now we can fail a lot before anything good comes out of the ideas. The friction is gone between ideation & implementation, anyone can just spin up an agent and ask it to implement stuff. So sometimes that friction was necessary evil, but now it's all slop
English
1
0
2
267
dax
dax@thdxr·
so many companies both established and startup are trying to get a foothold on something ai related so now whenever there's any new ai concept no matter how small there's a massive pile on doesn't help that you can shit out code now for any idea
English
16
4
178
12K
Steven T. Cramer #dotnet
Steven T. Cramer #dotnet@StevenTCramer·
@thdxr GitHub is becoming social media. How does one get recognized for real value in a repo when viral things and big networks get all the attention? I sure don’t know the answer.
English
0
0
1
15