This is a blog post about nothing; at most, wasting puffs of carbon.

Have you heard about “Free Functions” before? In a super-quick nutshell they are any function that is not a member function of a struct or class. We use them all of the time and it’s likely you’ve written some without the intent of doing so.

My first formal introduction to the concept came from Klaus Igelberger’s 2017 talk “Free your Functions!”. If you have not watched it yet, I would recommend taking the time to listen to it. During the presentation, there was a claim made:

Writing code as free functions may be more performant.

But if you watch the talk …

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help