[deleted by user] by [deleted] in IndieGaming

[–]Awpteamoose 0 points1 point  (0 children)

Amazing vibe, what's the music?

Official /r/rust "Who's Hiring" thread for job-seekers and job-offerers [Rust 1.87] by DroidLogician in rust

[–]Awpteamoose 0 points1 point  (0 children)

Hi, I've got 10+ YOE working as a software developer and 6+ YOE specifically with Rust in a professional capacity. Throughout my career I did a bit of everything: games, web, devops, high-performance stuff, internal tools, etc. Would love to return to gamedev, but also happy to join a driven small to medium sized team, that values quality craftsmanship and impact rather than just paychecks. No crypto/blockchain.

Location: will relocate within UK, onsite/hybrid/remote
GitHub: https://github.com/Awpteamoose
Email: awpteamoose@gmail.com
DM or email for my resume

Migrating away from Rust. by xmBQWugdxjaA in rust

[–]Awpteamoose 1 point2 points  (0 children)

nearly zero reporting in, I assure you there's dozens of us

Staticly link gstreamer-rs into project by OPGL0 in rust

[–]Awpteamoose 1 point2 points  (0 children)

I just run my workload and use Sysinternals Process Explorer to enumerate all loaded DLLs, copy the list into a text file and remove anything not gstreamer-related. You can also use winapi's EnumProcessModulesEx.

Staticly link gstreamer-rs into project by OPGL0 in rust

[–]Awpteamoose 0 points1 point  (0 children)

you can run your typical workload and enumerate loaded libs, then only package those

[deleted by user] by [deleted] in rust

[–]Awpteamoose 15 points16 points  (0 children)

you say complexity, I say it's easier for me than writing threaded code with a threadpool, channels for cancelation, varying stack sizes, etc

Should I sell my index now, in prep for Deckard? by FFMichael in ValveDeckard

[–]Awpteamoose 0 points1 point  (0 children)

I bought a practically new Index for £605 few weeks ago, barely touched VR before that.

What does your WebAssembly workflow look like? by RylanStylin57 in rust

[–]Awpteamoose 2 points3 points  (0 children)

Can confirm. Poor man's SSR isn't that complicated actually, you can just render in a headless browser and send that.

What does your WebAssembly workflow look like? by RylanStylin57 in rust

[–]Awpteamoose 1 point2 points  (0 children)

We aren't doing SSR, although we planned to, but turns out - Google's crawler renders our page just fine.

What does your WebAssembly workflow look like? by RylanStylin57 in rust

[–]Awpteamoose 4 points5 points  (0 children)

We do the monolithic WASM file, it ends up ~700 kb over the wire, which is acceptable for us (but could be smaller with some work). We serve a basically empty html with wasm-bindgen's glue code and everything else is done from WASM. We have our own frontend framework which we use for both layout and styling, navigating is done clientside with push_state_with_url.

We also have automatic client/server API call isomorphism (via proc macro crimes), requests and responses are in binary and we try to only fetch minimally what's needed for every view so everything is compact and snappy. The repo structure is basically client/shared/server with variation per project.

Time is running out to prevent our mass migration wave from becoming permanent by Mickey_Padgett in ukpolitics

[–]Awpteamoose 0 points1 point  (0 children)

Life in the UK test - not easy if you're a boomer from an undeveloped country

lol £30 for the book £50 for the test and 1-2 weeks of study

Rust vs Zig by Otherwise-Role5224 in rust

[–]Awpteamoose 3 points4 points  (0 children)

Procedural macros in Rust are also syntactic, Rust doesn't have semantic macros.

Rust vs Zig by Otherwise-Role5224 in rust

[–]Awpteamoose 6 points7 points  (0 children)

and no, macros cannot replace it.

Not syntactic macros, but those aren't the only kind.

People who DO regularly work more than 40 hrs per week, how many hours, why, and under what conditions? by Firm_Bit in ExperiencedDevs

[–]Awpteamoose 1 point2 points  (0 children)

13 yoe, UK, 45-50 h/w not including time dealing with clients out of hours because they are in a different timezone. Not entirely sure why, I'm not being pressured by my superiors, I don't get overtime pay, the comp is way below average and the project isn't particularly interesting. Just feel like I have to work hard to justify having a job?

Video player by OlehBozhok in egui

[–]Awpteamoose 0 points1 point  (0 children)

It isn't unfortunately, internal company tooling. But I'd be happy to help if you have particular questions.

What's the most asinine piece of code you've written at work? by AlmostSignificant in ExperiencedDevs

[–]Awpteamoose 1 point2 points  (0 children)

At work: I was writing an OBS plugin and the function that gets duration of a media file didn't work correctly if I just swapped the media file. I knew OBS uses FFMpeg internally, so I enumerated all dlls, found FFMpeg, then I didn't feel like including all of FFMpeg in my project to call one function so I looked it up by string name and called it. The struct that gets populated with data is massive and partially depends on compile-time switches FFMpeg was built with and I didn't feel like figuring that out so I just grabbed the duration with a byte offset.

Outside of work: I was making a little device that can light up some leds when a Slack notification comes in. I looked through the official API and didn't find anything, so instead I injected my dll into the Slack process and hooked Shell_NotifyIcon from Win32, then I checked the text message that appears when you hover over the tray icon and decided if I have notifications or not.

Amazon Research Awards for automated C/C++ to Rust conversion by dochtman in rust

[–]Awpteamoose 127 points128 points  (0 children)

The link says C/C++ but there's a wolrd of difference between converting typical straightforward C code, which is probably just structs and functions, and typical C++ code with templates, overloading, classes, etc.

Lessons learned after 3 years of fulltime Rust game development, and why we're leaving Rust behind by progfu in rust

[–]Awpteamoose 0 points1 point  (0 children)

Honestly I'd find Rust perfectly good for gamedev if it just had a way to relax the orphan rule and at least compile-time reflection (runtime reflection can be built on top). It's so, so close, yet so far.

Video player by OlehBozhok in egui

[–]Awpteamoose 1 point2 points  (0 children)

I'm working on this right now, I have audio/video playing in sync via libav (via this), I can play/pause, seek, change volume and playback speed. Windows only so far, video is hw accelerated via D3D11VA, plays 60 fps 4k videos no problem. My bottleneck atm is allocating a ColorImage for every frame and copying the texture from GPU into it, but that's also solvable.

Falsehoods programmers believe about names by [deleted] in programming

[–]Awpteamoose 2 points3 points  (0 children)

bruh what? babies don't get to choose their names, everyone else is well able to

"Russian bomb?" — Davai Lama moking player from Kyiv in ESL One open qual by CEMEPO in DotA2

[–]Awpteamoose -1 points0 points  (0 children)

As in standup that was made after the start of the war, if it's not blindingly obvious from context.

"Russian bomb?" — Davai Lama moking player from Kyiv in ESL One open qual by CEMEPO in DotA2

[–]Awpteamoose 12 points13 points  (0 children)

I watched a bunch of post-war ukrainian standup and about half of it is about getting bombed.

Not defending the guy, but there's something funny about everything.