Programming Switch homebrew - supported languages?

Ondrashek06

Well-Known Member
OP
Member
Joined
Dec 27, 2019
Messages
1,157
Trophies
0
XP
3,251
Country
Czech Republic
If I was to code some sort of .nro file to use in hbmenu, which options would I have? Is it possible to use smth like Python for it or does it need low-level programming?
 

Ondrashek06

Well-Known Member
OP
Member
Joined
Dec 27, 2019
Messages
1,157
Trophies
0
XP
3,251
Country
Czech Republic
There's PyNX for Python though it appears unmaintained. There's also nx.js for JavaScript, and LÖVE Potion with Lua.
Thanks, Lua is somewhat similar to Python.
Post automatically merged:

No low level programming, C/C++ is what you need to know.
You meant to say "low-level programming only", as C/C++ are both low-level languages.
 

Djakku

Well-Known Member
Newcomer
Joined
May 9, 2019
Messages
97
Trophies
0
XP
1,182
Country
United Kingdom
Low level code is assembly, your code speak directly to the chip. best performance but can be tedious and more difficult.

Mid level is c/c++ as they need to be compiled with a compiler that will convert the code to the target architecture

High level / interpreter language are like python, lua, love potion and don't need to be compile but have a lesser performance.

Best is to use c/c++, there are a lot of libraries that have been ported to the switch.
You can of course use python and other interpreter language depending on what your application is.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    NinStar @ NinStar: unless nintendo is going to start selling consoles at a loss that thing won't be cheap based on...