Tomas Karban

software developer

Tomas Karban boosted:
2025-06-18
Tomas Karban boosted:
2025-06-11

I'm frequently asked "how much does @compiler_explorer cost to run". I've done some digging and posted xania.org/202506/compiler-expl which is a high-level breakdown of the costs (and revenue); and links to a more in depth report if you want all the gory details.

Tomas Karban boosted:
Wiesław Šoltéssoltes
2025-05-28

Goodby bash and long live C#

Tomas Karban boosted:
Scott Hanselman 👸🏽🐝🌮shanselman@hachyderm.io
2025-05-21

I don’t want AI to make me 10x more productive, I want it to give me Fridays off.

2025-05-21

I must admit, the C# IAsyncDisposable is multiplying the complexity of the already non-trivial disposable pattern.

#CSharp #CSharp8 #DisposablePattern

learn.microsoft.com/en-us/dotn

Tomas Karban boosted:
Per Vognsenpervognsen
2025-05-19

This is a major gotcha with mimalloc: pwy.io/posts/mimalloc-cigarett. I'd go so far as to say this behavior (relying solely on periodic calls to malloc/free on _every_ thread to tick the thread-local upkeep) could disqualify it as a libc malloc replacement. In a language with safepoints you could have the runtime insert periodic calls to mi_collect() for every thread, but that shouldn't be required to drive a libc malloc.

Tomas Karban boosted:
2025-04-21

Which browsers do you use?
• Multiple choice to account for various usage and any device (pro & perso)
• You may boost to enlarge the sample

#browsers #poll #browserPoll #compartmentalization #compartments #Safari #SafariBrowser #Firefox #Librewolf #Chrome #Vivaldi #VivaldiBrowser #Edge #EdgeBrowser #ungoogledChromium #ungoogled #Chromium #Brave #BraveBrowser

Tomas Karban boosted:
Adam Shostack :donor: :rebelverified:adamshostack@infosec.exchange
2025-04-21

Neowin has my Threats: What Every Engineer Should Learn from Star Wars as a free download.

(They also have @SheHacksPurple 's Alice and Bob Learn Application Security.)

neowin.net/sponsored/threats-w

I mean, I think it's worth more than 15 bucks, but I'm pretty sure this is the best price you'll ever see.

2025-04-19

#Synology breaks my heart. I guess there will be something else after my DS1522+, I am hoping it will last a decade though (owned since February 2023). It is a great home NAS.

arstechnica.com/gadgets/2025/0

2025-04-09

Some people are willing to go very far to avoid the C++ `virtual` keyword.

sandordargo.com/blog/2024/12/0

2025-04-09

Bartlomiej Filipek wrote a C++ book titled C++ Initialization Story: A Guide Through All Initialization Options and Related C++ Areas. The author took the topic very seriously, and the book is 294 pages long.

With heavy irony, this book is no joke, making the C++ initialization a joke.

amazon.com/dp/B0BW38DDBK

Tomas Karban boosted:
Erik Uden 🍑ErikUden@mastodon.de
2025-04-06

What continent are you currently on

Tomas Karban boosted:
Brad Wilsonbradwilson
2025-04-05

Yep, it's a real mystery why I prefer developing on Linux.

GitHub actions performing identical builds on Linux (taking 5 minutes), macOS (taking 8 minutes), and Windows (taking 12 minutes).
Tomas Karban boosted:
Alvin Ashcraft 🐿️alvinashcraft@hachyderm.io
2025-04-04
2025-04-03

Isn't it sad that you have to set all these C++ compiler settings to achieve a decent level of sanity for your code? I mean, most of these should be the default setting. Why are the latest versions of GCC and Clang still so lenient and forgiving in 2025?

best.openssf.org/Compiler-Hard

2025-04-01

Perhaps there is still hope for reasonably modern and safe C++. I always considered undefined behavior (UB) a C++ standard sloppiness introduced because of pre-existing compiler differences, weird CPU architectures, memory consistency models, etc. Herb says (in the appendix) UB is for performance optimization reasons. OMG, if that's the case, we sacrificed a ton of correctness and safety/security for a little bit of performance... OMG...

Either way, C++ might get a lot better with the UB removed.

herbsutter.com/2025/03/30/crat

2025-03-29

I just got rid of my Microsoft Account password. I used passkeys for a few other unimportant accounts before. I was reluctant to give up my Microsoft Account password, but then I looked at the recent activity. It lists the login attempts and says "You should recognize each of these recent activities. If one looks unfamiliar, click it to let us know."

The list of 16 items were all in the past 12 hours, unsuccessful sign-ins, from places all over the world!!

That was the tipping point. I created my passkey and deleted the password. The future begins now.

microsoft.com/en-us/security/b

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst