nimNx: working Nim app example

Hi everyone.

I've been struggling for three days to compile basic helloworld app written in Nim.
I've created this little example project to ease this steps for other people, trying to find an alternative to c / c++.
It shows real basic functionality but it is still a great starting example! I'd like to have one when I started :D

Github link

UPDATE:

I've also created another project to show how to extend current C projects for switch using Nim as a library-making language

nimNxStatic
 
Last edited by DarkHPnk,

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,512
Trophies
2
XP
5,962
Country
United States
Interesting.

Can this be used to build Switch UIs?
Why would so,embody chose this over c/c++?

Not trying to start a programming language debate BTW…just wanting to know the plus side to Nim.
 

DarkHPnk

Member
OP
Newcomer
Joined
Nov 28, 2022
Messages
8
Trophies
0
Age
26
XP
67
Country
Russia
I'm actually planning to make app using borealis and nim, so yeah. It can build UIs using same FFI it prints to switch console
 

DarkHPnk

Member
OP
Newcomer
Joined
Nov 28, 2022
Messages
8
Trophies
0
Age
26
XP
67
Country
Russia
Updated with new library-making project. This should be useful if you already have some code in C and want to extend it with Nim
 
  • Like
Reactions: binkinator
General chit-chat
Help Users
  • No one is chatting at the moment.
    Skelletonike @ Skelletonike: link doesn't work +1