Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 4623

Questions about C++, a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language.

1 vote

Design considerations for configuration menu on embedded system

Go with option 1, create statically one class per UI item to bind input events to actions. This way the implementation will NOT allocate memory at runtime. If your C++ compiler supports lambda closu …
Tim Williscroft's user avatar
2 votes

Plagued by multithreaded bugs

Your problems are pretty bad, but typical of poor use of C++. Code review will fix some of these problems. 30 minutes, one set of eyeballs yeilds 90% of the results.(citation for this is googleable) …
Tim Williscroft's user avatar
11 votes

Did the developers of Java consciously abandon RAII?

The best reason is much simpler than most of the answers here. You can't pass stack allocated objects to other threads. Stop and think about that. Keep thinking.... Now C++ didn't have threads when …
Tim Williscroft's user avatar
2 votes

Java API vs. Other APIs

Java was written as a blue-collar programming language for professional programmers. (Which is why teaching Java to students is inappropriate) Go look at the original Java stuff by James Gosling. So …
Tim Williscroft's user avatar