Linked by twitterfire on Mon 24th Oct 2011 22:52 UTC
Thread beginning with comment 494237
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[6]: I'm sorry, but how is this new?
by JAlexoid on Tue 25th Oct 2011 13:16
in reply to "RE[5]: I'm sorry, but how is this new?"
How is exposing the internal API publicly a major departure and reinvention of compilers?
I'm not saying it's not great that they are exposing API that will stay stable. I just don't get the hype over this.
Please do hype up anything that grows up from this to be ridiculously fun or novel. But as it stands, Roslyn is not revolutionary or anything like that.
RE[7]: I'm sorry, but how is this new?
by Nelson on Tue 25th Oct 2011 13:44
in reply to "RE[6]: I'm sorry, but how is this new?"
How is exposing the internal API publicly a major departure and reinvention of compilers?
Compilers are tansformed from this classic vision of take a source file in -> generate code.
Now, every aspect of the compiler is a service. I can do metaprogramming by transforming syntax if thats what I need. I can gather data from a previously or newly compiled program (or myself) using semantics.
I can transform code at the semantic level for an even more targeted approach to metaprogramming.
I can query the Solution/Project API and perform the same syntax/semantic analysis on those documents, or whatever else I want, then save the project.
I'm not saying it's not great that they are exposing API that will stay stable. I just don't get the hype over this.
Please do hype up anything that grows up from this to be ridiculously fun or novel. But as it stands, Roslyn is not revolutionary or anything like that.
I suppose that's your opinion, I just strongly disagree.
I view this in the same light I view other exciting framework developments. When LINQ launched people were asking how this would be revolutionary, the same with Rx. Some concepts just take time to grasp.
RE[6]: I'm sorry, but how is this new?
by dsmogor on Tue 25th Oct 2011 16:47
in reply to "RE[5]: I'm sorry, but how is this new?"





Member since:
2005-11-29
I guarantee you GCC can do nothing even close to this. Maybe LLVM+Clang (both of them, neither independently) can come close, but the richness of the APIs are not comparable.
Roslyn is alot more fleshed out than any other Compiler as a Service.