aeva,
@aeva@mastodon.gamedev.place avatar

I saw a C# library earlier that boasted that part of it was "optimized using unsafe code".

A friend already clued me in on how and why the unsafe modifier carrying a positive general sentiment for C# programmers, so I gather that this just means "I used the language's low level programming features to tighten up a hot path", but I can't help but giggle at what that sounds like.

Matusson,

@aeva it's no fun if there's no risk of memory corruption :(

aeva,
@aeva@mastodon.gamedev.place avatar

@Matusson I don't think there's any significant risk of that from the description of the library I was reading

aeva,
@aeva@mastodon.gamedev.place avatar

See, as a C++ programmer, I'm used to the word either meaning I'm reading or writing a bug report or a Rust programmer is going on about something that vaguely reminds me of Catholicism

aeva,
@aeva@mastodon.gamedev.place avatar

and before anyone starts pearl clutching, the unsafe thing the library was bragging about doing was something to the effect of "upload data to a gpu buffer the normal way"

geoffeep,

@aeva How dare you come for "unsafe", next you'll be giggling over C# giving you "unboxing" surprise performance presents!! :P

brazmogu,
@brazmogu@mastodon.gamedev.place avatar

@aeva "this code was written without training wheels"

In hindsight, this sounds way more condescending than what I expected; perhaps "guardrails" are a better metaphor? I'm already overthinking this toot

rygorous,
@rygorous@mastodon.gamedev.place avatar

@aeva funsafe code

fallible,
@fallible@mastodon.gamedev.place avatar

@aeva rust enthusiasts do not want to know what I've been doing with their language

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • everett
  • magazineikmin
  • mdbf
  • ethstaker
  • thenastyranch
  • rosin
  • Youngstown
  • GTA5RPClips
  • slotface
  • InstantRegret
  • kavyap
  • DreamBathrooms
  • cisconetworking
  • ngwrru68w68
  • provamag3
  • osvaldo12
  • tacticalgear
  • Durango
  • cubers
  • khanakhh
  • tester
  • normalnudes
  • modclub
  • megavids
  • Leos
  • anitta
  • JUstTest
  • lostlight
  • All magazines