That intro was very cool! Does anyone have pointers for a fullstack web dev who is interested in the demoscene (or computer generated art in general)? I've actually played around a bit with rust [1] (I understand it probably isn't ideal for demoscence), but I haven't really done any graphics programming before. I get the feeling it is a pretty deep rabbit hole. [1] https://github.com/dwaltrip/advent-of-code-2019-rust
Writing a winning 4K intro in Rust
41–50 of 94 posts
Re: Writing a winning 4K intro in Rust
#42I love the demo scene, but the culture is kind of strange. Like I've been fooling around with the C64, and all the tools (emulators, debuggers, and etc) are hosted on source forge, or sometimes this random ftp. The author of the debugger I'm using proudly proclaims that he only works on it when he's fucked up on drugs after parties. The documentation of some tools has lewd ascii art, and etc etc. I appreciate the ant…
As far as I am aware, the only known bypass of a particular iOS security mitigation has a note in it from the author notifying readers that they’ll only understand it after they “hit a blunt”. Said author also enjoys referencing Kim Jong Un in their work. It’s not just the demoscene that’s like this.
Re: Writing a winning 4K intro in Rust
#43As author mentions, it is non-idiomatic Rust with lots of unsafe's, basically writing C code with Rust compiler.
Re: Writing a winning 4K intro in Rust
#44I love the demo scene, but the culture is kind of strange. Like I've been fooling around with the C64, and all the tools (emulators, debuggers, and etc) are hosted on source forge, or sometimes this random ftp. The author of the debugger I'm using proudly proclaims that he only works on it when he's fucked up on drugs after parties. The documentation of some tools has lewd ascii art, and etc etc. I appreciate the ant…
Re: Writing a winning 4K intro in Rust
#45Looks nifty. Seems to only compile on Win though: $ xargo run For more information about this error, try `rustc --explain E0463`. error: could not compile `winapi`. Still, probably good for interest/learning from. :)
Hm so it's leveraging the Windows API. I thought demos were supposed to be bare-metal.
I think it could be summarized as "write a demo for the target platform as efficiently as possible". Doesn't necessarily need to be bare metal, there are JS demos that run in the browser as well. In that case the browser (with all its APIs) is the target platform.
Re: Writing a winning 4K intro in Rust
#46That intro was very cool! Does anyone have pointers for a fullstack web dev who is interested in the demoscene (or computer generated art in general)? I've actually played around a bit with rust [1] (I understand it probably isn't ideal for demoscence), but I haven't really done any graphics programming before. I get the feeling it is a pretty deep rabbit hole. [1] https://github.com/dwaltrip/advent-of-code-2019-rust
Re: Writing a winning 4K intro in Rust
#47Earlier quoted context omitted.
I'm surprised someone on HN since 2012 would learn about the demoscene today! Then again, it's true that the demoscene "keeps to itself", it's always been quite the bubble. I'm not sure how that community could do some outreach, but I believe a lot more people would find it interesting.
Something something lucky 10,000
It's a citation I want to give out surprisingly often.
Re: Writing a winning 4K intro in Rust
#48As author mentions, it is non-idiomatic Rust with lots of unsafe's, basically writing C code with Rust compiler.
This is not true. Unsafe only disables a few safety features. There are still a bunch left on so unsafe rust is still more safety checked than C.
Re: Writing a winning 4K intro in Rust
#49TIL: about the Demoscene[1], "an international computer art subculture focused on producing demos: self-contained, sometimes extremely small, computer programs that produce audio-visual presentations. The purpose of a demo is to show off programming, visual art, and musical skills. Demos and other demoscene productions are shared at festivals known as demoparties, voted on by those who attend, and released online." […
I'm surprised someone on HN since 2012 would learn about the demoscene today! Then again, it's true that the demoscene "keeps to itself", it's always been quite the bubble. I'm not sure how that community could do some outreach, but I believe a lot more people would find it interesting.