Nim on everything From microcontrollers to web-sites, C and JS as intermediary languages

Discover NIM, a statically typed language that can run on everything from microcontrollers to web servers, using C and JavaScript as intermediate languages, and learn about its features, capabilities, and real-world applications.

Key takeaways
  • NIM can run on everything from microcontrollers to web servers, using C and JavaScript as intermediate languages.
  • It’s compiled statically typed language, with a type system that checks types when functions are called.
  • NIM can run on microcontrollers, with a small footprint of 32 kilobytes of program memory.
  • It has a garbage collector, but you can turn it off and use manual memory management if needed.
  • NIM uses metaprogramming, which allows you to create templates and macros that can access and manipulate the abstract syntax tree (AST).
  • Macros can access the file system and use existing C libraries, and can be used to create complex code that would be hard to write by hand.
  • NIM can run on a wide range of platforms, including Android phones, iPhones, and Linux servers.
  • It’s used in various projects, including the backend for the NIMM forum, and the Arduboy game console.
  • NIM has a strong type system, which helps prevent type errors and makes it easier to write correct code.
  • The language is designed to be fast and efficient, with compile times that are comparable to C and JavaScript.
  • NIM has a strong community, with many users and developers contributing to the language and its ecosystem.
  • It’s used in various industries, including chip manufacturing, and has been used in real-world projects such as Battlefield.