Better HN
topnewbestaskshowjobs
Log inSign up

jaredpar

32 karma · joined Feb 3, 2012 (14y ago) · 9 submissions

C# compiler lead
Submissions

comment 1y ago · link · parent

There are a lot of optimizations that we plan to add to this path. The intent of this preview was getting a functional version of `dotnet run app.cs` out the door. Items like startup optimization are going to be coming soon.

comment 2y ago · link · parent

There is no timeframe right now. At the moment this is a loose proposal for how to approach union like features in C#. There are a lot more details to dig into here before we'd be ready to move to scheduling and implementation. Also need to decide if we take on all of the union variants proposed or just some and what priority order to approach them.

comment 2y ago · link · parent

The design is not going to allow for struct layout to have memory safety issues when tearing is involved. That is a problem we are very well aware of and consider in designs.

comment 2y ago · link · parent

> from the AOT compiler, but none from the C# compiler.

The C# compiler has very little knowledge of `[FieldOffset]`. It's expected that developers understand the runtime implications of this.

comment 9y ago · link · parent

It's multiple inheritance of behavior, but not of state.

comment 9y ago · link · parent

There is a proposal for "sealed enums" on the C# language repo that have the semantics you are looking for.

https://github.com/dotnet/csharplang/issues/782

comment 14y ago · link · parent

Yeah F# is a bit of a hurdle for contributors. In retrospect if I'd known I'd stick with the project this long I probably would've chosen C#.

https://github.com/jaredpar/VsVim/wiki/FAQ#wiki-language

comment 14y ago · link · parent

What version are you using? Prior to 1.2 there was a nasty perf bug with :hlsearch that caused it to be sluggish with 1) very large files or 2) a good number of files opened. The bug is mostly fixed in 1.2 but there are still a couple of corner cases. Those are addressed in 1.3 which will be released sometime next week. A beta drop is available here

https://github.com/downloads/jaredpar/VsVim/VsVim-1.2-Beta2....

As for crashes I'd love to hear about any you found. Feel free to send me email (hacker news alias at microsoft.com) or post an issue on github.

https://github.com/jaredpar/VsVim/issues

comment 14y ago · link · parent

What version of VsVim are you using? There was a bug with this exact behavior in 1.1 (and possibly 1.1.1). I got it fixed for the 1.2 release which is the current version in the Visual Studio gallery.

Bug Details: https://github.com/jaredpar/VsVim/issues/672