Homebrew Programming Languages for the 3ds?

joshjosh100

Member
OP
Newcomer
Joined
Oct 11, 2015
Messages
24
Trophies
0
Age
26
XP
77
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?
 

The_Meistro

GBATemp's "Official" Hank Hill
Banned
Joined
Aug 22, 2015
Messages
633
Trophies
0
Age
38
Location
The Magic School Bus
XP
271
Country
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
 

joshjosh100

Member
OP
Newcomer
Joined
Oct 11, 2015
Messages
24
Trophies
0
Age
26
XP
77
Country
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
 

Megalegacy98

Well-Known Member
Member
Joined
Aug 11, 2015
Messages
505
Trophies
0
Location
United States
XP
430
Country
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
Java interpreters...? Those exist? (talking about any platform not only 3ds)
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
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

Megalegacy98

Well-Known Member
Member
Joined
Aug 11, 2015
Messages
505
Trophies
0
Location
United States
XP
430
Country
United States
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.
 

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
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

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    ButterScott101 @ ButterScott101: +1