@gracicot@mastodon.social avatar

gracicot

@gracicot@mastodon.social

C++ programmer, He/Him. Making an engine and games for fun. I love posting horrible CMake code here

This profile is from a federated server and may be incomplete. Browse more on the original instance.

mcc, to random
@mcc@mastodon.social avatar

So I spent a big chunk of my life living next door to Louisiana (Houston) and now I live next door to Quebec (Toronto) and it just this moment occurred to me to check if Quebec has beignets. Like, I'd simply assumed if I ever went liking for beignets I'd find them. So I asked a Quebecoise friend, and

Okay, so they do have them, but—

Quebec beignets have holes???

My world is (topologically speaking) rocked

gracicot,
@gracicot@mastodon.social avatar

@mcc potato maple beignets are the best

gracicot, to random
@gracicot@mastodon.social avatar
gracicot,
@gracicot@mastodon.social avatar

I was flabbergasted. I didn't expect it to be so bright and so colorful. Truly a spectacle!

jakub_neruda, to cpp Czech
@jakub_neruda@techhub.social avatar

Funny. I removed all modules from my C++ codebase (roughly 10% of it) and I got about 10-16% shorter compilation times. Not to mention Intellisense no longer crashing all over the place.

I wonder if it ever be a worthwhile feature to use.

gracicot,
@gracicot@mastodon.social avatar

@jakub_neruda the feature is not ready for prime time. Don't use it if the bleeding crashing edge is not your thing.

For compilation speed, it depends how fine grained your modules are. The smaller your modules are, the longer the compile time. They are not meant to replace headers 1:1. A good example is the STL, where any other splitting than just import std was found to be slower.

gracicot, to cpp
@gracicot@mastodon.social avatar

Crashing MSVC is too mainstream. Cool kids crash clang

#cpp #cplusplus #clang

aks, to cpp
@aks@scalie.zone avatar

Ok #cpp folks.

Is using static always evil or is having something like game state (paused, running, in menu etc) inside a static variable ok?

Or do i have to pass it around everywhere?

#programming

gracicot,
@gracicot@mastodon.social avatar

@aks usually, you should use a static function scope variable to create a singleton. Then you do your stuff through it.

I usually avoid global mutable variables though, or singleton of any form.

gracicot, to random
@gracicot@mastodon.social avatar

I'm not made to deal with this bullshit...

Schlangenmensch, to cpp German
@Schlangenmensch@mastodon.social avatar

Does anybody know when it will be possible to mix #c++ named and classic with ?

gracicot, (edited )
@gracicot@mastodon.social avatar

@Schlangenmensch from what I understood, you can include then import, but not the other way around. Minus bugs of course

vitaut, to random
@vitaut@mastodon.social avatar

Wait, what? {fmt} and vulkan-hpp are the only two modularized projects? https://arewemodulesyet.org/

gracicot,
@gracicot@mastodon.social avatar

@vitaut no libraries got the clown emoji award yet?? Disappointed

gracicot, to random
@gracicot@mastodon.social avatar

It's happening soon. There's not a cloud in sight!

gracicot,
@gracicot@mastodon.social avatar

Towards totality

gracicot,
@gracicot@mastodon.social avatar

I'm still shaking. It was just like seeing a new color for the first time. It's impossible to explain how this felt. I'm truly grateful for this experience.

Total solar eclipse

vitaut, to random
@vitaut@mastodon.social avatar

Module support in MSVC is a garbage fire https://github.com/fmtlib/fmt/issues/3921

gracicot,
@gracicot@mastodon.social avatar

@vitaut MSVC support is excellent, as long as you're only doing hello world, just like how they test before calling a feature "ready"

olafurw, to random
@olafurw@mastodon.social avatar

A formal specification for a C++ package and dependency manager has been published. This will be very interesting for the language going forwards.

See: https://isocpp.org/ for more info.

gracicot,
@gracicot@mastodon.social avatar

@olafurw why 😭

herzenschein, to random
@herzenschein@furry.engineer avatar

Maybe my next tech goal should be to get a Raspberry Pi 3 or 4. Here in Brazil there's finally an official reseller that's not too expensive and actually has them in stock.

Like maybe in two or three months?

The 10+ year old computer I've been using as a music server is close to dying too, and a Raspberry Pi would be more power efficient.

Alternatively I could use it to play with embedded Qt and Yocto.

gracicot,
@gracicot@mastodon.social avatar

@herzenschein electronics in Brazil are just so hard to find. I was just looking for a pendrive with usb 3 support and we ended up in a super fancy specialized electronics store just to find it.

eniko, to random
@eniko@peoplemaking.games avatar

god its such a massive difference between my energy levels before i started taking vitamin D supplements and after. before it felt like i never had energy to do literally anything. now i can get through my day okay

gracicot,
@gracicot@mastodon.social avatar

@eniko oh interesting. It's been a while I have low energy and I don't get much sunlight these days. It could be that!

sehe, to random
@sehe@fosstodon.org avatar

Really warming up to NixOs by just enjoying seemless bleeding edge packages under Ubuntu using Home Manager.

People have been telling me for years. I should have tried harder before.

I'm still not convinced it's worth going cold-turkey since pure NixOs seems like an awful lot of reinventing the same old boring stuff in a new way (but for the last time?! famous promise). The mix is fantastic. Blows docker out of the water. Really nice for CI/QA

gracicot,
@gracicot@mastodon.social avatar

@sehe I'm still slowly getting used to flakes. One step at a time :P

shafik, to random
@shafik@hachyderm.io avatar

This one goes out to my WG21 peeps

gracicot,
@gracicot@mastodon.social avatar

@shafik I feel personally attacked

gracicot,
@gracicot@mastodon.social avatar

@shafik Like, literally I read P3096 and told myself "omg, that paper is right in my expertise area, this is my chance! I have to get involved" So yeah... 😅

And I love Junji Ito's work, simply amazing stuff

gracicot, to ADHD
@gracicot@mastodon.social avatar

So today I learned that my head is still completely chaotic. What I'm writing is so dense in information and goes in so many directions I doubt anyone would have a good time trying to decipher the feedback I'm trying to give 😭

mort, to vim
@mort@fosstodon.org avatar

Does anyone know how to get or 's C and C++ indenter to indent switch statements sanely? I don't want this sort of alignment at all, and I certainly don't want it to align with a mix of tabs and spaces

#C

gracicot,
@gracicot@mastodon.social avatar

@mort Clang format keep trying to align the inside of blocks sometimes. It drives me crazy. Who wants to read code that starts at column 70??

Sdowney, to random
@Sdowney@mastodon.social avatar

Off to Tokyo for the C++ ISO meeting!

14 hours in a tiny box with a 24 inch monitor. It will be just like home.

gracicot,
@gracicot@mastodon.social avatar

@Sdowney Dang, I had some feedback for a paper. I think I'll try to send it as an email to the SG7 mailing tonight. One reflection paper is proposing features for dependency injection, and I'm the maintainer of a DI lib. I think this paper is missing a couple of really important detail to do proper DI.

gracicot, (edited )
@gracicot@mastodon.social avatar

@Sdowney I sent the message on SG7 mailing. I hope I'm not too late for the meeting that is happening and I hope what I'm talking about is not too crazy 😅 🤞

gracicot, (edited )
@gracicot@mastodon.social avatar

@DanielaKEngert @Sdowney I haven't written or helped on a paper yet. I just gave my feedback on the SG7 mailing list, I thought it could be useful material for the author. If I ever help on the paper I guess that would probably be after the post Tokyo.

gracicot, to Cats
@gracicot@mastodon.social avatar

Happy ! We got a lazy one over here!

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