Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an equivalent to Groovy in C#?

What is the closest thing to groovy/java combo in the C# .net world?

If I am writing an app with static and dynamic parts, what's the dynamic part like groovy on the .NET runtime?

like image 921
Ville M Avatar asked Apr 15 '09 21:04

Ville M


People also ask

What is a substitute for Groovy?

Java, Scala, Kotlin, Python, and Gradle are the most popular alternatives and competitors to Groovy.

Is Groovy interpreted or compiled?

Groovy scripts are interpreted at runtime, this might cause some performance overhead, which is not all that bad. You can always compile it to java bytecode to remove that performance penalty.

Can I use Java syntax in Groovy?

Groovy scripts can use any Java classes. They can be compiled to Java bytecode (in . class files) that can be invoked from normal Java classes. The Groovy compiler, groovyc, compiles both Groovy scripts and Java source files, however some Java syntax (such as nested classes) is not supported yet.


1 Answers

Boo, IronPython, IronRuby are probably the options.

There are other CLI languages too.

like image 179
John Avatar answered Oct 15 '22 15:10

John