Hacking Homebrew [Release] libnds-rs - Rust for the Nintendo DS

Pikachuk

Well-Known Member
OP
Member
Joined
Mar 19, 2016
Messages
768
Trophies
0
Age
23
Location
Bordeaux
XP
758
Country
France
Hey everyone.
I've recently been working on porting rust to the nintendo DS for one of my projects.
I ended up getting it working so I felt like releasing it publicly for everyone.
you will need to have BlocksDS installed with your environment variables set to use it.
https://github.com/SeleDreams/cargo-nds

at the moment this is a wip, so homebrews made with it will compile and run on the DS, however, only an unsafe access to the raw rapper of the C api is available. I plan to work on providing a safe wrapper that is more natural to use from rust
I hope this will be useful to others

 

Attachments

  • 1675945560912.png
    1675945560912.png
    1.3 MB · Views: 149
Last edited by Pikachuk,

orangy57

bruh
Member
Joined
Aug 17, 2015
Messages
920
Trophies
1
Age
21
Location
New Jersey
XP
2,969
Country
United States
Super cool! Really interesting to see a such a new programming language on such an old console. Is the memory overhead any different compared to C/C++?
 

yoooblls

Well-Known Member
Member
Joined
Nov 5, 2022
Messages
173
Trophies
0
Age
20
XP
459
Country
Cambodia
What? :wtf: Mine was a joke, a play on words. I was referring to real rust, which forms on iron by oxidation. Instead, I do not understand this reference to Halo, which if I am not mistaken is an FPS game, impossible on DS. :unsure:
Ik but for me halo is better than rust no offense
 

Pikachuk

Well-Known Member
OP
Member
Joined
Mar 19, 2016
Messages
768
Trophies
0
Age
23
Location
Bordeaux
XP
758
Country
France
Update :
I did a pretty big update of the implementation of rust for the DS and switched it to use BlocksDS instead of DevKitPro as it is more efficient and uses clearly licensed dependencies.
The new system is better and also easier to use.
Here is the link with instructions https://github.com/SeleDreams/cargo-nds
Post automatically merged:

Here's a video that shows how to use it
 
Last edited by Pikachuk,
  • Like
Reactions: CrashMidnick

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    RedColoredStars @ RedColoredStars: lol