dotnet/roslyn
View on GitHub ↗ ★ 20,760 C#
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
143 mentions on Hacker News by 115 people: 18 stories, 125 comments · first 2015-01-14 · latest 2026-05-11
20082026
-
…of .NET with support for Windows, Linux, macOS and a handful of [other] BSD derivatives. Sources: https://github.com/dotnet/roslyn https://github.com/dotnet/coreclr https://github.com/dotnet/corefx Binaries:…
comment by paavohtl · 2019-01-27 · in Memory usage of a toy C# server and client with 500K concurrent connections on -
▲ 3
“i++” and “i += 1” produce different ILstory by xoss · 2018-12-18 · 0 comments
-
…it just proved my point. [0] https://github.com/icsharpcode/SharpDevelop/issues/799#issue... [1] https://github.com/dotnet/roslyn/pulse
comment by BurnGpuBurn · 2018-11-19 · in What Makes .NET Core So Special? -
…tried to capture the source code's features that were extraneous to the AST as ["syntax trivia"]( https://github.com/dotnet/roslyn/wiki/Roslyn-Overview#syntax... ). It's a less trivial issue when the code isn't so transparently bijective.…
comment by _Nat_ · 2018-11-18 · in If I were to invent a programming language for the 21st century -
…non-free parts from microsoft Is the Apache 2 licensed Roslyn compiler not free enough for you? https://github.com/dotnet/roslyn
comment by oropolo · 2018-10-10 · in Microsoft Joins the Open Invention Network -
…This might mean I would some day be able to use Vim and get IDE-like functionality. [1] Roslyn https://github.com/dotnet/roslyn/wiki/Roslyn-Overview [2] https://www.youtube.com/watch?v=wSdV1M7n4gQ
comment by wenc · 2018-07-20 · in Introducing the Python Language Server -
…> their compiler Microsoft makes half a dozen compilers, for as many languages: https://github.com/dotnet/roslyn https://github.com/fsharp/fsharp https://github.com/PowerShell/PowerShell The only one that I know of that is closed is C++.
comment by will4274 · 2018-06-04 · in Hello, GitHub -
VB.NET has been open source for a few year now. https://github.com/dotnet/roslyn https://github.com/dotnet/vblang
comment by algorithmsRcool · 2017-11-10 · in 8th – A secure, cross-platform, concatenative programming language -
There are other goodies, like memory views, blittable structs, interior pointers and readonly refs. https://github.com/dotnet/roslyn/blob/master/docs/Language%2...
comment by pjmlp · 2017-09-01 · in Introducing .NET IL Linker -
Although LINQpad is awesome, the newer versions of Visual Studio have a C# REPL built in -- ( https://github.com/dotnet/roslyn/wiki/C%23-Interactive-Walkt... )
comment by abhirag · 2017-08-28 · in What makes a good REPL? -
…7, and they will be adding more features from System C# (Midori) in the 7.1, 7.2 and 8.0 releases. https://github.com/dotnet/roslyn/blob/master/docs/Language%2... Microsoft recently did an interview where they admitted they only cared to…
comment by pjmlp · 2017-07-19 · in LWJGL: Lightweight Java Game Library 3 -
…C# roadmap for 7.1, 7.2 and 8.0 with more memory friendly features https://github.com/dotnet/roslyn/blob/master/docs/Language%2... Joe is presenting a keynote at Rustconf, about memory safe systems programming. http://rustcon
comment by pjmlp · 2017-07-02 · in Pony: Combining safe memory sharing with Erlang-like actors -
…take a look: https://github.com/llvm-mirror/llvm https://github.com/gcc-mirror/gcc/tree/master/gcc https://github.com/dotnet/roslyn > An object can contain references to any other object held by the process This is true for very small…
comment by Const-me · 2017-05-12 · in Don't overuse interfaces -
> - I love that they are adding REPL. I really wish C# had this Here you go :) https://github.com/dotnet/roslyn/wiki/C%23-Interactive-Walkt... Also: csi.exe. Try it :)
comment by josteink · 2017-05-04 · in Wrapping up Java 9 new Features -
…mean there is a tendency to over indulge so the hangovers can be quite bad... (GC pauses)." [1] https://github.com/dotnet/roslyn/issues/10378#issuecomment-2...
comment by Nelkins · 2017-04-21 · in I was wrong, reflecting on the .NET design choices -
…new types like Span<T>[2]. I think there are more things like that coming in the pipeline[3]. [1] https://github.com/dotnet/roslyn/issues/118 [2] https://github.com/dotnet/corefxlab/blob/master/docs/specs/s... [3]…
comment by Nelkins · 2017-04-21 · in I was wrong, reflecting on the .NET design choices -
…the two language committees pay attention to the research/feedback that the other receives. [0]: https://github.com/dotnet/roslyn/issues/10153
comment by zastrowm · 2017-04-19 · in Pattern Matching for Java -
From https://github.com/dotnet/roslyn/issues/347 (Details > Mutability): > Should tuples be mutable or immutable? The nice thing about them being > structs is that the user can choose. If a reference to the tuple is > readonly then the…
comment by zastrowm · 2017-03-10 · in New Features in C# 7.0 -
I think they're still working on that: https://github.com/dotnet/roslyn/blob/features/records/docs/...
comment by tintoy · 2017-03-09 · in New Features in C# 7.0 -
…this C# design doc, along with some conventions for associating whitespace with syntax tree nodes: https://github.com/dotnet/roslyn/wiki/Roslyn-Overview What do you think of that claim? (If you prefer not to use this deep comment thread,…
comment by chubot · 2017-03-08 · in ANTLR Mega Tutorial -
Hi CM2187. Can you file these bugs over at https://github.com/dotnet/roslyn We can take a look and hopefully get fixes out for you soon!
comment by Metasyntactic · 2017-03-07 · in Visual Studio 2017 Launch [video] -
…find issues with our fixes/refactorings, or you would like us to add more, please file feedback at https://github.com/dotnet/roslyn Thanks!
comment by Metasyntactic · 2017-03-07 · in Visual Studio 2017 Launch [video] -
▲ 4
Remove the term “whitelist”story by thejosh · 2017-02-15 · 1 comment
-
…sdn.microsoft.com/dotnet/2017/01/19/net-core-... [1] https://github.com/Microsoft/referencesource [2] https://github.com/dotnet/roslyn
comment by UnoriginalGuy · 2017-02-14 · in Happy 15th Birthday .NET -
https://github.com/dotnet/roslyn/wiki/Roslyn-Overview#syntax...
comment by m0sa · 2017-02-12 · in From AST to Lossless Syntax Tree -
…lossless part, however, comes from the fact that the syntax tokens store associated trivia [3] [1] https://github.com/dotnet/roslyn [2] https://ericlippert.com/2012/06/08/red-green-trees/ [3] https://github.com/dotnet/roslyn/wiki/Roslyn-Ove…
comment by m0sa · 2017-02-12 · in From AST to Lossless Syntax Tree -
…The compilers are open source and anyone can write a language feature request on GitHub [1]. [1] https://github.com/dotnet/roslyn
comment by hacker_9 · 2017-02-01 · in The .NET Language Strategy -
…I wish this was in 7.0, this is a great way to do FP in C# when you can't use F#. Proposal link : https://github.com/dotnet/roslyn/blob/features/records/docs/...
comment by rubber_duck · 2017-01-29 · in C# functional language extensions and Erlang-like concurrency system -
▲ 1
Early proposal for Type Classes in C#story by algorithmsRcool · 2017-01-18 · 0 comments
-
…most areas. Most GC churn in most applications (I would think) is down to Linq and collection use. https://github.com/dotnet/roslyn/blob/master/src/ExpressionE...
comment by alkonaut · 2017-01-10 · in .NET Garbage Collector Basics and Performance Hints (2003) -
…former is better than the latter. I am not convinced. Some examples for concreteness: Former style: https://github.com/dotnet/roslyn/blob/master/src/Compilers/C... Latter style: http://v6.cuzuco.com/v6.pdf Edit: Another example of the…
comment by userbinator · 2017-01-08 · in What science says about naming in programming -
Certainly: https://github.com/dotnet/roslyn
comment by Locke1689 · 2017-01-05 · in Rumors of Cmd’s death have been greatly exaggerated -
…a new one from scratch, so it isn't available in the terminal. Also, all that is open source at https://github.com/dotnet/roslyn and the scripting core can be rehosted as an API.
comment by Locke1689 · 2017-01-05 · in Rumors of Cmd’s death have been greatly exaggerated -
…with them. I hope you get a chance to try this stuff out. As always, please file feedback/issues on github.com/dotnet/Roslyn Thanks!
comment by Metasyntactic · 2016-11-25 · in .NET Productivity Improvements [video] -
Seems to be missing C# ( https://github.com/dotnet/roslyn ) with 6550 stars and Typescript ( https://github.com/Microsoft/TypeScript ) with 16876 stars.
comment by CurtHagenlocher · 2016-11-21 · in Most starred interpreters and compilers on GitHub -
Take a look at the "match expression" section here. https://github.com/dotnet/roslyn/blob/future/docs/features/p...
comment by int_19h · 2016-11-17 · in .NET Framework – What's New in C# 7.0 -
…something I miss too. C# guys are working on adding full-fledged pattern matching to the language: https://github.com/dotnet/roslyn/blob/features/patterns/docs... and there's a concurrent proposal for ADTs:…
comment by int_19h · 2016-11-16 · in Google joins .NET Foundation as Samsung brings .NET support to Tizen -
Both VS and VSCode use the Roslyn compiler to provide IDE functionality. https://github.com/dotnet/roslyn
comment by Arnavion · 2016-10-11 · in Visual Studio Code 1.6 -
For that example, they're showing Visual Studio opening the Roslyn repo ( https://github.com/dotnet/roslyn ). Without any package restore, that's 200MB / almost 12k files. Keeping in mind that Visual Studio isn't a simple text editor, it's…
comment by jongalloway2 · 2016-10-07 · in Announcing Visual Studio “15” Preview 5 -
…("Roslyn") provides open-source C# and Visual Basic compilers with rich code analysis APIs.` - https://github.com/dotnet/roslyn
comment by wluu · 2016-09-21 · in RoslynLinqRewrite – Compiles C# by rewriting and optimising LINQ expressions -
…an SMT solver these days (i.e. you only reach for other solvers when you really have to). Roslyn ( https://github.com/dotnet/roslyn ) is the C# (and VB) compiler as a library. Useful for doing code analysis and code generation for a modern…
comment by ulber · 2016-09-15 · in Microsoft is now the leading company for open source contributions on GitHub -
▲ 2
Roslyn: Source Generatorsstory by lukasLansky · 2016-09-13 · 0 comments
-
…hub.com/kickstarter/rack-attack/pull/181 https://github.com/graphite-project/graphite-web/issues/1569 https://github.com/dotnet/roslyn/pull/3507 https://github.com/Droogans/unmaintainable-code/pull/20 https://github.com/zendframework/zend-e…
comment by waterphone · 2016-09-05 · in Inclusivity Is a Joke -
…bytes around for a trivial world-view-projection matrix multiplication[1] you have a problem. [1]: https://github.com/dotnet/roslyn/issues/10378#issuecomment-2...
comment by zamalek · 2016-08-25 · in What’s New in C# 7.0 -
There's a few downsides to the Tuple class as mentioned here: https://github.com/dotnet/roslyn/issues/347 Namely, heap allocation and the inability to name tuple members.
comment by joshschreuder · 2016-08-25 · in What’s New in C# 7.0 -
…and int.TryParse(out i)) use_int(i); We know that `i` is definitely assigned at that location. [1]: https://github.com/dotnet/roslyn/issues/12597
comment by Eyas · 2016-08-25 · in What’s New in C# 7.0 -
…designer here. You can see (and participate in) the discussion on records here if you'd like: https://github.com/dotnet/roslyn/issues/10154 > Seems like it'd be a cinch to implement Ah... how i wish that were so :)
comment by CyrusNajmabadi · 2016-08-25 · in What’s New in C# 7.0 -
…literal proposal there is also some unresolved discussion about octal support, chip in if you like: https://github.com/dotnet/roslyn/issues/215
comment by Sir_Cmpwn · 2016-08-25 · in What’s New in C# 7.0 -
▲ 5
Record Syntax for C#story by adgasf · 2016-07-27 · 1 comment
-
…of the lack of it (example[1]). I'd definitely include SSA in a modern course on compilers. [1]: https://github.com/dotnet/roslyn/tree/master/src/Compilers/C...
comment by zamalek · 2016-07-25 · in Resources for Amateur Compiler Writers