Programming Switch homebrew - supported languages?

Ondrashek06

Well-Known Member
OP
Member
Joined
Dec 27, 2019
Messages
1,158
Trophies
0
XP
3,267
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,158
Trophies
0
XP
3,267
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,185
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
  • K3Nv2 @ K3Nv2:
    Gray zone warfare looks kinda cool
  • Psionic Roshambo @ Psionic Roshambo:
    Ohhh on one episode they could use rings to summon Captain Criminal who is just Obama like a spoof of Captain Planet lol
    +1
  • BigOnYa @ BigOnYa:
    Does look good
  • Psionic Roshambo @ Psionic Roshambo:
    By your powers combined, hmmm where is Epstein?
  • K3Nv2 @ K3Nv2:
    Just another shit fps clone
  • K3Nv2 @ K3Nv2:
    Thought it was some warzone dlc bs
  • Psionic Roshambo @ Psionic Roshambo:
    Looks like an enhanced Far cry 1
  • K3Nv2 @ K3Nv2:
    That's a far cry from it
  • BigOnYa @ BigOnYa:
    Is it a free to play bs, pay to get any good weapon/gear
  • K3Nv2 @ K3Nv2:
    Not free to play but $35
  • K3Nv2 @ K3Nv2:
    Inb4 kiiwii gives it a 0/10
  • BigOnYa @ BigOnYa:
    6/10 rating on steam
  • Psionic Roshambo @ Psionic Roshambo:
    I would like a Predator game "Kill Team" it takes place in the Jungle of the first movie, your team is sent to hunt the predator, using current tech drones and a trained team. Set traps use strategy to hunt and trap or kill the predator.
  • BigOnYa @ BigOnYa:
    Ill stick with my Battlefield. Yea a predator hunting game like that would be cool. Esp if you can be Arnold and say "Get to da choppa"
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe Arnold could do a cameo voice acting, he is the one briefing you on the mission
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Honestly surprised they didn't make a tie in game for Predators that movie was awesome
  • Psionic Roshambo @ Psionic Roshambo:
    I was kinda sad the Yakuza guy died sword fighting a predator lol
  • Psionic Roshambo @ Psionic Roshambo:
    The Russian guy went out like a boss
  • Psionic Roshambo @ Psionic Roshambo:
    Double claymores to the face definitely kill a predator lol
  • BigOnYa @ BigOnYa:
    I went today and looked at a motorcycle someone was selling. I get there and the battery on it was dead, so the guy grabbed a battery charger and hooked it up. He plugged it into the wall, and the motorcycle sparked and started smoking. Come to find out the bike uses a 6 volt battery and the guy had the charger set to 12v. I said sorry to the dude and walked away. I felt bad for him tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds like it would be an exciting ride....
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure I would want something on fire between my legs
    Psionic Roshambo @ Psionic Roshambo: Not sure I would want something on fire between my legs