0xDEADBEEFCAFE

joined 2 years ago

Right, so you can't "enforce" a return from the function.

[–] 0xDEADBEEFCAFE@programming.dev 8 points 2 days ago (2 children)

shouldn’t Rust enforce returning from function

How do you enforce returning from exit or a function with a loop that never terminates?

[–] 0xDEADBEEFCAFE@programming.dev 22 points 2 weeks ago (1 children)

You're kidding yourself if you think most people in this thread are actually programmers. Most people here wouldn't know the difference between C and Rust code if they saw it, let alone be able to write anything in either language.

[–] 0xDEADBEEFCAFE@programming.dev 15 points 8 months ago

I also don't think people should learn to code but that's because I want to limit the available workforce and inflate my wages.

[–] 0xDEADBEEFCAFE@programming.dev 10 points 8 months ago (1 children)

We have already accomplished a great deal. Compile-time C++ is already fully free of UB, which means a huge chunk of real-world C++ is already UB-free today.

This statement is so categorically ridiculous that I have no choice but to assume that Herb Sutter is deliberately trying to mislead people. I would be very surprised if even 5% of "real-world C++" occurred at compile time. In fact, I would be very surprised if even 5% of "real-world C++" was valid constexpr that just ran at runtime.

[–] 0xDEADBEEFCAFE@programming.dev 2 points 8 months ago

"Duo Code Review" just seems to be AI trash instead of an actually useful feature. I was hoping it would be some new way of code review or something.

[–] 0xDEADBEEFCAFE@programming.dev 6 points 8 months ago

You can tell he's a simple minded idiot because Jabbascript and Go aren't immediate disqualifiers in all scenarios.

[–] 0xDEADBEEFCAFE@programming.dev 1 points 8 months ago

I was more thinking along the lines of having FOSS repos that are primarily used by me but which can accept external pull requests by anybody with a Github account.

I like the idea of running my own machine for CI but I don't like the idea of having to become knowledgeable about avoiding exploits.

[–] 0xDEADBEEFCAFE@programming.dev 1 points 8 months ago (2 children)

Just self host an open source runner like woodpecker and you’ll never have to move again

How painful is the setup and general maintenance/security?

I'm considering the idea but I just don't want to deal with people abusing exploits in the actions that give them access to my LAN.

 

I can't wait to try out the groundbreaking but still traditional and comfortable C++ Profiles that are going to be "designed", "verified", and "implemented" in the span of about 3 years by the sharpest minds on the committee operating under the assumption that everybody is out to get them and that this feature is not only absolutely essential to the survival of C++ but at the same time the result of pointless bureaucracy cooked up by the perverted minds that seek to corrupt our way of life.

I am absolutely certain that I will be able to test out the feature in a functional compiler before the release of C++26.

 

Turns out we don't need a borrow checker after all. We can just use vague "AI code reasoning". This seems highly credible and I'm sure we're going to see a fully functional compiler and source release within the next 10 decades.

[–] 0xDEADBEEFCAFE@programming.dev 2 points 9 months ago

I can't define jerking but I know it when I see it.

It's worth considering the original sub rules:

  • Original sources only, no manufactured jerk
  • No socialjerking (IMO this one is super critical to not just devolve politics spam)
  • No crazy people
  • No enthusiastic youngsters
  • No long unjerk threads
  • No implicitly untagged jerk (this will probably be hard to enforce since some replies seem to be serious)
 

Least delusional C++nile.

[–] 0xDEADBEEFCAFE@programming.dev 5 points 10 months ago

I have used cargo ramdisk before with success.

[–] 0xDEADBEEFCAFE@programming.dev 11 points 11 months ago (1 children)

According to this this slideshow:

At a fundamental level, this is the state of terminal emulators today as I saw it. You have fast terminals, feature rich terminals, and native terminals. You can pick at most two properties to have.

Ghostty aims for -- and in my opinion already achieves -- all properties.

Also, calling out the warning signs, my bar for a native platform experience is that the app feels and acts like a purpose-built native app. I don't think this bar is unreasonable. For example, I don't think it's unreasonable to say that Alacritty is kind of not native because new windows create new processes. Or that Kitty is kind of not native because tabs use a non-native widget. And so on (there are many more examples for each).

view more: next ›