Programming Languages for the 3ds?

Discussion in '3DS - Homebrew Development and Emulators' started by joshjosh100, Oct 12, 2015.

  1. joshjosh100
    OP

    joshjosh100 Member

    Newcomer
    24
    0
    Oct 11, 2015
    United States
    What are all the Programming Languages that can be used with the 3ds.
    I know there is C++,C, and Lua what other programming language can be used with the 3ds?
     
  2. Megalegacy98

    Megalegacy98 ( ͡° ͜ʖ ͡°)™

    Member
    505
    259
    Aug 11, 2015
    United States
    Just around the corner™
    That's it really, C++, C, and Lua.
    I believe you can combine languages though (wasn't a homebrew program written with C/Python?).
     
  3. FM360

    FM360 Kappa

    Member
    266
    152
    Mar 8, 2015
    Afghanistan
    North Korea
    Welp I guess its time to make a GoldSrc port. THANKS C++ :D!!!
     
    VegaRoXas likes this.
  4. The_Meistro

    The_Meistro GBATemp's "Official" Hank Hill

    Banned
    633
    336
    Aug 22, 2015
    The Magic School Bus
    Can you use Python on 3ds?
     
  5. FM360

    FM360 Kappa

    Member
    266
    152
    Mar 8, 2015
    Afghanistan
    North Korea
    Someone made a program that lets you run python on 3ds but i don't remember what it was called.
     
  6. The_Meistro

    The_Meistro GBATemp's "Official" Hank Hill

    Banned
    633
    336
    Aug 22, 2015
    The Magic School Bus
    OMG REALLY?

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

    I WILL FOLLOW U IF U CAN FIND THE PROGRAM FOR ME 2DAY
     
  7. FM360

    FM360 Kappa

    Member
    266
    152
    Mar 8, 2015
    Afghanistan
    North Korea
    I saw a thread on here about a month ago about this program. Just consult Google.

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

    Uhhhhh...... please don't......
     
  8. SLiV3R

    SLiV3R 3DS Friend Code: 0473-9069-2206

    Member
    2,212
    1,044
    Jan 9, 2006
  9. joshjosh100
    OP

    joshjosh100 Member

    Newcomer
    24
    0
    Oct 11, 2015
    United States
    I kinda want to learn either java, python, or lua but at the same time want to be able to program on the 3ds and lpp-3ds doesnt have enough tutorials with it, and can't seem to find any java or python interpreters for the 3ds currently
     
  10. Megalegacy98

    Megalegacy98 ( ͡° ͜ʖ ͡°)™

    Member
    505
    259
    Aug 11, 2015
    United States
    Just around the corner™
    Java interpreters...? Those exist? (talking about any platform not only 3ds)
     
  11. joshjosh100
    OP

    joshjosh100 Member

    Newcomer
    24
    0
    Oct 11, 2015
    United States
    idk if they do, but that be great if there was one
     
  12. Jwiz33

    Jwiz33

    Banned
    2,654
    1,523
    Jun 5, 2014
    United States
    in the illuminati headquar—I have said too much!
    Technically Javascript through the web browser, but the main languages for 3DS homebrew are these:
     
  13. Megalegacy98

    Megalegacy98 ( ͡° ͜ʖ ͡°)™

    Member
    505
    259
    Aug 11, 2015
    United States
    Just around the corner™
    Interpreters are only for scripting languages right?
     
  14. joshjosh100
    OP

    joshjosh100 Member

    Newcomer
    24
    0
    Oct 11, 2015
    United States
    I think that's how it works, a ruby interpreter would be nice too
     
  15. Megalegacy98

    Megalegacy98 ( ͡° ͜ʖ ͡°)™

    Member
    505
    259
    Aug 11, 2015
    United States
    Just around the corner™
    Java isn't a scripting language... it's a programming language. (there's a difference)
     
  16. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,546
    3,955
    Jun 9, 2007
    Antarctica
    Not exactly. There are multiple kinds:

    1. Scripting language interpreter: these are what you commonly hear about, examples being Python, lua, perl, ruby, etc.

    2. Virtual machine interpreter: sometimes programs are written for virtual computers that don't exist, and these let you run programs for them; examples include Java, C#, Z-machine (think ZORK and friends), etc. Note that most of these also come with a JIT that speeds up execution, so you typically won't hear them being called interpreters.

    3. CPU emulator interpreter: these are what cause demanding emulators like PS1 to be very, very slow (at least when they're first ported to a new system). An emulator that uses an interpreter looks up instructions one by one, has to figure out what it does, and then simulates its effects. JITs/dynamic recompilers are usually preferred when possible, of course, but for some really old systems, it's not really worth it due to them needing more accuracy than speed, and the tradeoffs aren't worth it.
     
    SLiV3R likes this.
  17. Megalegacy98

    Megalegacy98 ( ͡° ͜ʖ ͡°)™

    Member
    505
    259
    Aug 11, 2015
    United States
    Just around the corner™
    Thanks for clearing up.
     
  18. loco365

    loco365 GBAtemp Guru

    Member
    5,458
    2,674
    Sep 1, 2010
    You'd probably be best off writing something in C or C++ with devkitpro + ctrulib, since if you're working with scripting languages, you have to work within its [that is, the interpreter of the scripting language] limitations. However, if you're wanting to expand the functionality of something (Say, Sunshell), LUA is a great idea to get your extension off the ground quickly.
     
    SLiV3R likes this.
  19. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,546
    3,955
    Jun 9, 2007
    Antarctica
    There are probably more than that, but for what we tend to be interested in, homebrew-wise, that about sums it up. If anyone would like to expand on my answer, or correct anything I messed up, feel free.

    You're welcome.
     
  20. joshjosh100
    OP

    joshjosh100 Member

    Newcomer
    24
    0
    Oct 11, 2015
    United States
    Question, then I have devkitpro downloaded can i program in c++ or do i need extra materials?