digitalmars.D.announce - C# to D Compiler :)
- Ronald Adonyo (8/8) Dec 18 2014 Hi Everyone,
- Ronald Adonyo (35/35) Dec 18 2014 This is the Current Feature List
- Dicebot (3/5) Dec 19 2014 Looks intriguing :)
- ZombineDev (4/5) Dec 19 2014 Well done! I also thought of making a C# to D compiler using
- ZombineDev (10/10) Dec 21 2014 One example of a somewhat large performance oriented C#
- Kiith-Sa (9/19) Dec 21 2014 Last time (long ago) I looked at OpenRA code it didn't look like
- Stefan Koch (3/11) Dec 18 2014 Nice Work!
- Jacob Carlborg (8/16) Dec 18 2014 This is pretty cool.
- Ronald Adonyo (8/26) Dec 19 2014 Thanks, Jacob and Stefan,
- Kagamin (3/5) Dec 19 2014 Same as in .net, look at the generated IL, an async method should
- FrankLike (3/11) Dec 19 2014 Nice work.
- FrankLike (4/12) Dec 21 2014 If use the .Net Framework 4.0,it's will better than now,a lot of
Hi Everyone, to D Compiler based on Roslyn. Please check it out and give comments. I would also like this to be a basis to provide both Libraries in D and allow building Its available on my github https://github.com/afrogeek/SharpNative
Dec 18 2014
This is the Current Feature List Basic PInvoke Arrays including initializers Fields/ Properties/Methods with correct hiding semantics Properties are better implemented String Int/Double/Bool Some benchmarks - basic linpack, fannkuch, nbody Modules/Namespaces Enum - no enum.Parse support yet though Iterators are as .Net use enumerators etc … switching arrays to use simple for loop though for performance improvement Constructors/Overloads/Base Class calls Static Variables/Members/Properties Basic System.Math, more implementations required though Extension Methods Operator Overloading Indexers Anonymous Classes Generics … All current test cases work Boxed structs and interface casting for them Inner Classes in the form of OuterClass_InnerClass Static Constructors Explicit Interfaces … current fix is not so pretty though … i.e. IEnumerator.MoveNext becomes IEnumerator.IEnumerator_MoveNext (this allows implementing methods with same name, differently) Implicit and Explicit Cast Operators String switch … dlang supports this natively :) String.Format .. though implementation is very basic syntax :) )… mostly … look at multi test from CrossNet Delegates work including multicast (Native delegates through P/Invoke work too)
Dec 18 2014
On Thursday, 18 December 2014 at 23:58:30 UTC, Ronald Adonyo wrote:This is the Current Feature List ...Looks intriguing :)
Dec 19 2014
Roslyn, so I'm glad to see fruits of your labour :) On Thursday, 18 December 2014 at 23:58:30 UTC, Ronald Adonyo wrote:This is the Current Feature List
Dec 19 2014
application is OpenRA[1]. (An open-source implementation of the Command & Conquer: Red Alert engine using .NET/Mono and OpenGL. Runs on Windows, Linux and Mac OS X) D and what the performance would be. I'll give it a shot when I have the time, though you may also find it useful as a way to benchmark your compiler ;) [1]: https://github.com/OpenRA/OpenRA
Dec 21 2014
On Sunday, 21 December 2014 at 15:12:26 UTC, ZombineDev wrote:application is OpenRA[1]. (An open-source implementation of the Command & Conquer: Red Alert engine using .NET/Mono and OpenGL. Runs on Windows, Linux and Mac OS X) to D and what the performance would be. I'll give it a shot when I have the time, though you may also find it useful as a way to benchmark your compiler ;) [1]: https://github.com/OpenRA/OpenRALast time (long ago) I looked at OpenRA code it didn't look like its source would (directly) translate well to high-performance D/C++/whatever. You'd end up needing to turn some structs to classes, limit GC usage (.NET has a much better GC, yet non-GC code is simpler in D), etc. (I'm planning to work on a project with similar goals to OpenRA, although for academic reasons I'm still only working on its entity system (https://github.com/kiith-sa/tharsis-core).
Dec 21 2014
On Thursday, 18 December 2014 at 23:56:54 UTC, Ronald Adonyo wrote:Hi Everyone, In my spare time over the last 3 weeks, I've been working on a Please check it out and give comments. I would also like this to be a basis to provide both Libraries in D and allow building Its available on my github https://github.com/afrogeek/SharpNativeNice Work!
Dec 18 2014
On 2014-12-19 00:56, Ronald Adonyo wrote:Hi Everyone, Compiler based on Roslyn. Please check it out and give comments. I would also like this to be a applications with the help of D. Its available on my github https://github.com/afrogeek/SharpNativeThis is pretty cool. When the tool is good enough, then you can run the tool the Roslyn BTW, you should add .DS_Store to .gitignore. -- /Jacob Carlborg
Dec 18 2014
On Friday, 19 December 2014 at 07:39:24 UTC, Jacob Carlborg wrote:On 2014-12-19 00:56, Ronald Adonyo wrote:Thanks, Jacob and Stefan, Done, does anyone have a good idea of how to write Async/Await using fibers or state machines in D ? I have yield return working, and would like to have both these as lambdas passed to library functions. Regards, Ron.Hi Everyone, In my spare time over the last 3 weeks, I've been working on a Compiler based on Roslyn. Please check it out and give comments. I would also like this to be a basis to provide both Libraries in D and allow building native applications with the help of D. Its available on my github https://github.com/afrogeek/SharpNativeThis is pretty cool. When the tool is good enough, then you can run the tool the BTW, you should add .DS_Store to .gitignore.
Dec 19 2014
On Friday, 19 December 2014 at 08:11:42 UTC, Ronald Adonyo wrote:Done, does anyone have a good idea of how to write Async/Await using fibers or state machines in D ?Same as in .net, look at the generated IL, an async method should return a chain of tasks.
Dec 19 2014
On Thursday, 18 December 2014 at 23:56:54 UTC, Ronald Adonyo wrote:Hi Everyone, In my spare time over the last 3 weeks, I've been working on a Please check it out and give comments. I would also like this to be a basis to provide both Libraries in D and allow building Its available on my github https://github.com/afrogeek/SharpNativeNice work.
Dec 19 2014
On Thursday, 18 December 2014 at 23:56:54 UTC, Ronald Adonyo wrote:Hi Everyone, In my spare time over the last 3 weeks, I've been working on a Please check it out and give comments. I would also like this to be a basis to provide both Libraries in D and allow building Its available on my github https://github.com/afrogeek/SharpNativeIf use the .Net Framework 4.0,it's will better than now,a lot of people will test it,but v4.5.3,maybe a little.
Dec 21 2014