jarkko, to rust
@jarkko@social.kernel.org avatar

I think there would be still space for systems programming language with a constraint from day zero that it would 1:1 compatible with plain C”s binary layout and memory model:

  1. Roughly just .text, .bss, .rodata and ,data.
  2. No symbol mangling at all.

All the memory safety etc. fancy features would be then designed within exactly those constraints.

is essentially a derivative of C++ when compiled to binary, which does not really make it a strong competitor for plain #C. It can substitute C in many cases for sure, just like C++ did, but there’s always need for minimal systems programming language, which also looks elegant in binary, not just in source code.

A compiled C program can be quite easily understood with a binary with no debug symbols at all if you understand the CPU architecture well enough. That is, and will be a strong asset for C.

tripleo, to random
@tripleo@fosstodon.org avatar

All you nutcases still using #Perl, what's actually wrong with it?

aka What are the sharp edges?

mjgardner,
@mjgardner@social.sdf.org avatar

@tripleo I would also be remiss not to mention 's included perltrap manual page, which notes both the strict and warnings pragmas and also has nice lists of things for those coming from other languages and tools like , #C and , , , and .

https://perldoc.perl.org/perltrap

DanielaKEngert, to cpp
@DanielaKEngert@hachyderm.io avatar

Dear Fediverse,

in case you care, I'd love if you'd vote for this issue of mine:

https://developercommunity.visualstudio.com/t/Cconstant-evaluationModules-Cons/10661450

Serious constant evaluation and C++ modules seem to live on different planets.

Thanks, much appreciated! 🩷

gabrielesvelto, (edited ) to rust
@gabrielesvelto@fosstodon.org avatar

If you're doing a lot of work in C/C++/Rust consider using sccache to cache compilations. It's easy to set up and will save you a lot of time and a huge amount of power.

https://github.com/mozilla/sccache

As an example this is just a couple of hours of work on Firefox, it saved me from re-running the compiler almost 90% of the time.

foonathan, to cpp
@foonathan@fosstodon.org avatar

I've written a trip report for C++Now 2024, one of the best conferences I've ever attended: https://www.think-cell.com/en/career/devblog/trip-report-cpp-now-2024

looopTools, to rust
@looopTools@mastodon.social avatar

I keep looking at rust and thinking "Gods it seems to be an awesome language"... Then I read and hear about a lot of hassels moving from C or C++ to rust and never really any massive success stories... are the massive success stories out there?

markuswerle,
@markuswerle@nrw.social avatar

@looopTools I am 100% pro and against the hype around , but be fair, Rust has quite some success. Take e.g. , which is written in Rust. is going to be rewritten in it. In the command line world there are many useful and performant tools like ripgrep which are better than what we had before.

https://gist.github.com/sts10/daadbc2f403bdffad1b6d33aff016c0a

krans,
@krans@mastodon.me.uk avatar

@looopTools is a massive success story for Rust. After multiple attempts to write a multi threaded style engine in C++, and getting completely destroyed by data races on each attempt, funded Rust , and then used it to write a high performance multi threaded styling engine () with no crashes or data races on basically the first attempt.

gracicot, to cpp
@gracicot@mastodon.social avatar

Crashing MSVC is too mainstream. Cool kids crash clang

DM_Ronin, to programming
@DM_Ronin@mstdn.social avatar

explaining pointers like you're 5

#C

DM_Ronin,
@DM_Ronin@mstdn.social avatar

explaining pointers like you're 5, part 2

#C

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