Nim

Comments Off on Nim

To write “Hello World!” in Nim programming language, you can follow these simple steps:

  1. Open your preferred code editor or IDE.
  2. Create a new file named HelloWorld.nim or any other desired name.
  3. Type the following Nim code into the file:
proc main() {
  echo "Hello World!"
}
  1. Save and close the file.
  2. Open a terminal or command prompt in the same directory as your HelloWorld.nim file.
  3. Compile the code using Nim compiler:
    • For Windows, run nim c HelloWorld.nim.
    • For Linux/macOS, run nim c HelloWorld.nim.
  4. Execute the compiled program:
    • For Windows, run ./HelloWorld or HelloWorld.exe depending on the file’s extension.
    • For Linux/macOS, run ./HelloWorld or HelloWorld directly if in the same directory.
  5. The output should be “Hello World!” being displayed on the console window.
    Prompt
    young woman, beautiful face, standing, great body, gorgeous figure, long legs, pretty eyes, long hair, learns Nim programming language, beautiful background, magnificent scenery, Walter Richard Sickert style, HD, sharp focus, stunningly beautiful, sci-fi style, futuristic, technological, alien worlds, space themes, advanced civilizations

    Negative prompt
    verybadimagenegative, bad_prompt_version2-neg, easynegative, FastNegativeV2, ugly, deformed, noisy, blurry, low contrast, realism, photorealistic, historical, medieval, extra eyes, bad eyes, ugly eyes, imperfect eyes, deformed pupils, deformed iris, cross-eyed, poorly drawn face, bad face, fused face, ugly face, worst face, unrealistic skin texture, out of frame, poorly drawn hands, cloned face, double face, blurry, bad quality

    Text model: neural-chat

Image model: RealCartoonXL