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

orangy57

bruh
Member
Joined
Aug 17, 2015
Messages
923
Trophies
1
Age
21
Location
New Jersey
XP
2,990
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
  • ZeroT21 @ ZeroT21:
    @BakerMan Make me a space cake plz
  • BigOnYa @ BigOnYa:
    I make rum cake for 4th July every year, I make it a week prior and then soak it in rum in the fridge all week. I flip the cake each day, and add little more rum, it soaks it up everyday, so good.
    +2
  • BakerMan @ BakerMan:
    sorry, idk what you mean by a space cake, and even if i did, i'm not really taking requests right now, because otherwise people will get mad at me for taking a request but not making a birthday cake for @Xdqwerty (i'm sorry for that btw bro)
  • ZeroT21 @ ZeroT21:
    @BakerMan lies, you just want to smoke it

    :rofl2:
    +1
  • ZeroT21 @ ZeroT21:
    Guess all the food in my fridge can knock out a cow or two
  • ZeroT21 @ ZeroT21:
    I should visit Florida again, miss the alligator barbecues
  • BigOnYa @ BigOnYa:
    Me and wifey was deciding on our next vacation, so I hung up a map on the wall, and give her a dart and said, wherever you hit, we will go. She threw the dart and it missed the map completely and fell into a trash can below on floor. So I said "ok Florida it is."
    +2
  • BakerMan @ BakerMan:
    @ZeroT21 ohhh a pot cake?
    +2
  • SylverReZ @ SylverReZ:
    Gimme some of dat
    +4
  • BakerMan @ BakerMan:
    oh yeah i don't use weed,in my baking or in general
  • BakerMan @ BakerMan:
    besides isn't it usually gummies or brownies?
  • AncientBoi @ AncientBoi:
    So, make a "New Trend"
  • BakerMan @ BakerMan:
    i just said i don't use weed
  • BigOnYa @ BigOnYa:
    You can add it in anything really, you can even make a butter/oil with it, then use that oil in anything
  • BakerMan @ BakerMan:
    besides i'm literally a minor and neurodivergent, so telling me to make a cake with cannabis is traumatizing me, ur cancelled buddy /s/srs
  • BakerMan @ BakerMan:
    (nah jk i'm just parodying those "i'm literally a minor and neurodivergent" mfs on twitter)
    +1
  • BigOnYa @ BigOnYa:
    Michigan has legal rec, so you only have few more years, is it 18 or 21 up there? 21 here in Ohio.
  • BakerMan @ BakerMan:
    prob 21, idk tho
    +1
  • ZeroT21 @ ZeroT21:
    Guess I'll go with plan B and make a Rum Vanilla flavored ice cream
    +1
  • BigOnYa @ BigOnYa:
    That sounds damn good.
  • AncientBoi @ AncientBoi:
    Nah. Tequila maybe
  • AncientBoi @ AncientBoi:
    That, or Old No. 7
  • BigOnYa @ BigOnYa:
    I'm ashamed to ask, but what is old no 7?
  • AncientBoi @ AncientBoi:
    Jack Daniels
    +2
  • BigOnYa @ BigOnYa:
    Oh yea, duh
    +1
    BigOnYa @ BigOnYa: Oh yea, duh +1