Live data from Hacker News

RBoy: A Gameboy Emulator in Rust

github.com

11–20 of 63 posts

Re: RBoy: A Gameboy Emulator in Rust

#11
post #7
post #6

Why must every new rust project be reported here? Are there any other languages for which every new thing is being reported as if it were some major milestone? Is it true that this happens because Amazon is astroturfing rust like mad (as suggested on this website the other day)?

Does every new rust project really get reported here, or do you just only feel the need to post about your annoyance when the projects posted here happen to be written in rust?

I wouldn't know, I hardly ever see such posts about other languages. Weird, isn't it, that only rust gets that treatment?

Re: RBoy: A Gameboy Emulator in Rust

#12
post #6

Why must every new rust project be reported here? Are there any other languages for which every new thing is being reported as if it were some major milestone? Is it true that this happens because Amazon is astroturfing rust like mad (as suggested on this website the other day)?

A couple of years ago every new Go project was being reported here; before that every new Elixir project was being reported; I don’t know if HN was around in the mid-2000’s but I’m pretty sure if it was, it would be full of every new Ruby on Rails project… these phases have been coming and going for as many years as I’ve been signed up here at least ¯\_(ツ)_/¯

Re: RBoy: A Gameboy Emulator in Rust

#13
I had a quick look at the big match expressions, and this does not look like this project has been through cargo fmt (it would add +2000 lines of code for the whole project). Which is probably a good choice, but as someone who's been looking at this, I wonder if the tradeoffs made in rustfmt are the right ones (note: I have no idea how I would make this better for the general case).

Re: RBoy: A Gameboy Emulator in Rust

#14
post #7

Earlier quoted context omitted.

Does every new rust project really get reported here, or do you just only feel the need to post about your annoyance when the projects posted here happen to be written in rust?

I wouldn't know, I hardly ever see such posts about other languages. Weird, isn't it, that only rust gets that treatment?

As of writing this the font page has the following:

* Slacktyping: I'm typing when you're typing (2018)

* The world's worst Linux kernel module

* Show HN: Go playground powered by WASM that runs in the browser

* Elk: A low footprint JavaScript engine for embedded systems

Re: RBoy: A Gameboy Emulator in Rust

#15
post #6

Why must every new rust project be reported here? Are there any other languages for which every new thing is being reported as if it were some major milestone? Is it true that this happens because Amazon is astroturfing rust like mad (as suggested on this website the other day)?

Yes they are, or better said, they were when they had the spotlight and the stage.

Now Rust has the spotlight and the stage.

In one, two years time, that will be Zig, Nim, ..., or some strage one that finally gets an ergonomic way to do dependent types for mainstream developers.

Re: RBoy: A Gameboy Emulator in Rust

#16
post #3

A rust port for the gameboy, that would have been impressive...

there's only a barely working, undocumented backend for LLVM on the z80. You could probably do this with mrustc.

You could, but given that even C and Pascal hardly take advantage of Z80, and have to be used as some kind of fancy macro Assembler, better just deal with Z80 Assembly directly.

But then I am biased, having the Z80 opcodes burned in my brain due to the Speccy days.

Re: RBoy: A Gameboy Emulator in Rust

#17
post #7

Earlier quoted context omitted.

Does every new rust project really get reported here, or do you just only feel the need to post about your annoyance when the projects posted here happen to be written in rust?

I wouldn't know, I hardly ever see such posts about other languages. Weird, isn't it, that only rust gets that treatment?

Even just the specific example of Gameboy emulators regularly has examples on the front page, regardless of language. (E.g. in the past year some in c++, going back there's ones in JS/Typescript, ...)

Re: RBoy: A Gameboy Emulator in Rust

#18
post #3

A rust port for the gameboy, that would have been impressive...

there's only a barely working, undocumented backend for LLVM on the z80. You could probably do this with mrustc.

The Game Boy doesn't use a Z80 though. It's based on a SM83 core, an obscure Sharp design.

Re: RBoy: A Gameboy Emulator in Rust

#20
post #18

Earlier quoted context omitted.

there's only a barely working, undocumented backend for LLVM on the z80. You could probably do this with mrustc.

The Game Boy doesn't use a Z80 though. It's based on a SM83 core, an obscure Sharp design.

True, but the instruction set is very close, so a Z80 implementation is a good starting point.
Post reply on HN