Homebrew Programming Languages for the 3ds?

  • Thread starter Thread starter joshjosh100
  • Start date Start date
  • Views Views 12,167
  • Replies Replies 20

joshjosh100

Member
Newcomer
Joined
Oct 11, 2015
Messages
24
Reaction score
0
Trophies
0
Age
28
XP
97
Country
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?
 
Someone made a program that lets you run python on 3ds but i don't remember what it was called.
OMG REALLY?

--------------------- MERGED ---------------------------

Someone made a program that lets you run python on 3ds but i don't remember what it was called.
I WILL FOLLOW U IF U CAN FIND THE PROGRAM FOR ME 2DAY
 
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
 
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
Java interpreters...? Those exist? (talking about any platform not only 3ds)
 
Interpreters are only for scripting languages right?

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.
 
  • Like
Reactions: SLiV3R
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.
Thanks for clearing up.
 
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.
 
  • Like
Reactions: SLiV3R
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.

Thanks for clearing up.

You're welcome.
 

Site & Scene News

Popular threads in this forum