nim-wiki/Nim-use-cases.asciidoc

25 lines
1.4 KiB
Plaintext
Raw Normal View History

2015-04-21 22:52:59 +00:00
This is an introductory page on use cases where you might want to use Nim.
### Where Nim works well
2015-04-21 22:59:33 +00:00
Multiarch applications:: As Nim compiles through GCC, any architecture supported by GCC can run Nim.
2015-04-21 22:52:59 +00:00
2015-07-01 12:49:05 +00:00
Gaming:: Nim was designed with gaming in mind. See documentation regarding speed and GC. If you are working on a game like a baseball simulator then Nim can maybe offer the fast performances you need to simulate intensive game play, artificial intelligence, graphics, audio sound processing, and all of the other functionalities of modern gaming.
2015-04-21 22:59:33 +00:00
Embedded systems and microcontrollers:: Nim have some of the smallest memory overhead and binary size compared to other languages.
2015-04-21 22:52:59 +00:00
2015-04-21 22:59:33 +00:00
### Where Nim will work well
2015-04-21 22:52:59 +00:00
2015-04-23 11:40:00 +00:00
The following use case might require larger amounts of libraries, tools, and language maturity in general (as in early 2015)
2015-04-28 15:55:38 +00:00
System libraries:: Nim can produce libraries to be used by other languages. https://gradha.github.io/articles/2015/01/writing-c-libraries-with-nim.html[docs] https://akehrer.github.io/nim/2015/01/24/connecting-nim-to-python.html[example]
2015-04-21 22:52:59 +00:00
2015-04-21 22:59:33 +00:00
Cryptography:: Nim is safer than C [also see System libraries]
2015-04-21 22:52:59 +00:00
### Where Nim might not be the best fit
2015-04-21 22:59:33 +00:00
Scripts and interactive use:: Nim is a complied languages and the interactive interpreter is somewhat limited.
2015-04-21 22:52:59 +00:00
2015-07-01 12:48:43 +00:00
Beginners:: as a first language, Nim is more complex than Python or Ruby
You want much complexity:: Nim not as complex as Rust or C++ so if you want complexity maybe Nim not a good choice