3 ms·
Its good to finally see this being 'a thing' in C#. In my opinion, it is 10 years overdue! This feature is likely added to compete with Python, Ruby, etc. The
by masfoobar 1y ago
Its good to finally see this being 'a thing' in C#. In my opinion, it is 10 years overdue!
This feature is likely added to compete with Python, Ruby, etc. The fact you just create a file, write some code and run it.
However, I don't see C# being a competitor of said languages even for simple command lines. If anything, it could be a viable replacement to Powershell or maybe F# especially if you need to link it to other .NET DLLs and 'do things'
I am also interested in the performance difference compared to other languages. I mean even Dlang has a script-like feature for sometime, now.. rdmd. Not sure the status of that, but it still compiled and runs the program. Just seems overkill for something rather simple.
- oaiey 1y agoThis is about education and mindset. Not to enter the space. There might be some people working with it, if they are more relaxed with C# than bash. Performance right now is horrible (500ms), they promised to improve it, but let us be honest: They are in-memory scaffolding a project, run msbuild restore/reassess/reuse dependencies, and then compile a dll and then load it into a JIT. that is so many more steps than a interpreter will do.
- masfoobar 1y ago> They are in-memory scaffolding a project... Absolutely...100% !!