🌗 我可以從結構化異常(SEH)中拋出 C++ 異常嗎?
➤ 揭開編譯器優化背後的代價:為何攔截結構化異常沒那麼簡單
https://devblogs.microsoft.com/oldnewthing/20170728-00/?p=96706
在 Windows 開發中,結構化異常(SEH,如存取違規)與 C++ 異常是兩種不同的機制。一位開發者為了避免使用會降低效能的 `/EHa` 編譯選項,嘗試採取一種「奇招」:利用全域異常過濾器將 SEH 攔截並重新拋出為 C++ 異常。然而,Raymond Chen 指出這種做法極度危險且不可靠。因為在未開啟 `/EHa` 的情況下,編譯器會假設普通的記憶體操作不會拋出異常,進而將它認為「多餘」的 try-catch 區塊優化掉。這篇文章深入探討了編譯器優化的邏輯,以及為什麼看似「免費的午餐」往往隱藏著嚴重的技術債。
+ 「這篇文章一針見血地指出,開發者不應試圖挑戰編譯器的假設。優化雖然重要,但程序的正確性纔是基石。」
+ 「原本以為 `SetUnhandledExce
#C++ 開發 Windows 編程 異常處理 編譯器優化
Can I throw a C++ exception from a structured exception? - The Old New Thing

Technically okay, but it's unusual and doesn't solve your problem.

The Old New Thing
General Application - Engineering at Mark43

Mark43 is hiring General Application - Engineering

Neu in .NET 10.0 [4]: Neue Operatorüberladungen in C# 14.0

C# 14.0 bietet auch Operatorüberladungen für zusammengesetzte Zuweisungsoperatoren.

https://www.heise.de/blog/Neu-in-NET-10-0-4-Neue-Operatorueberladungen-in-C-14-0-11120736.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&utm_source=mastodon

#NET #C #DerDotnetDoktor #Developer #IT #Microsoft #news

Neu in .NET 10.0 [4]: Neue Operatorüberladungen in C# 14.0

C# 14.0 bietet auch Operatorüberladungen für zusammengesetzte Zuweisungsoperatoren.

Developer
New in .NET 10.0 [4]: New operator overloads in C# 14.0

C# 14.0 also offers operator overloads for compound assignment operators.

heise online

Los principales lenguajes de programación destacan por su uso y versatilidad 💻⚙️. Python 🐍 es popular por su simplicidad y ciencia de datos. Java ☕ se usa ampliamente en sistemas empresariales. JavaScript 🌐 domina la web. C/C++ 🚀 ofrecen alto rendimiento. Go y Rust 🦀 ganan terreno por eficiencia y seguridad.

#Programación #Lenguajes #Tech #OpenSource #Pythoy #Java #JS #C/C++ #Go #Rust

Heart disease is the leading cause of death in the United States.
Since researchers first established the link between #diet, #cholesterol and #heart #disease in the 1950s, risk for heart disease has been partly assessed based on a patient’s cholesterol levels, which can be routinely measured via blood work at the doctor’s office.
⭐️However, accumulating evidence over the past two decades demonstrates that a biomarker called #C-#reactive #protein
– which signals the presence of low-grade inflammation
– is a better predictor of risk for heart disease than cholesterol.

💥As a result, in September 2025, the American College of Cardiology published new recommendations for #universal #screening of C-reactive protein levels in all patients, alongside measuring cholesterol levels.
What is C-reactive protein?
C-reactive protein is created by the liver in response to infections, tissue damage, chronic inflammatory states from conditions like autoimmune diseases,
and metabolic disturbances like obesity and diabetes.
Essentially, it is a marker of inflammation – meaning immune system activation – in the body.
✅ C-reactive protein can be easily measured with blood work at the doctor’s office.
A low C-reactive protein level
– under 1 milligram per deciliter
– signifies minimal inflammation in the body, which is protective against heart disease.
An elevated C-reactive protein level of greater than 3 milligrams per deciliter, signifies increased levels of inflammation
and thus increased risk for heart disease.
About 52% of Americans have an elevated level of C-reactive protein in their blood
https://theconversation.com/how-c-reactive-protein-outpaced-bad-cholesterol-as-leading-heart-disease-risk-marker-271143?utm_content=buffer2a9e0&utm_medium=social&utm_source=bluesky&utm_campaign=buffer

How C-reactive protein outpaced ‘bad’ cholesterol as leading heart disease risk marker

C-reactive protein – a marker of inflammation – is as easily measured with blood work in a doctor’s office as cholesterol.

The Conversation
Senior Database Reliability Engineer at ClickUp

ClickUp is hiring Senior Database Reliability Engineer

xcc700: mini C compiler for esp32

0 comments

Lobsters

Software taketh away faster than hardware giveth: Why C++ programmers keep growing fast despite competition, safety, and AI

https://fed.brid.gy/r/https://herbsutter.com/2025/12/30/software-taketh-away-faster-than-hardware-giveth-why-c-programmers-keep-growing-fast-despite-competition-safety-and-ai/

👾 I made a D&D Game for the Game Boy // NesHacker

https://www.youtube.com/watch?v=APWrwn26Qts

#gbdev #gamedev #retrodev #c

I made a D&D Game for the Game Boy

YouTube