meetingcpp, to cpp German
@meetingcpp@mastodon.online avatar

Per-Magnus Holtmo: Using gRPC to fight Mordor
https://www.youtube.com/watch?v=lesTvLzTrmg

kdab, to rust
@kdab@techhub.social avatar

On top of the recently added and libraries, you can now also find the Slint source code on codebrowser.dev - the online code browser allowing you to browse just like in your IDE. Try it out and let us know what you think about this addition: https://codebrowser.dev/slint/slint/ @slint

AminiAllight, to cpp
@AminiAllight@mastodon.gamedev.place avatar

I've released a clang tidy for C/C++ that finds division by non-constant values to help you search for possible division-by-zero in your codebase!
This is mostly a tool I built for myself to help with LMOD development but others might find it useful too
https://github.com/amini-allight/clang-tidy-division-by-non-constant
#softwaredevelopment #cpp #cplusplus #opensource

molecularmusing, to gamedev
@molecularmusing@mastodon.gamedev.place avatar

Live++ 2.4.1 out now:
Optimized loading times and performance, task bar progress, a few XSX-specific improvements, and the first beta version for PS5.

mort, to vim
@mort@fosstodon.org avatar

Does anyone know how to get #vim or #neovim'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

#CPP #C

alvinashcraft, to cpp
@alvinashcraft@hachyderm.io avatar
SirLich, to foss
@SirLich@mastodon.gamedev.place avatar

An analysis of Audacity forks in 2024.

The main contributors to Audacity are Paul (5k), and James (2k, but stopped contributing after Muse Group).

The main contributor to Tenacity is 'generic-pers0n', and this account has apparently only begun commits after the fork. A daunting task!

My analysis is that Tenacity is "alive" but not "well". Since no Audacity contributors are active, this fork has an uphill battle!

#foss #FossInAction #fosstodon #programming #github #audacity #tenacity #cpp

alilleybrinker, to rust
@alilleybrinker@hachyderm.io avatar

Herb Sutter, chair of the ISO C++ Committee, has a new deep dive on improving safety in C++.

I’m glad to see the C++ leadership taking this seriously. This is a more level-headed and serious take than those I’ve seen previously.

https://herbsutter.com/2024/03/11/safety-in-context/

ncrav, to nature
@ncrav@mas.to avatar

Time for a re- for newer mastodon souls!

Hello! I'm Nuno and this is Lua :DsaprvingLua: !

I do solution architecture, data processing, statistics, and machine learning for a living.

Lua is a master and a connoisseur of the best gourmet woods.

My interests are:






of ideas











fell, to cpp
@fell@ma.fellr.net avatar

C++ compiler be like:

error LNK2001: unresolved external symbol "public: static class std::unordered_map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,unsigned int,struct std::hash<class std::basic_string<char,struct std::char_traits<cha r>,class std::allocator<char> > >,struct std::equal_to<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,unsigned int> > > TextureStore::texture_cache" (?texture_cache@TextureStore@@2V?$unordered_map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IU?$hash@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@U?$equal_to@V?$basic_string@DU?$char_traits @D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@I@std@@@2@@std@@A)

And expect me to casually read that and go "Ah, I see".

mo8it, to rust
@mo8it@fosstodon.org avatar

Secure by Design: Google’s Perspective on Memory Safety

https://security.googleblog.com/2024/03/secure-by-design-googles-perspective-on.html

I think that the title addresses 2 very popular arguments:

  1. The skill issue "argument" 🤢
  2. The "but, but modern C++" argument 😟

Here is a link to the paper:
https://storage.googleapis.com/gweb-research2023-media/pubtools/pdf/0d8ad2cd7c5c02835c024af736844c722e7fa0f9.pdf

#C

The "Our investments in memory-safe languages" section of the linked page.

fell, to programming
@fell@ma.fellr.net avatar

Good morning everyone ☕

fatal error C1001: Internal compiler error.  
error D8040: error creating or communicating with child process  

MSVC agrees: It sure is a monday.

fbuontempo, to cpp
@fbuontempo@mastodon.social avatar

I received copies of my new #Cpp book today. I managed to keep it short and still cover lots.

Crell, to cpp
@Crell@phpc.social avatar
abnv, to FunctionalProgramming
@abnv@fantastic.earth avatar

I learned #FunctionalProgramming to escape the imperative programming languages, which in turn got me interested into #Compilers and #ProgrammingLanguages. Turns out, most of the real-world compilers are written in C and C++, so here I am back at square one.

After years of avoiding it for decades, I taught myself #Cpp in the last couple of weeks. So anyway, does anyone want me to write a series of #blog posts about making a #Lisp interpreter (https://github.com/kanaka/mal) in C++?

TehPenguin, to cpp
@TehPenguin@hachyderm.io avatar

I think the most interesting thing about the White House announcement today is the discussion of software metrics. Anyone who's had to deal with "enterprise" software has experienced the CIO buying some slideware which you then have to use/manage/secure. It'd be nice to point to a set of industry standard metrics and say "how about we don't buy the thing with a negative ROI... "

#cpp #rust #cybersecurity

https://www.whitehouse.gov/oncd/briefing-room/2024/02/26/press-release-technical-report/

AugierLe42e, to programming French
@AugierLe42e@diaspodon.fr avatar

How I Wrote a Modern C++ Library in Rust

https://hsivonen.fi/modern-cpp-in-rust/

#programming #cpp #Rust

omenos, to programming
@omenos@fosstodon.org avatar

Decided to try and compare the general base program size of several languages. I wrote a handful of Hello World programs, and stripped them of everything. Here's the final results in KiB:

strip -s -o ${lang}_strip
du *_strip

C: 16
C++: 76
Go: 1204
Hare: 220
Rust: 352

#c

omenos,
@omenos@fosstodon.org avatar

@drewdevault @synlogic I was a bit surprised about that myself.

I just ran a #C, #CPP, and #Rust static build followup and stripped they are:

C: 692
C++: 1784
Rust: 444

(for Rust I used "rustc --target x86_64-unknown-linux-musl -O -o rust main.rs)

My Hare build was 0.24.0-rc1, I never got my COPR updated past that :D

simontoth, to cpp
@simontoth@hachyderm.io avatar

The std::forward is a conditional r-value (specifically x-value) cast.

std::forward is primarily designed to work in conjunction with universal references and will only cast to an r-value if the template argument isn't an l-value reference type.

Compiler Explorer link: https://compiler-explorer.com/z/E5dcPh6T3

secana, to cpp
@secana@mastodon.social avatar

Today I'm going to give a talk on wrapping in to a bunch of developers. Let's see how that goes...

tetrislife, to cpp

@lxo the mailing list seemed inactive, and Arsen: on IRC mentioned this as your idea for an server, so ...

[ Big fan, especially of your linux-libre work
and your stint on the FSF board ]

As a dev, it is a sorry state - impotent ctags/etags/global on one side, the overkill that is ccls on the other. I came round to DWARF debuginfo as a reliable source, but not wanting to build off libelf myself ... and to your idea apparently, of using GDB itself as a langserver.

Over.

AminiAllight, to cpp
@AminiAllight@mastodon.gamedev.place avatar

Does anyone know anything about compiling with debug symbols enabled under MSYS2 (without works fine)? I'm getting this weird link error "relocation truncated to fit: IMAGE_REL_AMD64_REL32 against .rdata", on both GCC and Clang, seems to be tied to std::function somehow

Boosts for visibility appreciated!
#cpp #programming #softwaredevelopment #cplusplus

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

My networking code is doomed to never get itself into production. What the hell is this error about?

doctormo, to cpp
@doctormo@floss.social avatar

I need help.

I need #cpp guidance. I have a review comment on my cmyk color refactoring MR which can only be described as "throw it all away and try again"

And having spent four months full time writing it. I'm deeply committed to the code and quite proud of the code quality.

Would anyone be available to verify or disqualify the concerns in this comment here: https://gitlab.com/inkscape/inkscape/-/merge_requests/6150#note_1777636743 it would be deeply helpful to me (and my sanity)

#programming #foss #oss

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