There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

silva ,

<span style="color:#323232;">Segmentation fault (core dumped)
</span>
Andromxda OP ,
@Andromxda@lemmy.dbzer0.com avatar

Well technically that’s not part of the compiler

TxzK ,

what if your code was so shity that it caused the compiler to segfault?

onlinepersona ,

Meta programming is capable of that. People have written entire text-driven games that run in the compiler.

Anti Commercial-AI license

5C5C5C ,

A good enough compiler would prevent them from happening 🦀

1984 ,
@1984@lemmy.today avatar

Sure, if we didn’t have the need to procreate or the need for a life companion, the computer would be the perfect partner.

But since we are not machines quite yet…

UndercoverUlrikHD ,

the need for a life companion

Don’t worry, computers got that covered too now !aicompanions

ThePantser ,
@ThePantser@lemmy.world avatar

You fuck your complier?

pivot_root ,

You don’t?

bolexforsoup ,

Boomer humor

Zorque ,

Wife bad.

cheddar ,
@cheddar@programming.dev avatar

needs a few seconds to run

Depends on what you’re compiling!

gnutrino ,

It’s always true for sufficiently large values of “a few”

mormegil ,
@mormegil@programming.dev avatar

Tells you exactly what and at which line the problem is?

Syntax error: unmatched thing in thing from std::nonstd::__map<_Cyrillic, _$$$dollars>const basic_string<epic_mystery,mongoose_traits<char>, __default_alloc_<casual_Fridays = maybe>>

0x0 ,

Java has entered the chat…

chevy9294 ,

Does your compiler not do that? Maybe you should breakup with it and get rustc compiler.

Andromxda OP ,
@Andromxda@lemmy.dbzer0.com avatar

rustc is truly awesome

RustyNova ,

Well until you are deep into trait/future/generic territory. Because then you’ll go in big fuck (full type being in a separate file) not being correct somewhere in this shit.

Don’t get me wrong, I love rust. But those area really need some love

5C5C5C ,

Still much better than C++ templates, and I say that as someone who used to genuinely love C++ template metaprogramming. Admittedly Rust traits+generics are far more limited than C++ templates, but very often I find that to be a positive. The list of things that I feel traits+generics are missing is small and rapidly shrinking.

Ephera ,

I was going to respond with “Segmentation fault”. Truly a classic.

(Yes, that’s not a compile error, but well, it should be.)

palordrolap ,

Well, it is theoretically possible for code to cause a compiler to segfault. As for how, well that's a different matter. You'll need deep knowledge of the compiler, or else the assuredness that it can't possibly happen. Because then it will.

Wappen ,

Oh God the horrors. The only part of these errors I ever remembered was “basic_string” everything else was the syntactic gibberish you wonderfully demonstrated.

pivot_root ,

The “++” in C++ stands for extra verbose.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines