EgorBo

2.3K posts

EgorBo banner
EgorBo

EgorBo

@EgorBo

I work on .NET JIT Compiler 🚀 at Microsoft

Warsaw, Poland Katılım Kasım 2010
180 Takip Edilen5.5K Takipçiler
EgorBo
EgorBo@EgorBo·
@EnZistenZ 1) HPC doesn't have to be unsafe in C# - example github.com/dotnet/runtime… (and a hundred of similar changes under reduce-unsafe label) 2) the reason is very clear - know all the places where you intentionally do things that can easily break/introduce CVEs.
English
0
0
0
40
Enzi
Enzi@EnZistenZ·
@EgorBo coming from a unity/burst background this is concerning to say the least. it destroys the readability of any HPC code and basically adds another indent for no real reason. putting rust constraints and logic into c# makes little sense with how different they are
English
1
0
2
47
Enzi
Enzi@EnZistenZ·
@EgorBo an unsafe method should not need another unsafe block. that looks terrible in so many ways, especially because Unsafe.As very clearly indicates it's unsafe. the more i look at it the less sense it makes. why are there 2 declarations of x?
English
1
0
0
117
EgorBo
EgorBo@EgorBo·
@hexawyz @KooKiz I am not sure I understand what exactly you were expecting from this feature
English
0
0
2
161
hexawyz
hexawyz@hexawyz·
@EgorBo @KooKiz That’s not really the point though. The point is that this feature brings me literally nothing as a developer. No help, no support, just more work.
English
1
0
0
208
Kevin Gosse
Kevin Gosse@KooKiz·
.NET is going to drastically redefine the meaning of unsafe
EgorBo@EgorBo

@KooKiz My fav. part is this (and it makes sense if you think about it from the new design's perspective) 🙃

English
2
1
96
35.5K
EgorBo
EgorBo@EgorBo·
@hexawyz @KooKiz There should be no reason to use unsafe (except for a tiny layer around pinvokes). We've made a lot of efforts over the last few years improving perf of 100% safe code to be on par with unsafe. 1 unsafe usage is enough to introduce a terrible CVE (most CVEs are memory-safety rel.
English
1
0
1
250
hexawyz
hexawyz@hexawyz·
@EgorBo @KooKiz I still don’t see how it benefits developers. You use the code that you need to use. It just makes it harder but does not improve the code or allows to find any bug directly. (If you find a bug when rewriting it is not something that the tooling would detect itself)
English
1
0
0
444
EgorBo
EgorBo@EgorBo·
@hexawyz @KooKiz forcing developers to audit & refactor all unsafe code is a huge benefit. In modern C# there are way too many unsafe things that most people don't even realize how dangerous they're
English
1
0
5
440
hexawyz
hexawyz@hexawyz·
@KooKiz For literally zero developer benefits 😢
English
2
0
4
2K
EgorBo
EgorBo@EgorBo·
@KooKiz My fav. part is this (and it makes sense if you think about it from the new design's perspective) 🙃
EgorBo tweet media
English
3
0
22
37.6K
Kevin Gosse
Kevin Gosse@KooKiz·
@EgorBo mfw when they made stackalloc safe then unsafe again
English
2
0
10
2.1K
EgorBo
EgorBo@EgorBo·
@torn_hoof @nietras1 We're working on the migration story, but it will still require some manual audit of all unsafe code and this is by definition an inconvinience for those who write a lot of unsafe code (we want to minimize that in the .NET ecosystem).
English
0
0
2
59
Tornhoof
Tornhoof@torn_hoof·
@nietras1 @EgorBo Yeah I have kinda the same opinion, unless there happens to be some roslyn fixer which automatically applies the lowest valid combination of unsafe, I kinda doubt I will use that much.
English
1
0
0
60
EgorBo
EgorBo@EgorBo·
@nietras1 We want to make sure developers (and AI) are aware when they deal with unsafe and mark those places, the UX can probably be improved with unsafe-as-expression, but that's not the goal. We also improved a lot of things in the JIT for safe code along the way.
English
0
0
5
354
nietras 👾
nietras 👾@nietras1·
@EgorBo To me this seems way to verbose for existing unsafe code and have a hard time seeing me adopting this in any existing code. Aka I don't want to litter code with unsafe blocks and yet another indent level... I'm guessing this is not seen as a concern?
English
3
0
4
508
EgorBo
EgorBo@EgorBo·
@TeksEdge All these "create a game from scratch" benchmarks never correlate with what I see when I ask an LLM to fix a bug in a real world app 🙂 E.g. GPT is so clever for everyone here on X but for me in 9 out 10 attempts Opus just a mile better.
English
0
0
3
328
David Hendrickson
David Hendrickson@TeksEdge·
Gemini 3.5 Flash just released and its benchmarks show it is very close to GPT-5.5s performance. To settle the debate (🙄) I asked both to create a Galaxy shooter. What do you think? I like Gemini 3.5 Flash's levels and fast play but GPT-5.5 still has better aesthetics and life meters for enemies.
English
4
0
25
9.6K
EgorBo
EgorBo@EgorBo·
@xoofx I usually just vibe-code my own API clients in such cases. E.g. google forces everyone to use their new Interactions API but there is no C# support in their SDK ai.google.dev/gemini-api/doc…
English
0
0
5
367
Alexandre Mutel
Alexandre Mutel@xoofx·
The .NET Google.GenAI library has been broken for 2+ weeks now: github.com/googleapis/dot… I wanted to try their models in CodeAlta but hit the same issue, and the PR still hasn't been merged. I had a similar issue with Anthropic: made 2 PRs, waited ~2 weeks to get them merged. Starting to wonder if CodeAlta should avoid depending on any of these SDKs long term 🤔
English
3
0
6
5.8K
Dominic Evans
Dominic Evans@oldmanuk·
@tomwarren I guess that’s a clever way of reducing employee headcount without actually having to fire anyone. They’ll volunteer to leave willingly
English
1
0
7
3.2K
Tom Warren
Tom Warren@tomwarren·
scoop: Microsoft is starting to cancel Claude Code licenses. Engineers in Microsoft's Experiences + Devices team will have to transition to GitHub Copilot CLI by the end of June. Details in my Notepad 📒 issue, live now for subscribers 👇 theverge.com/tech/930447/mi…
English
47
81
872
251.2K
Joel 🇦🇺
Joel 🇦🇺@ptr_to_joel·
holy wow they merged it
Joel 🇦🇺 tweet media
English
135
189
4.4K
825.9K
EgorBo
EgorBo@EgorBo·
@kskrygan I'm very skeptical about the "1 month" part. Today, the only way to get something remotely as smart as Opus is to get 20x H200 GPUs (say, for 16-bit Kimi K2.6 with a usable context length). I predict the gap will always be too big to prefer local, unfortunately.
English
0
0
0
227
Kirill Skrygan
Kirill Skrygan@kskrygan·
Would you be interested if JetBrains releases a totally local AI agent, working 100% on your laptop, using our code insight engine and deeply integrated into the IDE? Yes, it will be probably 1 month behind the very recent frontier models, but no token blood bath anymore WDYT?
English
805
234
7.1K
489.8K
Jakub Chmura
Jakub Chmura@_jakubchmura·
@igorimx @kskrygan a month is probably too optimistic, but if you look at those benchmarks its pretty close, and you can run quantized versions of this model on a mac
Jakub Chmura tweet media
English
1
0
5
891
EgorBo
EgorBo@EgorBo·
@shipilev Well, we actively use it ourselves. But I'm personally not too excited when first-time contributors send an obviously AI-generated PR to vm/jit/etc the domain is too complex to send changes you have no idea about
English
1
0
5
260
Aleksey Shipilëv
Aleksey Shipilëv@shipilev·
@EgorBo I have not seen many myself in my areas, so not overwhelmed, at least yet. But people do wonder if they can use GenAI for their work, hence the policy decision, AFAIU. How are your repos doing?
English
1
0
2
424
Aleksey Shipilëv
Aleksey Shipilëv@shipilev·
OpenJDK Interim Policy on Generative AI: openjdk.org/legal/ai. This aligns with my experience using GenAI tools: they are good at grasping some dusty context corners, but for surgical OpenJDK work you need to absolutely own every single line you push into the project.
English
2
13
55
5.3K
Jukka
Jukka@jugibuilds·
@fynnso If Composer is just Kimi And Cursor is just VS Code Where’s the moat bro
English
15
1
207
23.8K
EgorBo
EgorBo@EgorBo·
@nietras1 That account has spammed over 400 PRs across multiple repositories with an extremely low acceptance rate except for one repo, which is likely owned by a friend or the author. I’m not sure this adds any value to the OSS. if anything, it’s the opposite
EgorBo tweet media
English
1
0
0
131
nietras 👾
nietras 👾@nietras1·
@EgorBo what's bad about actual changes? (ignoring comment hell)
English
1
0
0
124