![]() Statements are grouped by indentation but can span multiple lines.Modern type system with local type inference, tuples, generics and sum types.Macros cannot change Nim's syntax because there is no need for it.Nim has a powerful macro system which allows direct manipulation of the AST,.Nim is self-contained: the compiler and the standard library are implemented in Nim.Support for various backends: it compiles to C, C++ or JavaScript so that NimĬan be used for all backend and frontend needs.Of user-defined functions, in combination with the preference of value-basedÄatatypes allocated on the stack, lead to extremely performant code. Modern concepts like zero-overhead iterators and compile-time evaluation.It is well-suited for embedded, hard-realtime systems. ![]() Nim's memory management is deterministic and customizable with destructors and move.The Nim compiler and the generated executables support all major platforms like.Which are small and allow easy redistribution. Nim generates native dependency-free executables, not dependent on a virtual machine,.Install Nim 1.6.2 Try it online Efficient
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |