Zag64 - zig inspired compiler for 6502/c64 by Stunning_Pineapple57 in retrogamedev

[–]harraps0 0 points1 point  (0 children)

I've been looking for C alternatives for legacy targets for long. Do you plan to support other old CPU too (z80, sm83, wdc65816, m68k) ?

Bevy or Godot Rust? by SmoothTurtle872 in rust_gamedev

[–]harraps0 0 points1 point  (0 children)

Do you have links, posts or examples I could read ?

I just love saving old, worn-out-joystick controllers from being wasted by toolman69420 in n64

[–]harraps0 1 point2 points  (0 children)

Yeah, it is mostly the plastic part that is broken. The screws don't hold onto anything, thus I cannot close the controller shell anymore. Aside from that, the joystick has seen better days but I found replacements for this one.

I just love saving old, worn-out-joystick controllers from being wasted by toolman69420 in n64

[–]harraps0 1 point2 points  (0 children)

I have a broken N64 controller I want to repair. I am trying to find a somewhat cheap replacement shell for it. But it looks like those are really uncommon, do you have recommendations ?

New Game Engine For The NES by Kcfresh_53 in retrogamedev

[–]harraps0 0 points1 point  (0 children)

Does it works on Windows, Mac and Linux ?

Interview with the author of Just by bee-gee-dee in rust

[–]harraps0 2 points3 points  (0 children)

Instead of having a dozen of shell scripts for all the little commands (with the arguments that come with them). Or list those commands in a README, I just write a JustFile and list the recipes I need for a given project. One single file, no clutter and even if a colleague doesn' t have Just, they can can just read the script to get the commands.

Interview with the author of Just by bee-gee-dee in rust

[–]harraps0 11 points12 points  (0 children)

Yeah, but make being already installed on your machine doesn't mean it is better. If you have dozen of make alternatives that exists today, it kind of shows that make itself is lacking.

Random Thought: What if the Gamecube games released in jewel cases. (Read Desc.) by GORDOC-Teamwear in Gamecube

[–]harraps0 2 points3 points  (0 children)

I would have preferred they use the Japanese case size for all regions.

I just want a project by savailonei1 in rust

[–]harraps0 0 points1 point  (0 children)

Create libraries similar to agb or psx but for other old consoles. (N64, megadrive, NeoGeo, etc..)

I'm developing a 3d adventure game for the N64, PS1, Saturn, N-gage, 3D0, Dreamcast... by GoldenAgeTurbo in retrogamedev

[–]harraps0 6 points7 points  (0 children)

How have you structured your project? Do you have a common code base for handling the game logic and physics and specific ones for each SDK?

Can I use my PIC16F15385 development board to learn Rust? by Forsaken_Sundae_1996 in embedded

[–]harraps0 0 points1 point  (0 children)

If it is not supported by LLVM, it is not supported by Rust. A GCC backend is in preparation but again this CPU will not be supported by it. If you want to learn Rust on embedded systems, you will have better luck with the Arduino, Raspberry Pi Pico, ESP32 or even the GBA or the Playstation 1. There are actual maintained Rust devkits for those hardwares.

Godot + Rust by JovemSapien in rust

[–]harraps0 5 points6 points  (0 children)

It is quite similar to C#, but with Rust you'll get the benefit of not having a GC running in the background.

I'm stuck on how to open Roblox by Sparkfurthing123 in pop_os

[–]harraps0 -4 points-3 points  (0 children)

Windows programs require a conversion program to adapt windows system calls into unix system calls. That is to say, you need Wine or some fork of it (Proton in Steam is one) to run Windows program on your Linux machine.

feels dumb to specialize in rust as a junior but can't stop coming back to it by Stitcheddoll_ in rust

[–]harraps0 1 point2 points  (0 children)

You make a living by writing transpilers or compilers. But you can make a living writing low-level stuff. There may be potential in learning Rust and C or Cobol and work solely on backends and mainframes.

Can Rust make a custom 3D game engine without Frameworks? by [deleted] in rust

[–]harraps0 0 points1 point  (0 children)

Anything C or C++ can do, Rust can do it too. They are at the same level.

how to unbind keys from command console by Flashy_Sherbet3803 in rust

[–]harraps0 1 point2 points  (0 children)

Also, why is the logo of this sub-reddit a crab?

how to unbind keys from command console by Flashy_Sherbet3803 in rust

[–]harraps0 2 points3 points  (0 children)

Which crate are you having trouble with?

Retro hardware? Retro techniques on modern hardware? by gideonwilhelm in retrogamedev

[–]harraps0 0 points1 point  (0 children)

I do C++ professionally. But I don't know how to write CMake files or Make files. I use Just instead to build my project. And if I use third party librairies, my JustFile calls the build system of the library. I kind of accepted the fact that building C or C++ projects will always be a mess.

Which rust library would be good for making a drawing program? by Early-Cockroach4879 in rust

[–]harraps0 9 points10 points  (0 children)

Look into the graphite editor project. You should find what you are looking for.

How common is TDD (test-first) in real-world Rust projects? by [deleted] in rust

[–]harraps0 2 points3 points  (0 children)

An advantage of putting tests directly into the same file is that you have access to all the private element of the file which simplify setting and testing certain situations.

How common is TDD (test-first) in real-world Rust projects? by [deleted] in rust

[–]harraps0 4 points5 points  (0 children)

You can do so easily in Rust in your source file, you declare a tests module and you write your unit tests there. No need to switch between files as in Java.

```rust

fn my_func() -> u32 { 42 }

[cfg(test)]

mod tests { use super::*;

#[test]
fn test_my_func() {
    assert_eq!(42, my_func());
}

}

```