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
759
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: 154
Last edited by Pikachuk,

orangy57

bruh
Member
Joined
Aug 17, 2015
Messages
923
Trophies
1
Age
21
Location
New Jersey
XP
2,989
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
174
Trophies
0
Age
20
XP
473
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
759
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
  • No one is chatting at the moment.
  • S @ salazarcosplay:
    hunter x hunter
  • S @ salazarcosplay:
    he has not allowed anyone to continue it for him for example
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, theres a dragon ball af mod for budokai 3
  • Xdqwerty @ Xdqwerty:
    updated ship of harkinian, gonna install some hd texture pack
  • Xdqwerty @ Xdqwerty:
    I might download rayman revolution for my ps3
  • BigOnYa @ BigOnYa:
    I may try the new ram site, and download more RAM to my Switch. Not sure if ddr3 is the right ram
    for it tho. Edit- no it uses floppy Ram, just like @AncientBoi
    +1
  • Xdqwerty @ Xdqwerty:
    aeiou
  • BigOnYa @ BigOnYa:
    And sometimes Z
  • SylverReZ @ SylverReZ:
    @K3Nv2, MAGA supporters be wearing tin foil hats lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, whats maga?
  • BigOnYa @ BigOnYa:
    It stands for Maniacs Against General Acceptance
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, people rejecting general consensus about stuff?
    +1
  • BigOnYa @ BigOnYa:
    Yup, nuh its really just Trump followers
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, im not american so i dont care about trump
    +1
  • Xdqwerty @ Xdqwerty:
    or us elections
  • BigOnYa @ BigOnYa:
    Me niether, us north Koreans don't care
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
  • NinStar @ NinStar:
    people are so dramatic that I can't even tell if they are being serious
    NinStar @ NinStar: people are so dramatic that I can't even tell if they are being serious