compare - Nim vs Rock - how they are different? -


i knew nim , learned rock. seem similar, both transcompile c.

what main differences between them? 1 recommend?

there's not documentation on ooc of rock compiler. here key differences i've found. disclaimer: i'm bit biased towards nim ;).

  • metaprogramming. while nim offers powerful tools please extreme metaprogrammers, ooc has nothing it.
  • domain specific language (dsl) friendliness. nim better extendable custom dsls thanx syntax, metaprogramming capabilities , operator overload support.
  • nim compiles (and provides decent ffi) c/c++/objective-c , javascript, while rock compiles c only.
  • nim actively developed , supported. of writing last commit rock made half year ago.
  • syntax. that's obvious one. nim somewhere in python+pascal camp. ooc more of coffeescript curly braces.

there may more key differences depending on important you, overall opinion nim more sophisticated , feature-rich language, you're less hit limitations when writing bigger couple-of-files project.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -