Question What would be the ideal coding language to make homebrew apps when the Switch gets hacked?

Discussion in 'Switch - Hacking & Homebrew' started by MemeMachine, Mar 9, 2017.

  1. MemeMachine
    OP

    MemeMachine Newbie

    Newcomer
    5
    2
    Jan 30, 2017
    United States
    I've seen a few people say the Switch's OS is similar to the 3ds, so C++ would work.
    On the other hand people say you could just sideload Android OS and just run anything.
    Thoughts?
     
  2. sarkwalvein

    sarkwalvein More coffee, please!

    Member
    GBAtemp Patron
    sarkwalvein is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,201
    5,548
    Jun 29, 2007
    Germany
    Niedersachsen
    Polish
     
    DesuIsSparta, jsa, MichiS97 and 4 others like this.
  3. Memoir

    Memoir A Hero to Zero

    Member
    GBAtemp Patron
    Memoir is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,017
    4,846
    Jun 24, 2007
    United States
    Wyoming
    Russian... C'mon
     
    McWhiters9511, Ra1d and sarkwalvein like this.
  4. sarkwalvein

    sarkwalvein More coffee, please!

    Member
    GBAtemp Patron
    sarkwalvein is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,201
    5,548
    Jun 29, 2007
    Germany
    Niedersachsen
    Well... we all know Polish is like Russian with objects.
    But I suppose you can always go to the sources.
     
  5. linuxares

    linuxares GBAtemp Psycho!

    Member
    3,243
    1,377
    Aug 5, 2007
    I think most languages will work as long as the compiler works for it.
     
  6. Alkéryn

    Alkéryn Moon Dweller ~

    Member
    1,528
    1,920
    Mar 15, 2015
    France
    Albategnius, Moon
    I would pick C, and maybe C++ it depend of the libraries and the compiler the one who hack it make
    But C is your safest bet
    Then C++ could have some success but you will have less chance to use it in the begining, it will come but you will have support for C first
    Anyway C can run on virtually anything using binary and if it don't you can just create a compiler for the new platform
     
    Last edited by Alkéryn, Mar 9, 2017
  7. linuxares

    linuxares GBAtemp Psycho!

    Member
    3,243
    1,377
    Aug 5, 2007
    This makes me wonder if it's possible to program in Assembler for it... the games would be supertiny but superhard to program.
     
  8. froggestspirit

    froggestspirit D/P/Pt Demix Guy

    Member
    1,112
    545
    Jul 28, 2011
    United States
    Coming from a guy who has coded in assembly, Why would you want to?

    Why would you want android os? chances are it would break compatibility with switch games.

    I'd still say to stick with C++, but for those who like it, I think Unity has support, but that has too much overhead for me.
     
    Alkéryn likes this.
  9. linuxares

    linuxares GBAtemp Psycho!

    Member
    3,243
    1,377
    Aug 5, 2007
    Only answer I can think off... Because you can?
     
  10. Alkéryn

    Alkéryn Moon Dweller ~

    Member
    1,528
    1,920
    Mar 15, 2015
    France
    Albategnius, Moon
    No reason to use assembler for hombrew, it will be a pain in the ass
    Though it is necessary to hack the device and to make a compiler
     
    Zacchi4k and linuxares like this.
  11. linuxares

    linuxares GBAtemp Psycho!

    Member
    3,243
    1,377
    Aug 5, 2007
    Totally, I know that :)
     
    Alkéryn likes this.
  12. froggestspirit

    froggestspirit D/P/Pt Demix Guy

    Member
    1,112
    545
    Jul 28, 2011
    United States
    I mean, you should be able to on almost any platform that can be programmed, but the asm language is different based on processors.
     
    DesuIsSparta and linuxares like this.
  13. sarkwalvein

    sarkwalvein More coffee, please!

    Member
    GBAtemp Patron
    sarkwalvein is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,201
    5,548
    Jun 29, 2007
    Germany
    Niedersachsen
    Oh man, of course you can program assembler for anything. That is not a question that requires an answer.
     
  14. Alkéryn

    Alkéryn Moon Dweller ~

    Member
    1,528
    1,920
    Mar 15, 2015
    France
    Albategnius, Moon
    Well good luck with spending weeks to make something you could have done in hours xD

    — Posts automatically merged - Please don't double post! —

    Well then i will make a brainfuck compiler for the switch and force you to use it for all your homebrews xD
    actually it would be as practical as assembly xD
     
  15. linuxares

    linuxares GBAtemp Psycho!

    Member
    3,243
    1,377
    Aug 5, 2007
    Yes! Why not program like you run a goverment instance!
     
    jsa and Alkéryn like this.
  16. sarkwalvein

    sarkwalvein More coffee, please!

    Member
    GBAtemp Patron
    sarkwalvein is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,201
    5,548
    Jun 29, 2007
    Germany
    Niedersachsen
    You could start by posting messages here using hexadecimals for the ASCII code instead of actual letters.
    You know, if you want to be masochistic then do it all the way.
     
    Last edited by sarkwalvein, Mar 9, 2017
    jsa and Zacchi4k like this.
  17. Alkéryn

    Alkéryn Moon Dweller ~

    Member
    1,528
    1,920
    Mar 15, 2015
    France
    Albategnius, Moon
    Plus number two you have to do it without a keyboard but with an arduino HID where you have to type the ASCII value for each character
    do you accept the challenge ? xD
     
    CrimsonMaple likes this.
  18. CrimsonMaple

    CrimsonMaple EXPLOSION!!~

    Member
    388
    358
    May 2, 2016
    United States
    Hiding from the Axis Cult.
    C, C++, and Arm ASM if you want to get a bit more down to the metal. Usually on any console assume C and ASM as a safe bet for code execution like homebrew and sploits. This is due to the light weightness of C. While ASM can be easily run and is very light weight, but is a pain to code.
     
    Alkéryn likes this.
  19. Alkéryn

    Alkéryn Moon Dweller ~

    Member
    1,528
    1,920
    Mar 15, 2015
    France
    Albategnius, Moon
    Lol we had about the same idea xD
     
  20. linuxares

    linuxares GBAtemp Psycho!

    Member
    3,243
    1,377
    Aug 5, 2007
    Dude I can hardly do C++. I think I have a better chance at winning a nobel prize xD
     
    Alkéryn likes this.