nim-wiki/Quick-Start-2018.md

49 lines
2.0 KiB
Markdown
Raw Normal View History

2018-10-10 18:38:39 +00:00
The Essential Docs, to get started quickly.
2018-10-10 19:00:46 +00:00
1) Here's what you'll need to deploy your program.
Choose a target platform:
[Windows] [Linux] [Mac] [Android] [iPhone] [Web] [Web+Wasm] [Haiku] [Genode] [Nintendo Switch]
Note: Instructions for cross compilation are here.
2018-10-10 19:32:13 +00:00
(only these combinations work: ...)
2018-10-10 19:00:46 +00:00
2018-10-10 19:33:22 +00:00
2) Set up your environment, our recommendation. Please choose the OS you develop on:
2018-10-10 19:00:46 +00:00
...
2018-10-10 19:37:52 +00:00
3) Interacting with the compiler, basic command line usage (+ nim.cfg, what happens: compiler steps in general, the c cache, -d:flags)
2018-10-10 19:00:46 +00:00
4) Writing a basic library, source control, unit tests, and IDE tips
5) Getting a skeleton program up and running, and using that library.
2018-10-10 19:15:04 +00:00
Please choose the kind of program you're developing:
(Links provide libraries you'll need, and guide you to a deployable skeleton app)
- A command line tool.
- A portable GUI desktop app
- a GUI app for a specific platform
- A 2D Game
- A Web application or website
- An android mobile app
- An iPhone mobile app
2018-10-11 07:57:13 +00:00
- A cross platform library
- Embedded usage: call nim from your c/c++ code.
2018-10-10 19:15:04 +00:00
- Other? leave feedback to let us know what we're missing.
2018-10-10 19:37:52 +00:00
5.5) Recommended workflows, ways to avoid complexity, and general advice for efficient development process from veteran Nim users. (IDEAL!)
2018-10-10 19:00:46 +00:00
6) Language basics.
2018-10-10 19:37:52 +00:00
- These are wonderful tutorials/slides: ... links...
2018-10-10 19:00:46 +00:00
2018-10-10 19:15:04 +00:00
7) Language at a glance, Nim from the mainstream language you know:
- Nim for the python programmer
2018-10-10 19:00:46 +00:00
- Nim for the C programmer
2018-10-10 19:15:04 +00:00
- Nim for the C# programmer
- Nim for the Javascript cowboy
- ... add more at our leisure.
2018-10-10 19:00:46 +00:00
2018-10-10 19:15:04 +00:00
Related: Also explain support for different paradigms in Nim. (procedural, OOP, functional)
2018-10-10 19:00:46 +00:00
8) Use Cases: How to do X in Nim? (by topic)
- Show Nim packages and std lib, Maybe in reference to other language capabilities, or even compared to their samples.
- Be honest if there are some holes, chance to show interop with python and nimgen+c2nim.
9) To learn more about Nim's features and how to use them, please refer to the official tutorial Part1, Part2, and the Manual.