Programming Switch homebrew - supported languages?

Ondrashek06

Well-Known Member
OP
Member
Joined
Dec 27, 2019
Messages
1,164
Trophies
0
XP
3,312
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,164
Trophies
0
XP
3,312
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
98
Trophies
0
XP
1,198
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.
  • K3Nv2 @ K3Nv2:
    Thanks for signing up at LinusTechTips
  • QuarterCut @ QuarterCut:
    holey shmoley!
  • BigOnYa @ BigOnYa:
    Your credit card has been charged. Thank you.
  • K3Nv2 @ K3Nv2:
    Your screwdriverPlus will arrive in three weeks
    +1
  • QuarterCut @ QuarterCut:
    K64_Waddle_Dee_Artwork_1.jpg

    my reaction to such information
    +2
  • BigOnYa @ BigOnYa:
    Press 1 for English. Press 2 for Pig Latin. Or press 3 to speak to a representative.
  • BakerMan @ BakerMan:
    guys, i need help, i got into an argument about what genre radioactive is, and i forgot who made it
  • Sicklyboy @ Sicklyboy:
    @BakerMan, Imagine Dragons
  • Sicklyboy @ Sicklyboy:
    Dragon deez nuts across yo face GOTEEM
  • Sicklyboy @ Sicklyboy:
    lmao now I realize that was probably the joke in the first place
    +1
  • BakerMan @ BakerMan:
    IMAGINE DRAGON DEEZ NUTS ACROSS YO- FUCK HE BEAT ME TO IT
  • BigOnYa @ BigOnYa:
    You have selected 4 - Death by Snu Snu, please stand by...
    +1
  • BakerMan @ BakerMan:
    lucky bastard
    +1
  • Sicklyboy @ Sicklyboy:
    hahahaha I'm half way through a bag off my Volcano and my tolerance is way down because I haven't been smoking much lately, so I was a little slow to catch that that was what your angle was 🤣🤣
    +1
  • Sicklyboy @ Sicklyboy:
    Also I was just excited to know a music reference for once (I am the LAST person in the world that you want on your trivia team)
    +2
  • K3Nv2 @ K3Nv2:
    Bummer webos 7.4 isnt working with dejavuln-autoroot
  • Sicklyboy @ Sicklyboy:
    PS4 right? I think that's what mine's on. Or 5.6, maybe.
  • K3Nv2 @ K3Nv2:
    [!] Installation failed (devmode_enabled not recognized)
  • K3Nv2 @ K3Nv2:
    0.5 seemed to work whatever lol i wont bitch
  • Alysh_Graham @ Alysh_Graham:
    Hehehe
    Alysh_Graham @ Alysh_Graham: Hehehe